General Sleep Computer in Windows 11


  • Staff
Sleep_banner.png

This tutorial will show you different ways on how to put your Windows 11 computer to sleep.

Sleep uses very little power, your PC starts up faster, and you’re instantly back to where you left off. You don’t have to worry that you'll lose your work because of your battery draining because Windows automatically saves all your work and turns off the PC if the battery is too low. Use Sleep when you’re going to be away from your PC for just a little while.

On most PCs, you can resume from sleep by pressing your PC's power button. However, not all PCs are the same. You might be able to wake it by pressing any key on the keyboard, clicking a mouse button, or opening the lid on a laptop. Check the documentation that came with your computer or go to the manufacturer's website.


Contents





Option One

Sleep Computer by Closing Lid


This option is only available for laptops with a lid to close.

This option requires you to set the default lid close action to Sleep.


1 Close the laptop lid to perform the default lid close action.




Option Two

Sleep Computer by Keyboard


This requires you to set the default sleep button action to Sleep.


1 Press the Sleep button (if available) on your keyboard. (see screenshot below)

Sleep_button.jpg





Option Three

Sleep Computer by Pressing Power Button


This requires you to set the default power button action to Sleep.


1 Press the Power button on your device. (see screenshots below)

power-button-laptop.jpg
power-button-case.jpg





Option Four

Sleep Computer from Start menu


1 Open the Start menu :win:. (see screenshot below)

2 Click/tap on the Power button.

3 Click/tap on Sleep in the Power menu.

Sleep_Start_menu.jpg





Option Five

Sleep Computer from Win+X Quick Link Menu


1 Perform one of the following actions: (see screenshot below)
  • Press the Win + X keys, press the U key, and press the S key.
  • Open the Win+X Quick Link menu, click/tap on Shut down or sign out, and click/tap on Sleep.
Sleep_Win+X.jpg





Option Six

Sleep Computer from Alt+F4 Shut Down Windows Dialog


1 Click/tap on the desktop (Win+D) to make it the current focused (active) window.

2 Press the Alt + F4 keys.

This will only work if you did step 1. Otherwise, it will close the current active window instead of the desktop.


3 Select Sleep in the drop menu, and click/tap on OK or press Enter. (see screenshot below)

Sleep_Alt+F4.png





Option Seven

Sleep Computer from Ctrl+Alt+Del Screen


1 Press the Ctrl + Alt + Del keys.

2 Click/tap on the Power button.

3 Click/tap on Sleep in the Power menu.

Sleep_Ctrl+Alt+Del.jpg





Option Eight

Sleep Computer from Sign-in Screen


1 While on the Sign-in screen: (see screenshot below)

2 Click/tap on the Power button.

3 Click/tap on Sleep in the Power menu.

Sleep_sign-in.jpg





Option Nine

Sleep Computer using command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below into Windows Terminal, and press Enter.

powershell.exe -Command "& {Add-Type -Assembly System.Windows.Forms;[System.Windows.Forms.Application]::SetSuspendState('Suspend', $false, $false)}"


That's it,
Shawn Brink


 
Last edited:
Option Nine, you do not need to disable hibernate if you use this command instead:
Code:
powershell.exe -Command "& {Add-Type -Assembly System.Windows.Forms;[System.Windows.Forms.Application]::SetSuspendState('Suspend', $true, $false)}"
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
Please note, the command I posted above immediately forces the computer to sleep. To cause Windows to send a suspend request to every application, use this:
Code:
powershell.exe -Command "& {Add-Type -Assembly System.Windows.Forms;[System.Windows.Forms.Application]::SetSuspendState('Suspend', $false, $false)}"
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
Please note, the command I posted above immediately forces the computer to sleep. To cause Windows to send a suspend request to every application, use this:
Code:
powershell.exe -Command "& {Add-Type -Assembly System.Windows.Forms;[System.Windows.Forms.Application]::SetSuspendState('Suspend', $false, $false)}"
I like that one better. Thank you. :shawn:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Back
Top Bottom