Shutting down and Restarting your PC is a daily routine and must be done easily. Windows provide numerous ways to do the task. The best way to turn off or reboot a Windows PC out of all these ways is through a keyboard shortcut. If you want to learn the straightforward ways to shut down or restart your Windows 10 or 11 PC then take a look at the following three ways.
Keyboard shortcut to Shutdown or Restart Windows 11/10 PC
- Press
Windows+X
keyboard keys simultaneously to view the Start contaxt menu.
- Now, press the
U
key from the keyboard to select theShut down or sign out
option.
- From the keyboard press
U
key to Shut down orR
key to Restart your computer. Notice the underlined letter for each option in the submenu, like the letteri
in the Sign out andS
in the Sleep options. Alternatively, you can use theup
anddown
arrow keys to select the option and then hit theEnter
key on the keyboard.
Use ALT + F4 to view Shut Down Windows Dialog
- To use the Alt+F4 option, you need to minimize all the running applications to show the desktop as this option only works on the desktop because if the Alt+F4 is pressed while any app window is opened, it will close that app or window first. To minimize all the applications press
Windows+M
orWindows+D
keyboard keys together. All applications will be minimized. - Press
Alt+F4
together to open theShut Down Windows
dialog.
- Select the desired option like Shut down, Restart, Switch user, Sleep, or Sign out from the drop-down by using the
up
anddown
arrow keys and hitEnter
to perform the selected operation.
Create a Customized Keyboard Shortcut to Shut Down
shutdown.exe
is the file responsible to turning off or rebooting the Windows 10 or 11 PC. This command is executed with some options in the command prompt for the desired tasks. To shut down it takes -s
argument and to restart it takes -r
argument. In the customized shortcut method, we are going to use this command. Let’s see how it will be done.
- Press Windows+D to minimize all the open windows
right-click
on the Desktop, selectNew
the option, and then click on theShortcut
option in the sub-menu. TheCreate Shortcut
window will appear.
- Type
shutdown.exe -s
in order to shut down the PC. If you want to create a shortcut to restart the PC then use theshutdown -r
command. Click on theNext
button. A field asking for the name of the shortcut will appear.
- Provide the name of the shortcut according to the option you created the shortcut for
e.g. shutdown
in the case you providedshutdown.exe -s
in the previous window. Click on theFinish
button and your desired shortcut will appear on the desktop.
- Now, it’s time to assign keyboard keys to this shortcut. On your Desktop, Right-click on the icon of the shortcut you just created. Click on the
Properties
option.
- Go to the
Shortcut
tab, click inside theShortcut key
text box and press the desired shortcut keyse.g. S
. Windows will automatically prefixCtrl + Alt
and your key will look likeCtrl + Alt + S
. Click onApply
button to save the changes you made and then click onOK
button to close the dialog.
To verify the operation of the newly created shortcut, save all the files and close all the windows open. Press the shortcut key you provided for the shortcut and wait for the action to happen. If your PC shuts down or restarts then the shortcut is fully functional. Alternatively, to do the same you can double-click on the shortcut icon or just click on it and hit Enter key to execute.
Don’t delete the shortcut you created as this will disable the shortcut key as well.