Windows 11 not shutting down: how to fix it

Quick answer: If Windows 11 hangs on the shutdown screen or won’t turn off, open Command Prompt or Terminal and run shutdown /s /t 0 to start a shutdown right away. If that works but the normal Shut down button still fails, turn off Fast Startup, close any app that blocks shutdown, and let pending updates finish. A PC that restarts instead of shutting down, or keeps its fans and lights on, needs the checks in Fix 5 and Fix 6.

Applies to: Windows 11 desktops and laptops that hang on the shutting down screen, restart when you choose Shut down, or keep fans, keyboard lights or USB power on after they seem to be off. Menu names are from Windows 11. If the PC won’t go to sleep rather than shut down, see our Windows 11 sleep guide instead.

Match your symptom

The table is general guidance to help you jump to the right fix. Each fix below says which steps come from Microsoft and which don’t.

What you seeStart with
Shutting down screen spins and never finishesFix 1, then Fix 3
Shutdown works from a command, not from the Start menuFix 2
A message says an app is preventing shutdownFix 3
Shutdown stalls while working on updatesFix 4
PC restarts or turns back on by itselfFix 5
Screen goes dark, but fans, lights or USB devices stay onFix 6
Nothing above helpsFix 7, then Fix 8

Fix 1: Do a full shutdown with the shutdown command

The built-in shutdown command is a quick way to tell whether the problem is the Start menu button or Windows itself. Microsoft’s shutdown command reference lists it for Windows 11 and describes these options:

OptionWhat it does (per Microsoft)
/sShuts down the computer
/rRestarts the computer after shutdown
/t 0Sets the delay before shutdown in seconds; the default is 30
/fForces running apps to close without warning
/hybridShuts down and prepares the PC for fast startup; used with /s
/aCancels a pending shutdown during the delay
  1. Save your work and close your apps.
  2. Right-click Start and select Terminal, or search for Command Prompt and open it.
  3. Type shutdown /s /t 0 and press Enter.

Microsoft’s page also says that any delay above 0 implies /f, and it warns that /f might cause loss of unsaved data. That’s why the first step is to save everything. To cancel a shutdown you started with a delay, run shutdown /a in a new window before the timer runs out.

As general guidance, a shutdown started this way without /hybrid doesn’t prepare the PC for fast startup, so it gives you a cleaner test of whether shutdown works at all. If this command turns the PC off but the Start menu button doesn’t, go to Fix 2. If the command hangs too, an app, driver or update is holding Windows up, so continue with Fix 3.

Fix 2: Turn off Fast Startup

As general guidance, with Fast Startup on, Windows saves part of its running state to disk when you select Shut down, so the next start is quicker. That matches the /hybrid option above, which Microsoft describes as shutting down and preparing for fast startup. This partial shutdown can leave a driver or device in a bad state, which can show up as a hang, a PC that wakes back up, or hardware that stays powered.

To test it, turn Fast Startup off. This is general guidance, not from the Microsoft pages cited here:

  1. Open Control Panel and select Hardware and Sound > Power Options.
  2. Select Choose what the power buttons do.
  3. Select Change settings that are currently unavailable (this needs administrator rights).
  4. Clear Turn on fast startup and select Save changes.

If you don’t see the Fast Startup checkbox, or you want to know what you give up by turning it off, our Fast Startup guide covers both. Restart the PC once after the change, then try a normal shutdown.

Fix 3: Close apps that block shutdown

When an app has unsaved work or doesn’t respond to the shutdown request, Windows can pause on a full-screen list of apps that are preventing shutdown. As general guidance, the safe order is:

  1. Select Cancel on that screen, switch to each listed app and save your work.
  2. Close the apps yourself. If one won’t close, press Ctrl + Shift + Esc to open Task Manager, select the app on the Processes page and select End task.
  3. Try Shut down again.

If the same app blocks shutdown every time, check for an update to that app or remove it from startup. Background tools such as sync clients, backup software and remote access apps are worth checking first, since they keep files or connections open; this is general guidance. Fix 7 shows how to find the app if you can’t tell which one it is.

Unsaved work: selecting Shut down anyway on the blocking screen, ending a task in Task Manager, or adding /f to the shutdown command all close apps without saving. Save first if you can.

Fix 4: Let pending updates finish

If the screen says Windows is working on updates, the PC is installing them as part of the shutdown, and that can take a while. As general guidance, leave it alone while the percentage still moves or the drive light still flickers; cutting power during an update can damage the installation. Once it finishes, open Settings > Windows Update, install anything else that’s waiting and restart.

If you need to turn the PC off now and install updates later, our guide to shutting down without updating explains the options. If the same update fails or stalls at every shutdown, treat it as an update problem rather than a shutdown problem.

Fix 5: PC restarts instead of shutting down

A PC that comes straight back on after Shut down can have one of three things going on: Windows crashed during shutdown and restarted itself, a device woke the PC, or a firmware setting turned it back on. The checks below are general guidance, not from the Microsoft pages cited here.

Check for a crash during shutdown. Windows restarts automatically after a system failure by default, which can look like a restart instead of a shutdown. To see the error instead:

  1. Press Win + R, type sysdm.cpl and press Enter.
  2. On the Advanced tab, under Startup and Recovery, select Settings.
  3. Clear Automatically restart and select OK.

If the next shutdown stops on an error screen, note the stop code; that points to the driver or hardware involved. Turn the option back on once you’re done testing.

Check what woke the PC. Run powercfg /lastwake in Terminal right after the PC turns itself back on, and powercfg /devicequery wake_armed to list devices that are allowed to wake it. To stop a device such as a mouse or network adapter from waking the PC, open Device Manager, right-click the device, select Properties, and on the Power Management tab clear Allow this device to wake the computer. Our sleep guide covers wake timers and other wake sources in more detail.

Check the firmware. Some PCs have BIOS or UEFI settings such as Wake on LAN, wake by USB device or restore power after power loss that can turn the PC back on. Their names differ by manufacturer; see the next fix for how to get there safely.

Fix 6: Fans or lights stay on after shutdown

Microsoft’s shutdown reference notes that if a computer doesn’t support power-off functionality, a shutdown still happens but the power to the computer remains on. So a PC that ends on a black screen with fans running has shut Windows down, but the hardware hasn’t cut power.

As general guidance, work through these in order:

  1. Turn off Fast Startup (Fix 2) and try again, since a partial shutdown can leave devices powered.
  2. Update the chipset driver and the BIOS or UEFI from the PC or motherboard maker’s support page.
  3. Unplug USB devices one at a time to see whether one keeps the PC from powering down.
  4. If only keyboard lights, USB ports or a motherboard LED stay lit, check the firmware for settings such as ErP, deep sleep or USB power in the off state. Some boards keep USB power on by design so you can charge a phone while the PC is off.

Before you open BIOS or UEFI: the PC restarts into firmware, and anything not saved is lost. Save your work and close your apps first. Change one setting at a time and write down the original value, since a wrong firmware setting can stop the PC from starting.

To get to the firmware from Windows, Microsoft’s shutdown reference says that combining /fw with a shutdown option sends the next restart to the firmware user interface, for example shutdown /r /fw /t 0 from an administrator Terminal. As general guidance, this works on UEFI PCs; on older PCs, use the key the maker shows at startup.

Fix 7: Find a conflicting app with a clean boot

A clean boot starts Windows with only essential drivers and startup programs, which helps you find background software that conflicts with Windows. Microsoft’s clean boot page gives these steps (sign in as an administrator first):

  1. Search for msconfig and open System Configuration.
  2. On the Services tab, select Hide all Microsoft services, then Disable all, and select Apply.
  3. On the Startup tab, select Open Task Manager.
  4. In Startup apps, disable each enabled item and write down which ones you turned off.
  5. Close Task Manager, select OK in System Configuration and restart.

Then try to shut down. If it works now, one of the disabled items was the cause. Microsoft suggests turning half of the services back on, restarting and testing, and narrowing it down until one item is left. The page warns that the PC might temporarily lose some functionality during a clean boot.

To go back to normal, Microsoft’s steps are: on the General tab select Normal startup; on the Services tab clear Hide all Microsoft services and select Enable all; turn your startup apps back on in Task Manager; then select OK and restart.

Fix 8: Update drivers and repair system files

As general guidance, graphics, chipset, storage and network drivers are the ones to check when shutdown hangs, because Windows has to stop each device before it can turn off. Our driver update guide explains where to get them and when a manufacturer driver is better than Windows Update.

If other parts of Windows misbehave too, run System File Checker from an administrator Terminal with sfc /scannow and restart when it finishes; this is also general guidance. Our sfc /scannow guide shows how to read the results.

Fix 9: Force the PC off as a last resort

If the shutdown screen hasn’t changed for a long time and there’s no update progress on screen, press and hold the power button until the PC turns off. This is general guidance, not from the Microsoft pages cited here. Wait a few seconds before turning it back on, then work through the fixes above so it doesn’t happen again.

Unsaved work: holding the power button cuts power without closing apps, so anything not saved is lost. Don’t do it while Windows shows update progress, and don’t make it your normal way to shut down.

Known issues

Microsoft lists confirmed Windows 11 problems on its Windows release health pages. If shutdown stopped working right after an update and none of the fixes help, check those pages.

Official sources

How we write our guides: read our editorial policy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *