[{"data":1,"prerenderedAt":244},["ShallowReactive",2],{"en-post-54":3},{"id":4,"title":5,"body":6,"description":12,"extension":237,"meta":238,"navigation":239,"path":240,"seo":241,"stem":242,"__hash__":243},"content/post/54.md","54",{"type":7,"value":8,"toc":219},"minimark",[9,13,22,27,30,33,37,44,47,51,54,62,72,79,83,86,90,93,96,100,103,106,110,113,117,120,124,127,138,142,145,155,159,162,166,169,177,181,184,187,191,194,202,205,208,212],[10,11,12],"p",{},"Click Shut Down and the screen just spins, stuck on \"Shutting down\", or nothing happens at all. Some cases are worse: the PC restarts on its own after shutdown, or blue-screens the moment it powers off. These problems are common on both Windows 11 and Windows 10, and the root cause is usually a fast startup conflict, a background program blocking shutdown, an incompatible driver, or a broken power setting.",[10,14,15,16,21],{},"Work through the ladder below, soft to hard, fast to deep. If it is already stuck so badly it will not boot, go straight to ",[17,18,20],"a",{"href":19},"/post/11/","Windows Won't Boot, Blue Screen, or Black Screen? A Step-by-Step Self-Recovery Guide",".",[23,24,26],"h2",{"id":25},"emergency-force-shutdown-with-the-power-button","Emergency, force shutdown with the power button",[10,28,29],{},"When the system is completely frozen and nothing responds, hold the power button for 10 seconds to cut power.",[10,31,32],{},"This is only an emergency move. It interrupts unsaved work and can occasionally corrupt files, so do not use it as your daily shutdown. Use the normal flow whenever you can.",[23,34,36],{"id":35},"step-1-turn-off-fast-startup","Step 1, turn off fast startup",[10,38,39,40,21],{},"Fast startup is a hybrid shutdown that Windows enables by default. It does not play well with many drivers, older motherboards, or dual-boot setups, and it is the number one cause of \"shutdown hangs\" and \"shutdown turns into restart\". For the dual-boot angle, see ",[17,41,43],{"href":42},"/post/53/","Install Ubuntu Dual Boot with Windows",[10,45,46],{},"Open Control Panel, Power Options, choose what the power button does, then click \"Change settings that are currently unavailable\". Clear \"Turn on fast startup (recommended)\" and save, then try shutting down again. Many people fix it right here. The only cost is a slightly slower boot, still faster than a cold start.",[23,48,50],{"id":49},"step-2-check-whether-a-program-is-blocking-shutdown","Step 2, check whether a program is blocking shutdown",[10,52,53],{},"If the Start menu shutdown does nothing but a command line works, something is blocking it, an unsaved document or a stuck app.",[10,55,56,57,61],{},"Press ",[58,59,60],"code",{},"Win + X",", open Terminal (admin), and run:",[63,64,69],"pre",{"className":65,"code":67,"language":68},[66],"language-text","shutdown /s /f /t 0\n","text",[58,70,67],{"__ignoreMap":71},"",[10,73,74,75,78],{},"The ",[58,76,77],{},"/f"," forces every program to close. If this shuts down cleanly, quit your resident apps (sync clients, antivirus, downloaders, virtual machines) before the normal shutdown next time.",[23,80,82],{"id":81},"step-3-unplug-external-devices","Step 3, unplug external devices",[10,84,85],{},"USB flash drives, external hard disks, card readers, docks, and printers can make the system think it still has work to do and refuse to shut down. Unplug every non-essential USB device before shutting down.",[23,87,89],{"id":88},"step-4-disable-usb-selective-suspend","Step 4, disable USB selective suspend",[10,91,92],{},"A misbehaving USB power setting can block sleep and shutdown.",[10,94,95],{},"In Device Manager, expand Universal Serial Bus controllers, right-click each \"USB Root Hub\", Properties, Power Management, and clear \"Allow the computer to turn off this device to save power\".",[23,97,99],{"id":98},"step-5-update-or-roll-back-drivers","Step 5, update or roll back drivers",[10,101,102],{},"Incompatible drivers are a common cause of shutdown hangs and shutdown blue screens.",[10,104,105],{},"In Device Manager, focus on Display adapters (GPU), Network adapters, and System devices (chipset, storage controller). Right-click and update. If the problem started after a driver update, choose \"Roll Back Driver\".",[23,107,109],{"id":108},"step-6-run-the-power-troubleshooter","Step 6, run the power troubleshooter",[10,111,112],{},"Settings, System, Troubleshoot, Other troubleshooters, Power, Run. Windows fixes some power-policy errors automatically.",[23,114,116],{"id":115},"step-7-reset-the-power-plan","Step 7, reset the power plan",[10,118,119],{},"Control Panel, Power Options, next to your plan click \"Change plan settings\", then \"Restore default settings for this plan\". If a custom plan got mangled, this pulls it back.",[23,121,123],{"id":122},"step-8-disable-hibernation","Step 8, disable hibernation",[10,125,126],{},"The hibernation file, hiberfil.sys, occasionally fights the shutdown logic.",[10,128,129,130,133,134,137],{},"In an admin terminal run ",[58,131,132],{},"powercfg -h off",". This also frees C space equal to your RAM. If you use hibernation, turn it back on with ",[58,135,136],{},"powercfg -h on"," afterward.",[23,139,141],{"id":140},"step-9-clean-boot-to-rule-out-third-party-software","Step 9, clean boot to rule out third-party software",[10,143,144],{},"Antivirus, virtualization tools, and sync clients sometimes block shutdown.",[10,146,56,147,150,151,154],{},[58,148,149],{},"Win + R",", type ",[58,152,153],{},"msconfig",", on the Services tab tick \"Hide all Microsoft services\" then \"Disable all\". On the Startup tab, open Task Manager and disable every startup item. Reboot, keep only system services, and test shutdown. If it works, re-enable items one by one to find the culprit.",[23,156,158],{"id":157},"step-10-uninstall-the-recent-quality-update","Step 10, uninstall the recent quality update",[10,160,161],{},"If the shutdown problem appeared right after a Windows update, Settings, Windows Update, Update history, Uninstall updates, and remove the most recent quality update.",[23,163,165],{"id":164},"step-11-force-close-blocking-apps-with-group-policy","Step 11, force-close blocking apps with Group Policy",[10,167,168],{},"Make Windows end blocking apps instead of politely asking.",[10,170,56,171,150,173,176],{},[58,172,149],{},[58,174,175],{},"gpedit.msc",", Computer Configuration, Administrative Templates, System, Shutdown Options, and set \"Turn off automatic termination of applications that block or cancel shutdown\" to \"Enabled\". Home edition has no Group Policy editor, use the registry equivalent or skip this step.",[23,178,180],{"id":179},"step-12-update-or-reset-the-bios-uefi","Step 12, update or reset the BIOS (UEFI)",[10,182,183],{},"An old BIOS that conflicts with fast startup or Modern Standby can also break shutdown.",[10,185,186],{},"Download and flash the latest BIOS from your motherboard or PC maker. In the BIOS, check power-related items like ErP, Deep Sleep, and Power On after Power Loss, and restore defaults if needed.",[23,188,190],{"id":189},"shutdown-blue-screen-or-shutdown-turns-into-restart","Shutdown blue screen or shutdown turns into restart",[10,192,193],{},"If it blue-screens the instant it shuts down, or restarts after shutdown, that is really a blue screen problem.",[10,195,196,197,201],{},"First disable automatic restart so the code shows, in ",[17,198,200],{"href":199},"/post/32/","Blue Screen Restarts Too Fast to Read",". Note the STOP code and match it against the blue screen code list, then revisit steps 5, 9, and 10 to focus on drivers and recent updates.",[10,203,204],{},"A note on hardware. If the machine shuts down cleanly after a clean boot and with fast startup off, the cause was software. If it still hangs or blue-screens with everything stripped back, suspect the power supply, motherboard, or a failing drive, and check the drive SMART health and the BIOS power settings. A weak PSU that cannot hold its rails during power-down is a classic, easy-to-miss cause.",[10,206,207],{},"One more nuance: fast startup can also stop peripherals from powering off fully, which some users notice as fans or lights staying on after shutdown, and the same toggle fixes it.",[23,209,211],{"id":210},"summary","Summary",[10,213,214,215,218],{},"The shutdown troubleshooting order is: turn off fast startup, use ",[58,216,217],{},"shutdown /s /f /t 0"," to see if a program is blocking, unplug peripherals, fix or roll back drivers, reset the power plan, clean boot, then uninstall the update. Most slow or hung shutdowns are solved in the first three steps, and only a few involve the BIOS or hardware. If everything fails, consider resetting the PC.",{"title":71,"searchDepth":220,"depth":220,"links":221},2,[222,223,224,225,226,227,228,229,230,231,232,233,234,235,236],{"id":25,"depth":220,"text":26},{"id":35,"depth":220,"text":36},{"id":49,"depth":220,"text":50},{"id":81,"depth":220,"text":82},{"id":88,"depth":220,"text":89},{"id":98,"depth":220,"text":99},{"id":108,"depth":220,"text":109},{"id":115,"depth":220,"text":116},{"id":122,"depth":220,"text":123},{"id":140,"depth":220,"text":141},{"id":157,"depth":220,"text":158},{"id":164,"depth":220,"text":165},{"id":179,"depth":220,"text":180},{"id":189,"depth":220,"text":190},{"id":210,"depth":220,"text":211},"md",{},true,"/post/54",{"description":12},"post/54","Do3jrr7bXeOxruZgGuLJw_keXqPpP9R3k5NSjoDxsvk",1794378304088]