0X0000015F

Fix ERROR_FAIL_SHUTDOWN 0x15F in 3 Steps

Windows throws 0x15F when a shutdown stalls. We'll kill stuck processes, clear corrupted profile cache, then check hardware drivers.

What's happening here?

You clicked Shut Down, the screen went dark, and then bam—the error ERROR_FAIL_SHUTDOWN (0X0000015F) pops up. The system stops responding, or it reboots instead of powering off. I've seen this on Windows 10 and 11, often after a big update or when an app like Chrome or a game leaves orphaned threads.

The error literally means "the shutdown operation failed." Windows tried to close everything, but something didn't let go in time. The good news: you can usually fix it yourself in under 15 minutes. Start with the first fix—most people stop there.

Fix 1: Force-kill stuck processes (30 seconds)

This is the fastest thing that works. You're telling Windows to drop whatever's hanging.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click the Processes tab. Look for any app with "Not responding" next to it.
  3. Right-click that app and choose End task.
  4. If nothing shows as not responding, scroll down to Windows Explorer—right-click it and hit Restart.

After that, try shutting down again: Win + X, then U, then U again. If your PC turns off cleanly, you're done. No need to read further.

Fix 2: Clear the corrupted profile cache (5 minutes)

If the error keeps coming back, the culprit is usually a broken user profile cache. Windows stores your session state here, and when it gets corrupted, shutdown hangs.

  1. Press Win + R, type regedit, and hit Enter.
  2. You'll see a User Account Control prompt—click Yes.
  3. Go to this path (copy and paste it into the address bar):
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  4. Look for any folder with a long name that ends in .bak (like S-1-5-21-...-1001.bak).
  5. If you find one, right-click it and choose Delete. Don't worry—this only removes the backup copy, not your actual profile.

Now reboot normally (not shutdown—just restart). After the restart, shut down again. If the error is gone, great. If not, move to the last fix.

Fix 3: Update or roll back your display driver (15+ minutes)

This is the deep one. A bad graphics driver can block shutdown because it's waiting on a hardware response that never comes. I've seen this exact error with NVIDIA drivers from 2023 and with some older AMD cards.

Try updating first

  1. Press Win + X and select Device Manager.
  2. Expand Display adapters.
  3. Right-click your graphics card and choose Update driver.
  4. Select Search automatically for drivers. If Windows finds one, install it and restart.

If that doesn't help, roll back

If the error started right after a driver update, here's what to do:

  1. In Device Manager, right-click your graphics card again and choose Properties.
  2. Go to the Driver tab.
  3. Click Roll Back Driver (it's greyed out if there's no previous version).
  4. Follow the prompts and restart.

After rolling back, test shutdown. If it works, skip updating drivers for a few weeks until the vendor patches the issue.

When all else fails: Run a disk check

Rarely, 0x15F is a sign of a failing hard drive. Open Command Prompt as administrator (search "cmd", right-click, run as admin) and type:

chkdsk C: /f /r

It'll ask to schedule on next restart—type Y and reboot. Let it run fully (could take an hour). If it finds bad sectors, back up your data now. If it finds nothing, you're good.

One last thought: if you're on a laptop, check the battery drivers too. A stuck battery driver can produce the same error. In Device Manager, expand Batteries, right-click each entry, and choose Uninstall device. Then shut down—Windows will reinstall them on next boot.

That's the whole flow. Start with Fix 1, and only move down if the error persists. Most of the time, you won't need to go past the first one.

Related Errors in Windows Errors
0X80000021 Fix STATUS_SETMARK_DETECTED (0X80000021) Tape Error 0X00003B61 Fix ERROR_MCA_INVALID_VCP_VERSION (0X00003B61) on Windows Windows cannot find C:\ProgramData\Microsoft\Windows\Start Menu\Programs Fix 'Windows cannot find C:\ProgramData\Microsoft\Windows\Start Menu\Programs' 0XC0000305 STATUS_COPY_PROTECTION_FAILURE (0XC0000305) – Fix in 5 Minutes

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.