General Shut Down Computer in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    power

Power_banner.png

This tutorial will show you different ways on how to shut down your Windows 11 computer.

If you don't plan to use your PC for a while, then you could shut down (turn off) the PC to save energy.

A shut down closes all apps, signs out all users, and turn your PC off completely.

When shutting down your PC, any open supported apps are registered for application restart. After restart, these apps will re-open automatically when you sign in.

Microsoft is improving the restarting and shutting down your PC experience by clearly separating power actions from update actions. With this change, the Power menu will always show the standard Restart and Shut down options, meaning you will always have a choice to just restart or shut down your device without having to install the pending update. At the same time, update‑specific choices like Update and restart and Update and shut down will still be available when applicable. This gives you four clear options—and full control over what your device does next. If you choose Restart or Shut down, Windows will perform exactly that action, without unexpectedly starting an update. If you’re ready to install updates, you can explicitly choose one of the update options. After a restart, Windows will attempt to restore previously opened applications faster, allowing users to return more easily to what they were working on. This change is about is about making the Power menu more predictable, so when you need a quick restart or want to power off before heading out, Windows does exactly what you expect.

The feature to restore applications that have registered for application restart after you restart or shutdown has been set to only occur for users that have turned on (default) Automatically save my restartable apps and restart them when I sign back in.




Contents



EXAMPLE: Computer "Shutting down"

Shutting_down.png





Option One

Shut Down 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 Shut down.


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




Option Two

Shut Down Computer by Pressing Power Button


1 Perform one of the following actions: (see screenshots below)
  • Press the Power button on your device.

    This requires you to set the default power button action to Shut down.

  • Press and hold the Power button on your device until it powers off to force a hard shut down.

    A hard shut down should only be used as a last resort when you are unable to shut down using any other option. For example, if your computer becomes unresponsive.

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





Option Three

Shut Down Computer from Start menu


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

2 Click/tap on the Power button.

3 Click/tap on Shut down in the Power menu.

Shut_down_Start_menu.jpg





Option Four

Shut Down 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 U key.
  • Open the Win+X Quick Link menu, click/tap on Shut down or sign out, and click/tap on Shut down.
Shut_down_Win+X.jpg





Option Five

Shut Down 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 Shut down in the drop menu, and click/tap on OK or press Enter. (see screenshot below)

Shut_down_Alt+F4.png





Option Six

Shut Down Computer from Ctrl+Alt+Del Screen


1 Press the Ctrl + Alt + Del keys.

2 Click/tap on the Power button.

3 Click/tap on Shut down in the Power menu.

Shut_down_Ctrl+Alt+Del.png





Option Seven

Shut Down 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 Shut down in the Power menu.

Shut_down_at_sign-in.jpg





Option Eight

Slide to Shut down your PC


1 Run (Win+R) SlideToShutDown.exe.

2 Perform one of the following actions: (see screenshot below)
  • Slide/drag the "Slide to shut down your PC" screen to the bottom of the screen.
  • Press Enter while on the "Slide to shut down your PC" screen.
  • Click/tap on the "Slide to shut down your PC" screen.

You can slide/drag the "Slide to shut down your PC" screen to the top of the screen to cancel the shutdown.


Slide_to_shut_down_your_PC.jpg





Option Nine

Shut Down Computer using "Shutdown" command


To see more shutdown command usage details, see: shutdown | Microsoft Docs.


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

2 Type the command below you want to use into Windows Terminal, and press Enter.

shutdown /p

Performs a full shutdown by turning off the local computer with no time-out or warning. Shutdown will stop if there are any unsaved jobs, and will then prompt if you want to save on the desktop.


OR

shutdown /p /f

Forces running apps to close, and turns off the local computer with no time-out or warning.


OR

shutdown /s

Performs a full shutdown of the computer.

You_are_about_to_be_signed_out-2.png


OR

shutdown /sg

Performs a full shutdown of the computer. On the next boot, restart any registered applications.


OR

shutdown /s /f /t 0

Immediately force running apps to close, and then performs a full shutdown of the computer.


OR

shutdown /s /t xxx

Performs a full shutdown of the computer after a timeout period you specified in seconds.

Substitute xxx in the command above with between 0-315360000 seconds you want for the timeout period. If the timeout period is greater than 0, the /f (force) parameter is implied.


OR

shutdown /s /c "Your comment here"

Displays a warning with your comment, and performs a full shutdown of the computer.

Substitute Your comment here in the command above with the comment you want up to 512 characters.

You_are_about_to_be_signed_out.png


OR

shutdown /s /t xxx /c "Your comment here"

Displays a warning notice with your comment, and performs a full shutdown of the computer after a timeout period you specified in seconds.

Substitute Your comment here in the command above with the comment you want up to 512 characters.

Substitute xxx in the command above with between 0-315360000 seconds you want for the timeout period. If the timeout period is greater than 0, the /f (force) parameter is implied.

You_are_about_to_be_signed_out.png






Option Ten

Shut Down Computer using "Stop-Computer" command


To see more Stop-Computer command usage details, see: Stop-Computer | Microsoft Docs.


1 Open Windows Terminal, and select Windows PowerShell.

2 Type the command below you want to use into Windows PowerShell, and press Enter.

stop-computer

Performs a full shutdown of the computer.


OR

stop-computer -force

Forces running apps to close, and then performs a full shutdown of the computer.


OR

stop-computer -confirm

Prompts you to confirm before performing a full shutdown of the computer.

PowerShell_confirm.png


OR

stop-computer -force -confirm

Prompts you to confirm before forces running apps to close, and then performs a full shutdown of the computer.

PowerShell_confirm.png






Option Eleven

Shut Down Computer from Game Bar


1 Open the Game Bar (:win:+G).

2 Click/tap on the Settings (gear) icon on the Home Bar. (see screenshot below)

3 Click/tap on Power in Settings.

4 Click/tap on Shut down in the Power menu.

Game_Bar_Shut-down.webp



That's it,
Shawn Brink


 
Last edited:
Tutorial updated to add option eleven to shut down computer from Game Bar. :alien:
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
    Microsoft Defender
Back
Top Bottom