Code: 0x8007045b Windows Errors Est. Time: 4 mins Level: Easy

0x8007045b A System Shutdown Is in Progress Error

Solve Windows 0x8007045b (’system shutdown is in progress’) blocking updates, Store installs, or app launches by completing restarts cleanly and clearing locks.

Authored by SolveKits Team • Last updated:

Overview & Technical Context

Encountering Windows error 0x8007045b (ERROR_SHUTDOWN_IN_PROGRESS — "A system shutdown is in progress") right in the middle of checking Windows Update, launching apps, or installing Store packages catches users completely by surprise when their desktop obviously isn’t shutting down! Under the hood, this triggers when a previous update, driver installer, or Windows session set a pending system reboot/shutdown flag (PendingReboot or a background service entering STOP_PENDING teardown) without cleanly completing the restart cycle—remember clicking Windows **Shut down** with Fast Startup enabled saves partial kernel state rather than finishing pending servicing transitions! Performing a true **Restart**, running troubleshooters, and verifying pending update operations clears 0x8007045b immediately.

Specific Symptoms

  • Clicking Check for Updates or Store Get fails unexpectedly reading 0x8007045b — A system shutdown is in progress.
  • Trying to open Task Manager, Services, or standalone .msi installers immediately rejects execution saying shutdown is active.
  • Re-trying after turning the PC off with Shut down and powering back on fails to clear the pending lock.
  • Pending Feature Update / Driver reboot alerts linger silently inside the Start power menu.

Why This Error Occurs

  • A prior installer or Windows Update flagged a mandatory reboot pending, blocking fresh Servicing/MSI runs until Restart finishes.
  • Windows Fast Startup hibernation skipped completing real kernel shutdown sequences across Shut down/Power On cycles.
  • A stuck Windows service (wuauserv, TrustedInstaller, Winlogon) remained wedged in stopping/shutdown transition state.
  • Corrupted Windows Update cache (SoftwareDistribution) or component staging locks.

Troubleshooting Steps

1

Perform a true Windows Restart (never Shut down with Fast Startup)

Save open documents, click Start → Power → Restart explicitly (NEVER click Shut down, because Windows 10/11 Fast Startup hibernates kernel locks!). Letting Windows complete one clean full Restart executes queued pre-boot update operations and clears stale pending-reboot flags cleanly.

2

Try Booting Safe Mode briefly if desktop Restart or Apps lock immediately

If 0x8007045b blocks opening basic programs or restarting via Start Menu cleanly, hold Shift while clicking Restart (or force a restart cleanly via shutdown /r /t 0 in Command Prompt), enter Safe Mode briefly once (Troubleshoot → Advanced options → Startup Settings → 4), then reboot back into normal Windows to break stuck service stop loops.

shutdown /r /t 0
3

Reset Windows Update services and run Windows Update Troubleshooter

Once back in normal Windows, open Settings → System → Troubleshoot → Other troubleshooters → Windows Update, and flush SoftwareDistribution cleanly from Administrator Command Prompt if the error keeps striking during patch attempts.

net stop wuauserv && net stop bits && ren C:\Windows\SoftwareDistribution SoftwareDistribution.old && net start wuauserv && net start bits
4

Repair pending Windows Component Store flags via DISM and SFC

Run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow cleanly in elevated Command Prompt so stuck Component-Based Servicing (CBS) pending transactions clear properly.

DISM /Online /Cleanup-Image /RestoreHealth && sfc /scannow

What to Check If the Issue Continues

Wait patiently for 5–10 minutes on the spinning blue "Updates are underway / Please keep your computer on" screen during your next Restart—interrupting Windows forcefully mid-reboot right there causes the exact stalled servicing flags behind 0x8007045b and 0x800f0922.

Frequently Asked Questions

Why does clicking "Restart" fix 0x8007045b when "Shut down" didn’t?

With Windows Fast Startup enabled, clicking **Shut down** closes user sessions and hibernates the Windows kernel state directly onto hiberfil.sys without finalizing pending servicing tasks. Clicking **Restart** always forces a fresh full kernel teardown and cold reboot.

Why do .msi software installers throw "A system shutdown is in progress (0x8007045b)"?

Microsoft Windows Installer (msiserver) checks OS shutdown/reboot state locks before installing files so packages never half-write during teardown. A wedged TrustedInstaller restart flag fools MSI until you complete a clean reboot.

Can third-party cleaner apps cause 0x8007045b during Windows Updates?

Yes, killing background installers mid-update or clearing C:\Windows\WinSxS\Temp while updates sit queued leaves Windows Servicing waiting on torn-down components until repaired.

What does shutdown /r /t 0 do safely?

shutdown /r /t 0 triggers a standard Windows clean restart with zero-second wait time (/t 0), bypassing stuck UI Start Menu buttons while still letting Windows close apps cleanly.

Search Another Error or Symptom

Search all 292 guides and tools on SolveKits: