Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

Free Fix 0x80070652

0x80070652 and 0x80240016: another installation is already in progress

11 min read Updated October 4, 2026 Windows Update & Setup

Fix it now

0x80070652 is ERROR_INSTALL_ALREADY_RUNNING, decimal 1618: another installation is already in progress and has to finish first. 0x80240016 is WU_E_INSTALL_NOT_ALLOWED, which covers both another install in progress and a system pending a mandatory restart. Neither points at a damaged update; both are locks.

Run these in an elevated Command Prompt only after a genuine restart has failed to clear it

net stop wuauserv
net stop bits
net start bits
net start wuauserv
  1. Restart first, properly. Choose Restart rather than shutting down and powering on, because with fast startup enabled those are not the same operation. A restart is the mechanism by which a staged servicing transaction is committed and the pending state cleared.
  2. If it returns, open Task Manager’s Details tab and look for msiexec.exe, TiWorker.exe or a vendor setup process that has been running a long time. Let it finish rather than ending it.
  3. Install any servicing stack update on its own and restart before the cumulative update. An update marked exclusive cannot be installed alongside others.
  4. Retry the installation.

Killing msiexec mid-transaction can leave the product it was installing half-configured. If you have to, restart afterwards and repair that product before judging whether the update problem is solved.

If the update installs after a clean restart, you are done. If the machine keeps reverting changes at boot, the next section explains what is holding the lock and how to clear it safely.

Why it happens

Windows Installer allows one installation transaction at a time for the whole machine. That is deliberate: two installers rewriting shared components simultaneously would produce a mess nobody could unpick. A second installer arriving while the first holds the lock is told the machine is busy, which is what 0x80070652 says in its published wording: another installation is already in progress, complete that installation before proceeding. The other installer may be visible, or it may be software updating itself quietly in the background.

Servicing has a separate transaction of its own. Once an update has been staged, the remaining work happens during the next restart, and until that restart completes the component store is in a pending state. 0x80240016 covers both halves of that: the operation tried to install while another installation was in progress, or the system was pending a mandatory restart. Some updates are additionally marked exclusive, and 0x80240019 is the code for exactly that, an exclusive update that cannot be installed with other updates at the same time.

This is why the restart is not a lazy first step. It is the mechanism by which a staged transaction is committed and the pending state cleared. Skipping it in favour of registry keys and service restarts usually means doing the restart later anyway, with more disruption and less certainty about what changed.

The remaining two codes describe the update agent’s own state. 0x8024001B is WU_E_SELFUPDATE_IN_PROGRESS: the operation could not be performed because the Windows Update Agent is self-updating. That clears on its own and needs patience rather than intervention. 0x80070308 is ERROR_REQUEST_OUT_OF_SEQUENCE, decimal 776: the client of a component requested an operation which is not valid given the state of the component instance. It is a state error, not a corruption error.

A restart is outstanding and has not been taken

You have this one if Windows is offering a restart you have been deferring, or the pending flags below are present.

  1. Save your work and choose Restart, not shutdown and power on.
  2. Let the machine finish any configuration screens during the restart without interrupting it.
  3. Confirm the pending flags are gone afterwards.
  4. Retry the update.

Another installer holds the machine

You have this one if An msiexec process, a vendor updater or a setup wizard is running, sometimes invisibly under another session.

  1. Find it in Task Manager under the Details tab and check how long it has been running.
  2. Let it complete. Software that self-updates in the background often needs several minutes.
  3. If it has genuinely hung, with no disk or CPU activity for a long stretch, end it and restart before doing anything else.
  4. Retry the update once nothing else is installing.

An exclusive update was queued alongside others

You have this one if 0x80240019, after several updates were selected together, one of which is a servicing stack update.

  1. Install the servicing stack update by itself and restart.
  2. Install any framework or runtime update next, again on its own.
  3. Then install the cumulative update.
  4. In managed environments, approve servicing stack updates ahead of cumulative updates rather than in the same batch.

The update agent is updating itself

You have this one if 0x8024001B, and retrying a few minutes later behaves differently.

  1. Wait, then check for updates again. This condition clears on its own.
  2. If it never clears, restart the update service and try once more.
  3. Check there is enough free disk space for the agent to complete its own update.
  4. Restart if the state persists across service restarts.

A servicing transaction is stuck and never completes

You have this one if The machine restarts, shows configuration progress, reverts changes, and comes back with the same pending state.

  1. First try the supported in-Windows route: DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow, then restart.
  2. If the machine will not boot at all, boot the recovery environment from installation media and run DISM /Image:C:\ /Cleanup-Image /RevertPendingActions against the offline installation.
  3. Restart into Windows and check whether the pending state has cleared.
  4. Repair the store before installing anything new.

Microsoft documents /RevertPendingActions for boot failure recovery only, and states it is not supported on a running operating system or on a Windows PE or Windows RE image. It is a recovery tool for a machine that did not boot, not a routine step for one that does.

Full reference

Two different locks, one confusing message

Code Published name Which lock
0x80070652 ERROR_INSTALL_ALREADY_RUNNING Windows Installer: another installation is already in progress
0x80240016 WU_E_INSTALL_NOT_ALLOWED Update agent: another install in progress, or a pending mandatory restart
0x80240019 WU_E_EXCLUSIVE_INSTALL_CONFLICT Update agent: an exclusive update cannot be installed with others at the same time
0x8024001B WU_E_SELFUPDATE_IN_PROGRESS Update agent: the agent is self-updating
0x80070308 ERROR_REQUEST_OUT_OF_SEQUENCE Component state: the operation is not valid given the state of the component instance

Where the pending flags live

Location What its presence means
A RebootPending key under the Component Based Servicing branch Servicing has staged work that completes at the next restart
A RebootRequired key under the Windows Update Auto Update branch The update agent is waiting for a restart
A PendingFileRenameOperations value under Session Manager Files are queued to be replaced during startup
pending.xml in the component store folder A servicing transaction has not been committed

Read those locations, do not edit them. Deleting pending flags or the transaction file by hand does not complete the work they represent; it hides it, and the next update fails in a way that is much harder to diagnose.

Reverting pending actions, and when it is allowed

/RevertPendingActions reverts all pending actions from previous servicing operations, on the theory that those actions are what stopped the machine booting. Microsoft is explicit about the scope: it is not supported on a running operating system, nor on a Windows PE or Windows RE image. The supported use is an offline Windows image that did not boot, addressed with /Image: from a recovery environment started from installation media.

rem only for a machine that will not boot, from recovery media
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions

rem for a machine that boots but keeps reverting changes
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Reverting pending actions rolls back partly applied servicing work and can leave the machine in an unexpected state. Take a full backup or a snapshot first.

Telling a busy machine from a stuck one

  • Watch disk and CPU in Task Manager rather than the clock. A large update or a database-backed application can be genuinely busy for a long time with very little on screen.
  • Sustained zero across both, for a long stretch, is the signal that something has hung. A slow percentage is not.
  • TiWorker.exe is the servicing worker. Seeing it consume CPU during an update is normal and not a reason to end it.
  • Check whether another session has an installer open. On a shared or remote-desktop machine the lock holder is frequently somebody else’s setup wizard.
  • If the same update fails repeatedly with 0x80070308, treat the state as the problem rather than the package: repair the store and clear the pending work before retrying.

Why this comes back every month

Usually because the machine is never restarted cleanly, so each month’s update stacks on the last one’s pending state. A scheduled restart after patching solves it more reliably than any command in this article. On servers, that means agreeing a restart window rather than deferring indefinitely; on desktops, it means letting the machine take the restart it keeps asking for. Fast startup complicates it further, because a shutdown followed by a power-on does not commit a staged servicing transaction the way a restart does.

Every code this article covers

Code What it points at Source
0x80070652 ERROR_INSTALL_ALREADY_RUNNING, decimal 1618: another installation is already in progress; complete that installation before proceeding Microsoft Learn
0x80240016 WU_E_INSTALL_NOT_ALLOWED: the operation tried to install while another installation was in progress, or the system was pending a mandatory restart Microsoft Learn
0x80070308 ERROR_REQUEST_OUT_OF_SEQUENCE, decimal 776: the client of a component requested an operation which is not valid given the state of the component instance Microsoft Learn
0x8024001B WU_E_SELFUPDATE_IN_PROGRESS: the operation could not be performed because the Windows Update Agent is self-updating Microsoft Learn
0x80240019 WU_E_EXCLUSIVE_INSTALL_CONFLICT: an exclusive update cannot be installed with other updates at the same time Microsoft Learn

Confirm the fix worked

  1. Confirm no pending restart flags remain in the locations listed above.
  2. Install the update that was failing and confirm it completes.
  3. Restart and confirm the machine comes back without a configuration or rollback screen.
  4. Check Update history and confirm the entry reads as installed.
  5. Install a second update to be sure you cleared the lock rather than got lucky with one package.

Questions people ask about this

How long should I wait before assuming an installer has hung?

Longer than feels comfortable. A large update or a database-backed application can be genuinely busy with little visible activity. Watch disk and CPU in Task Manager; sustained zero across both for a long stretch is the signal, not the clock alone.

Can I run RevertPendingActions on a machine that still boots?

Microsoft says no. The option is documented for boot failure recovery and is explicitly not supported on a running operating system or on a Windows PE or Windows RE image. For a machine that boots but keeps reverting changes, repair the component store and clear the pending work instead.

Can I delete the pending transaction file to unblock the machine?

Do not. It represents work that has been staged but not committed, and removing it leaves the store believing something happened that did not. Reverting pending actions from a recovery environment, on a machine that will not boot, is the supported way to undo it.

Does this cost anything to fix?

No. Everything here uses tools already on the machine, and none of these codes has any connection to licensing or activation.

Why does this keep happening every month?

Usually because the machine is never restarted cleanly, so each month’s update stacks on the last one’s pending state. Note that with fast startup enabled, a shutdown and power-on is not the same as a restart, and only a restart commits a staged servicing transaction.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

License Error 0x80004005 – 0x20007: driver installation fails in the SAFE_OS phase Free Fix 0x800703F1 and 0x80070091: a corrupt registry hive or a folder that will not empty License Error 0xC1900101 – 0x20004 and 0x8007042B: drivers and killed processes roll the upgrade back Free Fix 0x80072EE2 and 0x80072EFD: Windows Update times out reaching Microsoft
โ† Back to Knowledge Base