Shortcut to shutdown or restart Windows 10 or 11 in less than three keystrokes
Solution 1
How do I shutdown Windows 10 in 3 or less keystrokes?
There are three solutions (detailed below).
Configure the Power button to perform a shutdown (1 button press)
Win+D, Alt+F4, Enter (3 keystrokes/5 keypresses) or
-
Win+X, U, U (3 keystrokes/4 keypresses)
Note:
- The U may need to be replaced with another keystroke depending on your language setting if you are not using an English version of Windows.
Solution 1 - Configure the Power button to perform a shutdown (1 button press)
Technically a button press is not the same as a keystroke, but I think it meets the spirit of the question.
Click in Windows 10's Search field, type "power", and then click "Power Options" in the search results that appear.
-
In the list of options on the left, click "Choose what the power buttons do."
There are pull-down menus next to "When I press the power button"
- "On Battery" (laptop only)
- "Plugged In" (laptop and desktop).
Click the pull-down menu(s), and select "Shut Down".
Click "Save changes"
Now, whenever you press the power button, your PC should immediately shut down.
Source How to quickly shut down Windows 10
Solution 2 - Win+D, Alt+F4, Enter (3 keystrokes/5 keypresses)
Explanation:
Win+D will show the desktop.
-
Alt+F4 will open the shut down menu (when you are viewing the desktop.
Enter will press "OK".
Source 7 Ways To Shut Down Or Restart A Windows 10 PC Or Device
Solution 2 - Win+X, U, U (3 keystrokes/4 keypresses)
Explanation:
-
Win+X will open the power user menu:
-
U will open the "Shutdown or sign out menu":
-
U will execute "Shut down".
Notes:
The U may need to be replaced with another keystroke depending on your language setting if you are not using an English version of Windows.
The appropriate keystroke is underlined, as indicated by the
_
in the menus you can see in the previous two screenshots.
Source 7 Ways To Shut Down Or Restart A Windows 10 PC Or Device
What if I want to Restart instead of Shutdown?
Use Win+X, U, R
Win+X will open the power user menu.
U will open the "Shutdown or sign out menu".
-
R will execute "Restart".
Note:
The U and R may need to be replaced with other keystrokes depending on your language setting if you are not using an English version of Windows.
The appropriate keystrokes will be shown by the
_
symbol in the menus you can see in the previous two screenshots.
Solution 2
FYI, Windows 10 if you know you are on the login screen:
- Press any key, like the spacebar (to ensure you are past the facade and that the login prompt is active).
- Shift + Tab (shift the focus from the login prompt to the shutdown button
- Space (open the power menu/Sleep is selected by default)
- ↓ (select Shutdown)
- Enter (choose selection)
Not less than three keystrokes, but this is handy if you know you are on the login screen but for some reason your display is unavailable.
Related videos on Youtube
MyDaftQuestions
Updated on September 18, 2022Comments
-
MyDaftQuestions almost 2 years
On Windows XP we had Win , U + U
On Windows 7 we had Win , Right cursor + Enter
I never had Windows 8, so I am not sure what the shortcut is/was.
There is Alt+F4 and then Enter, but this only works from the desktop. I would like to do this from any 'position' or 'place' or within any program. If I were in an application and did this, I'd only close down that application.
My question is, is there a keyboard combination (which does not rely on creating scripting files and global shortcuts), to shutdown the PC in three or less keyboard keystrokes from any position/program. Also, is there a similarly short key sequence for restart?
-
DavidPostill almost 9 yearsWhy don't you just configure the power button to shutdown? That's only 1 keystroke! ;)
-
Tetsujin almost 9 yearsI gave up & put bat files on my desktop, cos it's even harder over remote desktop :(
-
Tetsujin almost 9 yearsNothing's reliable on a headless machine, except the power button. Win U U was by far the best, as it worked in all circumstances [except having something beginning with U in your start menu]
-
CodeManX almost 9 yearsThere should be shutdown button on the (lock) screen when you press Ctrl+Alt+Delete (or Ctrl+Alt-End in Remote Desktop session). I'm not sure if it's reachable by another keystroke.
-
Tetsujin almost 9 yearsAh, there is a shutdown... but no restart, which is what i most often need on remote. (anyway, this isn't my question, so I'll shut up now ;)
-
DavidPostill almost 9 years@Tetsujin <win>+<x>, <u>,<r> for a restart ...
-
MyDaftQuestions almost 9 years@DavidPostill, updated my question, can you move the restart comment into your answer please?
-
Tetsujin almost 9 years@DavidPostill - Love the Win+x commands - but they don't work over RDC, there's no restart or shutdown presented in the Shut Down menu. +1's for everybody on this one though - I'll stick with my bat files for remotes, but most helpful for local, even if headless. Thank you all.
-
imallett almost 9 yearsIf you press the key on your power strip, your computer will shut down even faster than usual!
-
Stig Perez over 8 yearsAnother option is to create a shortcut for restart and shutdown, put the shortcuts in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" and simply use windows search. It's not perfect but with a little luck you can do both in 4 keystrokes; windows+re and windows+sh followed by ENTER
-
-
jingyu9575 almost 9 yearsOn my Windows 10 Enterprise,
Win + ,
only shows the desktop while the keys are being pressed, soAlt + F4
closes the foreground window instead of desktop. Maybe it isWin + D
? -
DavidPostill almost 9 years@jingyu9575 Good catch - you are correct - it is only temporarily showing the desktop... Answer updated. Thanks.
-
DavidPostill almost 9 years@MartinSmith <shrug> I count two keys pressed together as one keystroke ... the Windows API considers it to be one keyboard event "The handler for KeyDown receives: A KeyEventArgs parameter, which provides the KeyCode property (which specifies a physical keyboard button). The Modifiers property (SHIFT, CTRL, or ALT). The KeyData property (which combines the key code and modifier)."
-
babca almost 9 yearsWin + X, U, U does not work on non-English distributions.
-
DavidPostill almost 9 years@babca Thanks, good point. I have updated the answer to clarify.
-
DavidPostill almost 9 years@MyDaftQuestions Thanks for your comment! I added "Technically a button press is not the same as a keystroke, but I think it meets the spirit of the question." ;)
-
babca over 8 years"The U may need to be replaced with another keystroke depending on your language setting if you are not using an English version of Windows." - It's even worse. When Czech language is set, there are more than one item with the same active letter in the poweruser menu, so pressing the letter selects another item first. A second press does select the correct item, but doesn't open the submenu. In this case, you have to press
Win+X
,V
,V
,Enter
,Y
instead ofWin+X
U
U
. It's not an universal shutdown shortcut at all. -
DavidPostill over 8 years@babca That's a design fault in the Czech version of Windows. The alt shortcuts are meant to unique where possible.
-
Matias Ficarrotti almost 6 yearsWin + M like Win + D can also switch to desktop
-
pabouk - Ukraine stay strong over 3 yearsAnother option:
Ctrl+Altr+Del
,↑
,Space
,↑
,↑
,Enter