79

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?

11
  • 12
    Why don't you just configure the power button to shutdown? That's only 1 keystroke! ;)
    – DavidPostill
    Sep 5, 2015 at 11:36
  • 3
    I gave up & put bat files on my desktop, cos it's even harder over remote desktop :(
    – Tetsujin
    Sep 5, 2015 at 11:37
  • Nothing'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]
    – Tetsujin
    Sep 5, 2015 at 11:44
  • 1
    There 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.
    – CodeManX
    Sep 5, 2015 at 11:55
  • 4
    @Tetsujin <win>+<x>, <u>,<r> for a restart ...
    – DavidPostill
    Sep 5, 2015 at 12:35

2 Answers 2

100

How do I shutdown Windows 10 in 3 or less keystrokes?

There are three solutions (detailed below).

  1. Configure the Power button to perform a shutdown (1 button press)

  2. Win+D, Alt+F4, Enter (3 keystrokes/5 keypresses) or

  3. 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.

  1. Click in Windows 10's Search field, type "power", and then click "Power Options" in the search results that appear.

  2. 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).
  3. Click the pull-down menu(s), and select "Shut Down".

  4. Click "Save changes"

Now, whenever you press the power button, your PC should immediately shut down.

enter image description here

Source How to quickly shut down Windows 10


Solution 2 - Win+D, Alt+F4, Enter (3 keystrokes/5 keypresses)

Explanation:

  1. Win+D will show the desktop.

  2. Alt+F4 will open the shut down menu (when you are viewing the desktop.

    enter image description here

  3. 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:

  1. Win+X will open the power user menu:

    enter image description here

  2. U will open the "Shutdown or sign out menu":

    enter image description here

  3. 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

  1. Win+X will open the power user menu.

  2. U will open the "Shutdown or sign out menu".

  3. 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.

10
  • 1
    On my Windows 10 Enterprise, Win + , only shows the desktop while the keys are being pressed, so Alt + F4 closes the foreground window instead of desktop. Maybe it is Win + D?
    – jingyu9575
    Sep 5, 2015 at 12:51
  • 2
    Win + X, U, U does not work on non-English distributions.
    – babca
    Sep 6, 2015 at 10:35
  • 1
    "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 of Win+X U U. It's not an universal shutdown shortcut at all.
    – babca
    Mar 4, 2016 at 16:49
  • 1
    @babca That's a design fault in the Czech version of Windows. The alt shortcuts are meant to unique where possible.
    – DavidPostill
    Mar 4, 2016 at 17:20
  • 1
    Win + M like Win + D can also switch to desktop
    – mvark
    Aug 14, 2018 at 11:38
5

FYI, Windows 10 if you know you are on the login screen:

  1. Press any key, like the spacebar (to ensure you are past the facade and that the login prompt is active).
  2. Shift + Tab (shift the focus from the login prompt to the shutdown button
  3. Space (open the power menu/Sleep is selected by default)
  4. (select Shutdown)
  5. 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .