Windows 11 Shutdown shortcut
Have you ever wondered how Windows 11 (and 10) can be shut down with just one click?
It’s easy, let’s do it in three very simple steps
1. Right-click any space on the desktop
Select New and then the shortcut shown in the screenshot below
Windows 11 Shut Down shortcut Enter the following command and click Next
The same steps can be accomplished by browsing the location and then adding /s switch
You can read the entire article to find out more about the /s switch or to see a different option.
3. You can now name your shortcut whatever you like. In my case, I will call it “Shutdown My PC”.
Windows 11 Shutdown shortcut
Select the shortcut you just created, right click – go to Properties
Click on “Change Icon” to choose the icon that you want from the available options
Shutdown Command Options
/iThis shutdown option displays the Remote Shutdown Dialog. This is a graphical representation of the remote shutdown and restart options available in the command. All other options will be ignored and the /i switch must always be the first option.
/lThis option will log off the current user from the current machine immediately. To log off a remote machine, you cannot use the /l option in conjunction with the /m option. With /l, the /d,/t, or /c options are not available.
To shut down the remote computer, use /sUse This option in conjunction with the shutdown command.
/rThis option will shut off and then restart the local or remote computer specified by /m.
/gThis shutdown option works the same as /r but will also restart all registered applications after the reboot.
To stop a pending restart or shutdown, use /a If you want to stop a pending shutdown, restart or other action that was performed for remote computers, you should use the /m option.
The /pThis command option turns off all local computers. The /p option works in the same way as shutdown /s/f/t 0. This option cannot be used with /t.
/hExecuting this option with the shutdown command immediately puts the computer in hibernation. To put a remote computer in hibernation you cannot use the /h option together with the /m option. You also can’t use this option with either /t,/d or /c.
The /eThis option allows documentation of an unexpected shutdown in the Shutdown Tracker.
To close the current Windows session, use /oUse the switch to open the Advanced Boot Options menu. This option must be used in conjunction with /r. Windows 8 has a new start with the /o switch.
/hybridThis option shuts down the computer and prepares it for fast startup. Windows 8 has a new start feature called the /hybrid switch.
/fThis option causes running programs to close automatically. Except for the /l,/p and /h options shutdown’s /f option will not display a warning about the pending shutdown/restart.
/m computernameThis command option allows you to specify the remote computer on which you want to perform a shutdown or restart.
/txxxThis is the time in seconds between the execution and actual shutdown or restart. The time can range from 0 (immediately), to 315360000 (10 year). If you don’t use the option /t, then 30 seconds will be assumed. The /t option cannot be used with the /l or /h options.
u:]xx:yyThis records a reason for the restart or shutdown. The p option denotes a planned shutdown or restart, while the u option is a user-defined one. You can view a list of reasons for the shutdown and restart by using the shutdown command without options. If neither p or u are specified, the shutdown/restart will be recorded as not planned.
/c “comment” This command option allows you leave a comment explaining the reason for the restart or shutdown. You must include quotes around the following command: /c “comment”