Windows normally shuts down or restarts in under a minute. When it gets stuck on that spinning-dots screen for more than five minutes, something is blocking the process — usually an app that won't close, a Windows Update that's still writing files, or a background service that's hanging.

What to Do Right Now

If the PC has been stuck for more than ten minutes and you're confident it's not mid-update, it's safe to hold down the physical power button for five seconds until it powers off. Doing this once, occasionally, won't hurt your PC. Doing it repeatedly during updates can cause file corruption, so be cautious if you saw an update installing before the hang.

After the Forced Shutdown — Check What Happened

After your PC restarts, open Event Viewer (Win + R, type eventvwr.msc) and check Windows Logs > System for errors around the time of the hang. Look for services or applications that failed to stop cleanly.

Fix Slow Shutdown Caused by Hung Services

Windows waits up to 5 seconds for each service to stop before moving on. You can reduce this wait time so a hung service doesn't block shutdown indefinitely:

  1. Press Win + R, type regedit, and navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  1. Find the WaitToKillServiceTimeout value. Double-click it and change the value from 5000 (5 seconds) to 2000 (2 seconds).

Disable Fast Startup

Fast Startup (a hybrid shutdown mode) can sometimes cause the shutdown process to hang, particularly on systems with certain drivers.

  1. Open Control Panel > Power Options > Choose what the power buttons do.
  2. Click Change settings that are currently unavailable.
  3. Uncheck Turn on fast startup and save changes.

Update or Roll Back Problematic Drivers

Network adapter and chipset drivers are frequent culprits for hang-on-shutdown issues. Open Device Manager, expand Network adapters, and check for any driver updates. If the problem started after a recent driver update, right-click the device and choose Properties > Driver > Roll Back Driver.

Run a System File Check

Corrupted system files can prevent Windows from completing a clean shutdown. Open an elevated Command Prompt and run sfc /scannow, then restart.