让你的电脑进入睡眠模式(Putting your PC in sleep mode)应该不难,微软(Microsoft)知道这一点。无论(Whether)是使用 Windows 10 还是 Windows 11 PC,您都有多种方法可以让您的系统进入睡眠模式。如果您不喜欢默认产品,您可以创建自己的快捷方式并让您的 PC 进入睡眠状态。
访问Windows 睡眠模式(Windows Sleep Mode)的一些方法包括使用高级用户菜单中的选项、在(Power User Menu)命令提示符(Command Prompt)中运行命令以及创建桌面快捷方式。我们将解释如何在您的计算机上使用所有这些方法。
注意(Note):本指南使用Windows 10 PC 的屏幕截图。但是,Windows 11的步骤应该类似。
使用高级用户菜单进入睡眠模式(Use Power User Menu to Enter Sleep Mode)
高级用户菜单(Power User Menu)是让您的 PC 进入睡眠模式的快捷方式。您可以使用键盘快捷键访问此菜单,然后选择一个选项以进入睡眠模式。
此菜单还提供其他Windows工具的快捷方式,例如设置(Settings)和任务管理器(Task Manager)。
- 同时按下Windows + X打开Power User Menu。
- 选择键盘上的U以选择关闭或注销(Shut down or sign out)选项。
- 按键盘上的S选择睡眠选项。(Sleep)
如果您不喜欢按键盘按钮,可以使用鼠标或触控板选择菜单中的项目。
Use the Alt + F4 Keyboard Shortcut to Put Your PC in Sleep Mode
Windows 10 和 11 都提供了一个关闭 Windows(Shut Down Windows)对话框,您可以使用该对话框将 PC 置于睡眠模式。此对话框使用快速键盘快捷键打开,可以更快地进入睡眠模式。
这种方法的一个小缺点是按下键盘快捷键会关闭您的焦点窗口(keyboard shortcut will close your focused windows)。因此,您需要通过首先访问您的 PC 桌面来使用此方法。
- 在键盘上同时按Alt + F4 。
- 从您希望(Sleep)计算机做什么?(What do you want the computer to do?)下拉式菜单。
- 选择对话框底部的确定。(OK)
在 Windows 上访问电源菜单以进入睡眠模式(Access the Power Menu to Enter Sleep Mode on Windows)
Windows 的“开始”菜单包含 PC 上几乎所有应用程序和功能的快捷方式。其中之一是电源(Power)菜单快捷方式,可显示各种电源选项,包括睡眠模式选项。
如果您更喜欢使用“开始(Start)”菜单执行任务,您会喜欢这种进入 PC 睡眠模式的方式。
- 通过按键盘上的Windows键或选择屏幕左下角的“开始(Start)”菜单图标来访问“开始”菜单。(Start)
- 在开始菜单中选择电源图标。(Power)
- 在电源菜单中选择睡眠(Sleep)选项。
使用命令提示符命令使 Windows 进入睡眠状态(Make Windows Fall Asleep With a Command Prompt Command)
如果您更喜欢使用命令(using commands to execute tasks)在 PC 上执行任务,那么您很幸运。Windows 提供了一个专用命令,您可以在命令提示符(Command Prompt)窗口中使用该命令使您的 PC 进入睡眠状态。
此方法的唯一缺点是,如果您启用了该功能,该方法将使您的 PC 休眠而不是进入睡眠模式。(hibernate your PC instead of entering sleep mode)不过,您可以关闭 PC 上的休眠功能来避免这种情况。
以下是在 PC 上禁用休眠的(disable hibernation on your PC)方法:
- 打开开始(Start)菜单,搜索命令提示符(Command Prompt),然后选择以管理员身份运行(Run as administrator)。
- 在用户帐户控制(User Account Control)提示中选择是。(Yes)
- (Enter)在命令提示符中(Command Prompt)输入以下命令并回车(Enter):powercfg -h off
如果您已经禁用了休眠,或者您刚刚使用上述步骤关闭了该功能,以下是如何使用命令使您的 PC 进入睡眠状态:
- 在您的 PC 上以管理员权限打开命令提示符。(Command Prompt)
- (Enter)在命令提示符中(Command Prompt)输入以下命令并回车(Enter):
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
- 您的 PC 将进入睡眠模式。
为睡眠模式创建桌面快捷方式(Create a Desktop Shortcut for Sleep Mode)
Windows允许您为存储在 PC 上的几乎所有项目创建桌面快捷方式。您可以在桌面上创建睡眠模式快捷方式,并在每次要使用睡眠模式时双击该快捷方式。
创建此快捷方式涉及使用命令而不是链接到 PC 上的文件。或者,您可以将快捷方式分配给键盘键,以快速将您的 PC 置于睡眠模式。
- 按Windows + D访问您的桌面。
- 右键单击(Right-click)空白处,然后选择新建(New)>快捷方式(Shortcut)。
- 在“键入项目的位置”(Type the location of the item)字段中输入以下命令。然后,选择下一步(Next)。
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
- 在“为此快捷方式键入名称”(Type a name for this shortcut)字段中输入快捷方式的名称。这可以是您选择的任何名称。然后,选择完成(Finish)。
- 您的睡眠模式快捷方式现在已在您的桌面上准备就绪。每次您希望 PC 进入睡眠状态时,请双击此快捷方式。(Double-click)
您现在可以为睡眠模式快捷方式分配一个键盘快捷方式,这样您的电脑就可以通过击键进入睡眠模式:
- 右键单击您的睡眠模式快捷方式并选择Properties。
- 选择顶部的快捷方式选项卡。(Shortcut)
- 选择快捷键(Shortcut key)字段。
- 按下(Press)键盘上要分配给睡眠模式快捷方式的键。
- 选择应用(Apply),然后在底部选择确定。(OK)
- 按(Press)您刚刚指定的键盘快捷键使您的 PC 进入睡眠模式。
将 PC 的电源按钮用作睡眠按钮(Use Your PC’s Power Button as a Sleep Button)
某些计算机提供专用的“睡眠(Sleep)”按钮,您可以使用该按钮将 PC 置于睡眠模式。如果还没有,您可以将键盘的电源按钮变成睡眠按钮(turn your keyboard’s Power button into a Sleep button)。
您不必从键盘或其他任何东西上取下钥匙。您只需更改 PC 的电源设置,您的电源(Power)键将充当睡眠(Sleep)键。
- 通过访问开始(Start)菜单、搜索控制面板(Control Panel)并在搜索结果中选择工具来启动控制面板。(Control Panel)
- 在控制面板中选择系统和安全。(System and Security)
- 选择“电源选项(Power Options)”下方的“更改电源按钮的功能(Change what the power buttons do)” 。
- 从当我按下电源按钮时(When I press the power button)旁边的On battery和Plugged in下拉菜单中选择Sleep。
- 选择底部的保存更改。(Save changes)
- 按 PC 的电源(Power)按钮进入睡眠模式。
使用睡眠模式从 PC 中休息(Use the Sleep Mode to Take Breaks From Your PC)
如果您经常需要将 PC 置于睡眠模式(put their PC in sleep mode),那么 Windows 的睡眠模式快捷方式可为您节省实时时间。您可以使用内置快捷方式和您自己的快捷方式来确保在您的 PC 上进入睡眠模式不是一件麻烦事。
How to Create and Use a Windows 10/11 Sleep Mode Shortcut
Putting your PC in sleep mode shouldn’t be difficult, and Microsoft knows that. Whether using a Windows 10 or a Windows 11 PC, you have multiple ways to make your system enter sleep mode. In case you don’t like the default offerings, you can make your own shortcuts and put your PC to sleep.
Some ways to access Windows Sleep Mode include using an option in the Power User Menu, running a command in a Command Prompt, and making a desktop shortcut. We’ll explain how to use all these methods on your computer.
Note: This guide uses screenshots from a Windows 10 PC. However, the steps for Windows 11 should be similar.
Use Power User Menu to Enter Sleep Mode
Power User Menu is a quick way to put your PC in sleep mode. You can access this menu using a keyboard shortcut and then choose an option to enter sleep mode.
This menu also offers shortcuts to other Windows tools like Settings and Task Manager.
- Press Windows + X at the same time to open Power User Menu.
- Select U on your keyboard to choose the Shut down or sign out option.
- Select the Sleep option by pressing S on your keyboard.
If you don’t prefer pressing keyboard buttons, you can choose the items in the menu using your mouse or trackpad.
Use the Alt + F4 Keyboard Shortcut to Put Your PC in Sleep Mode
Both Windows 10 and 11 offer a Shut Down Windows dialog box that you can use to put your PC in sleep mode. This dialog box opens using a quick keyboard shortcut, making entering sleep mode faster.
One minor drawback of this method is that pressing the keyboard shortcut will close your focused windows. So, you’ll want to use this method by first accessing your PC’s desktop.
- Press Alt + F4 at the same time on your keyboard.
- Choose Sleep from the What do you want the computer to do? dropdown menu.
- Select OK at the bottom of the dialog box.
Access the Power Menu to Enter Sleep Mode on Windows
Windows’ Start menu hosts shortcuts to nearly all the apps and features on your PC. One of these is a Power menu shortcut that reveals various power options, including the sleep mode option.
If you prefer using the Start menu for your tasks, you’ll like this way of entering your PC’s sleep mode.
- Access the Start menu by either pressing the Windows key on your keyboard or selecting the Start menu icon at the lower-left corner of your screen.
- Choose the Power icon in the Start menu.
- Select the Sleep option in the Power menu.
Make Windows Fall Asleep With a Command Prompt Command
You’re in luck if you prefer using commands to execute tasks on your PC. Windows offers a dedicated command that you can use in a Command Prompt window to put your PC to sleep.
The only drawback of this method is that the method will hibernate your PC instead of entering sleep mode if you have that feature enabled. You can turn off hibernation on your PC to avoid this situation, though.
Here’s how to disable hibernation on your PC:
- Open the Start menu, search for Command Prompt, and select Run as administrator.
- Choose Yes in the User Account Control prompt.
- Enter the following command in Command Prompt and press Enter: powercfg -h off
If you have hibernation disabled already, or you’ve just turned the feature off using the above steps, here’s how to make your PC sleep with a command:
- Open Command Prompt with admin rights on your PC.
- Enter the following command in Command Prompt and press Enter:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
- Your PC will enter sleep mode.
Create a Desktop Shortcut for Sleep Mode
Windows lets you create a desktop shortcut for nearly every item stored on your PC. You can make a sleep mode shortcut on your desktop and double-click that shortcut each time you want to use sleep mode.
Creating this shortcut involves using a command instead of linking to a file on your PC. Optionally, you can assign the shortcut to a keyboard key to quickly place your PC in sleep mode.
- Access your desktop by pressing Windows + D.
- Right-click anywhere blank and select New > Shortcut.
- Enter the following command in the Type the location of the item field. Then, select Next.
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
- Enter your shortcut’s name in the Type a name for this shortcut field. This can be any name of your choice. Then, select Finish.
- Your sleep mode shortcut is now ready on your desktop. Double-click this shortcut each time you want your PC to sleep.
You can now assign a keyboard shortcut to the sleep mode shortcut, so your PC enters sleep mode with a keystroke:
- Right-click your sleep mode shortcut and select Properties.
- Choose the Shortcut tab at the top.
- Select the Shortcut key field.
- Press the keys on your keyboard you’d like to assign to the sleep mode shortcut.
- Select Apply followed by OK at the bottom.
- Press the keyboard shortcut you just specified to make your PC enter sleep mode.
Use Your PC’s Power Button as a Sleep Button
Some computers offer a dedicated Sleep button that you can use to put your PC in sleep mode. If you haven’t got that, you can turn your keyboard’s Power button into a Sleep button.
You don’t have to take your key off your keyboard or anything else. You just have to change your PC’s power settings, and your Power key will act as a Sleep key.
- Launch Control Panel by accessing the Start menu, searching for Control Panel, and selecting the tool in the search results.
- Choose System and Security in the Control Panel.
- Select Change what the power buttons do beneath Power Options.
- Choose Sleep from both the On battery and Plugged in dropdown menus next to When I press the power button.
- Select Save changes at the bottom.
- Press your PC’s Power button to enter sleep mode.
Use the Sleep Mode to Take Breaks From Your PC
If you’re someone who often needs to put their PC in sleep mode, Windows’ sleep mode shortcuts are real-time-savers for you. You can use both built-in shortcuts and your own shortcuts to ensure entering sleep mode on your PC isn’t a hassle.