2022 年 6 月 30 日

如何创建和使用 Windows 10/11 睡眠模式快捷方式

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.

备注: 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.

  1. 媒体 Windows + X 同时打开 高级用户菜单.
  2. 选择 U on your keyboard to choose the 关机或退出 选项。
  3. 点击 睡觉 按下选项 S 在你的键盘上

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 关闭窗口 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.

  1. 媒体 其他 + F4 同时在您的键盘上。
  2. 睡觉 来自 What do you want the computer to do? 下拉式菜单。
  1. 选择 OK 在对话框的底部。

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.

  1. 访问 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.
  2. 选择 功率 icon in the Start menu.
  1. 点击 睡觉 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.

以下是如何操作 disable hibernation on your PC:

  1. 打开 Start 开始 菜单,搜索 命令提示符,然后选择 以管理员身份运行“.
  1. ,在 用户帐户控制 提示。
  2. Enter the following command in Command Prompt and press 输入: powercfg -h关闭

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:

  1. 可选 命令提示符 with admin rights on your PC.
  2. Enter the following command in Command Prompt and press 输入:

    rundll32.exe powrprof.dll,SetSuspendState 0,1,0

  1. 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.

  1. Access your desktop by pressing Windows + D.
  2. Right-click anywhere blank and select 全新 > 捷径.
  3. 在下面的命令中输入 键入项目的位置 field. Then, select 下一页.

    rundll32.exe powrprof.dll,SetSuspendState 0,1,0

  1. Enter your shortcut’s name in the 键入此快捷方式的名称 field. This can be any name of your choice. Then, select 完成.
  1. 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:

  1. Right-click your sleep mode shortcut and select 查看房源.
  2. 选择 捷径 顶部的标签。
  3. 点击 快捷键 领域。
  4. Press the keys on your keyboard you’d like to assign to the sleep mode shortcut.
  1. 选择 使用 其次是 OK 在底部。
  2. 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.

  1. 实行 控制面板 通过访问 Start 开始 menu, searching for 控制面板, and selecting the tool in the search results.
  2. 系统和安全 在控制面板中。
  3. 选择 更改电源按钮的功能 下面 电源选项.
  1. 睡觉 从两个 在电池插在 dropdown menus next to 当我按下电源按钮.
  1. 选择 保存更改 在底部。
  2. Press your PC’s 功率 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.