Windows 11 and Windows 10 · Updated October 16, 2026
No mouse, no touchpad, or just faster? These are every working way to shut down Windows with the keyboard, from Win+X then U, U to a custom hotkey and a timer. Use the finder for your exact situation and the builder for the right command.

1. Anywhere: Win+X, then U, then U. This shuts down without needing the desktop.
2. From the desktop: Win+D, then Alt+F4, then Enter.
3. Instantly: Win+R, type shutdown /s /t 0, press Enter.
Windows has no built-in single hotkey that shuts the PC down, so these are short key sequences. If you want one combo, create your own in two minutes.
Letters matter. In the Win+X menu, U then U is Shut down, but U then R is Restart. Some guides mix these up. Save your work first, because shortcuts do not ask twice.
Tap through in this order of speed. Every one of these works in Windows 11 and Windows 10 unless noted.
Opens the Win+X menu, then “Shut down or sign out,” then Shut down. Other second keys: R restart, S sleep, I sign out, H hibernate (if enabled).
Shows the “Shut Down Windows” box. Use ↑↓ to switch between Shut down, Restart, Sleep. If a program is focused, Alt+F4 closes that program instead.
Tab to the power icon at the bottom right, press Enter, then choose Shut down with the arrow keys. Good when an app has frozen the desktop.
Open Start, press Tab until the power button is selected, press Enter, pick Shut down. The number of Tab presses depends on your Start layout. “Update and shut down” installs pending updates first.
shutdown /s /t 0→EnterShuts down immediately. Use shutdown /r /t 0 to restart. The command builder makes variations for you.
Create a desktop shortcut to the shutdown command and give it a key combo. Steps below.
A short press follows your Power Options setting. Holding it for several seconds forces the PC off. That can lose unsaved work and rarely corrupt files, so use it only if Windows is frozen.
Pick what is happening. You get the shortcut that works best.
Build a CMD, Run or PowerShell command. Run it with Win+R or in a terminal.
| Switch | What it does |
|---|---|
/s | Shut down |
/r | Restart |
/h | Hibernate (no timer allowed) |
/l | Sign out (no timer allowed) |
/t N | Wait N seconds first. If you leave it out, Windows waits 30 seconds |
/f | Force-close running apps without warning, so unsaved work is lost |
/a | Abort a pending shutdown, only during the delay. Run it in a new window |
/hybrid | Shut down and prepare for fast startup |
/m \\PCNAME | Target another computer on the network (needs the “Shut down the system” right) |
This gives you one combo such as Ctrl+Alt+S.
shutdown /s /t 10 and click Next. The 10-second delay lets you cancel by mistake.Keep the shortcut on the desktop. The hotkey stops working if you delete it. If it fires by accident, run shutdown /a within the delay to cancel.
| Goal | Command |
|---|---|
| Shut down in 1 hour | shutdown /s /t 3600 |
| Shut down in 30 minutes | shutdown /s /t 1800 |
| Cancel it | shutdown /a |
| Every night at 11:30 PM | schtasks /create /tn "NightlyShutdown" /tr "shutdown /s /t 30" /sc daily /st 23:30 (Command Prompt as administrator) |
| Remove that task | schtasks /delete /tn "NightlyShutdown" /f |
Without commands: open Task Scheduler → Create Basic Task → pick the time → Action Start a program → Program shutdown, arguments /s /t 30. The 30-second delay shows a warning before shutdown.
| Where you are | What works |
|---|---|
| Safe mode | Windows is running, so Win+X, U, U, Alt+F4 and shutdown /s /t 0 all work. |
| Sign-in screen | Tab to the power icon at the bottom right, Enter, then Shut down. |
| Recovery (blue screen menu) | Use Tab and the arrow keys to select Turn off your PC, then Enter. |
| BIOS or UEFI | Windows shortcuts do not exist here. Use the setup screen’s Exit option, or hold the power button until it turns off. |
| Remote Desktop | Ctrl+Alt+Del goes to your own PC. Use Ctrl+Alt+End for the remote one, or run shutdown /s /t 0 inside it. |
| Another PC on your network | shutdown /s /m \\PCNAME /t 60 /c "Maintenance" in an administrator window, with permission on that PC. |
| Option | What happens | Use it when |
|---|---|---|
| Shut down | Closes apps and powers off. With Fast Startup on, Windows saves some system state for a quicker boot | Leaving the PC for a long time |
| Restart | Full shutdown and reboot | After updates, or to fix glitches. A restart is the better fix than a shutdown |
| Sleep | Low power, resumes in seconds | Short breaks |
| Hibernate | Saves your session to disk and powers off | Long breaks on a laptop, if it is enabled |
If a PC will not boot properly after shutting down, or you dual-boot, Fast Startup can be the cause, because Microsoft’s own documentation describes the /hybrid switch as preparing the device for fast startup.
| Problem | Why | Fix |
|---|---|---|
| Alt+F4 closes an app, not Windows | An app has focus | Press Win+D first, or use Win+X, U, U |
| Alt+F4 does nothing on a laptop | Function keys are in media mode | Hold Fn or turn on Fn Lock |
| Win+X menu does not open | Windows key disabled (gaming mode) or keyboard remapped | Turn off the game-mode Windows lock and test on-screen keyboard; right-click Start |
| “This app is preventing shutdown” | An app has unsaved work or is hung | Save and close it, or run shutdown /s /f /t 0 (unsaved work is lost) |
| Command says “Access is denied” | You lack the shutdown right, or policy blocks it | Run as administrator; check with your IT admin if on a work PC |
| Shutdown goes back to sign-in | Pending updates, or a restart was started instead | Check you pressed U twice, not R; install updates |
| Frozen screen | System hang | Try Ctrl+Alt+Del; else hold the power button |
Learn Win+X, U, U. It works from any screen and takes under two seconds. Use Alt+F4 from the desktop, the shutdown command for timers, and a custom hotkey if you want a single combo. Save your work first, because none of these ask twice.