Fix “Another Installation Already in Progress” on Windows 10
In this article
Yes, you can resolve the “another installation already in progress” error on Windows 10 by stopping the pending installer service, clearing leftover files, and resetting the Windows Update components.
What You’ll Need
- A Windows 10 PC with administrator privileges.
- Access to the built‑in Command Prompt or PowerShell.
- An optional USB drive or external storage for a quick backup of important files.
- Patience – the process involves several restarts and command‑line operations.
Step‑By‑Step
-
Restart the computer. A simple reboot often clears a transient installer lock. Click
Start > Power > Restart. After Windows loads, try the original installation again; if the error persists, continue. -
Check for pending Windows updates. Open
Settings > Update & Security > Windows Update. ClickCheck for updates. If updates are found, install them and let the system restart. The Windows Update service sometimes holds the installer lock. -
Stop the Windows Installer service. Press Win+R, type
services.msc, and press Enter. Locate Windows Installer (may appear asmsiserver). Right‑click and chooseStop. If the service is already stopped, leave it as is. This releases any active MSI transaction. -
Delete the pending installation file. Open File Explorer and navigate to
C:\Windows\SoftwareDistribution\DataStore. Delete the file namedpending.xml(you may need to take ownership first). Right‑click the file, selectProperties > Security > Advanced > Change Owner, set yourself as owner, then delete. -
Run DISM and SFC scans. Open an elevated Command Prompt (search
cmd, right‑click,Run as administrator). Execute the following commands one after another, waiting for each to finish:DISM /Online /Cleanup‑Image /RestoreHealth
sfc /scannow
These tools repair corrupted system files that can keep the installer stuck. -
Clear the Windows Update cache. In the same elevated Command Prompt, type:
net stop wuauserv
net stop bits
Then delete the contents ofC:\Windows\SoftwareDistribution(you can safely remove the whole folder). Finally restart the services:net start wuauserv
net start bits
-
Perform a clean boot. This disables third‑party services that might interfere. Press Win+R, type
msconfig, and press Enter. In theSystem Configurationwindow, go to theServicestab, checkHide all Microsoft services, then clickDisable all. Switch to theStartuptab and openTask Manager. Disable every startup item. ClickOKand restart the PC. After the clean boot, attempt the installation again. - Retry the original installation. Run the installer that originally triggered the error. If it completes, you have fixed the issue. If the message appears again, move on to the troubleshooting section.
Common Mistakes
- Deleting the entire
SoftwareDistributionfolder while the Windows Update service is still running – this can corrupt the update database. Always stop the services first. - Skipping the DISM step; a corrupted component store often re‑creates the installer lock.
- Running the commands in a non‑elevated Command Prompt – many of the operations require administrator rights and will silently fail.
- Forgetting to re‑enable services after a clean boot, which can leave the system in a limited state.
Tips
- Create a system restore point before deleting
pending.xml. SearchCreate a restore pointand clickCreatein the System Properties window. - If you use a third‑party antivirus, temporarily disable it while you stop the installer service; some security suites hook the MSI engine.
- Keep a copy of the installer you are trying to run; a corrupted installer can also trigger the same error.
- Document the exact time the error appears; Windows logs the event in
Event Viewer > Windows Logs > Applicationunder sourceMsiInstaller. The details can point to a specific pending task.
Troubleshooting
If the error persists after completing the steps above, try the following deeper measures.
-
Use System Restore. Search
System Restore, choose a restore point dated before the error began, and follow the wizard. This rolls back registry entries that may still reference a dead installation. -
Run the Windows Update Troubleshooter. Go to
Settings > Update & Security > Troubleshoot > Additional troubleshootersand selectWindows Update. Let the tool detect and fix problems automatically. -
Repair the Windows Installer registration. In an elevated Command Prompt, execute:
msiexec /unregister
msiexec /regserver
This re‑writes the installer’s registry keys. -
Perform an in‑place upgrade. Download the Media Creation Tool from Microsoft’s website, run it, and select
Upgrade this PC now. The process reinstalls Windows 10 while preserving apps and files, effectively resetting the installer subsystem. -
Check for corrupted registry keys. Open
regedit(run as administrator) and navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer. Look for a subkey namedInProgressand delete it if present. Be extremely careful; backing up the registry first is recommended.
After each of these actions, restart the computer and attempt the installation again. If none of the methods work, the issue may be tied to a specific application’s installer package, and contacting the software vendor’s support team is advisable.
Frequently Asked Questions
What does the “another installation already in progress” message actually mean?
The message indicates that the Windows Installer service (MSI) believes a previous installation has not finished. It keeps a lock file or registry entry to prevent two installers from running simultaneously.
Is it safe to delete pending.xml?
Yes, pending.xml only stores information about an unfinished update or install. Deleting it after stopping the related services will not harm the OS.
Can disabling my antivirus temporarily help?
Some security programs monitor MSI activity and can mistakenly keep the installer flagged as busy. Temporarily disabling the antivirus while you stop the service and clear pending files often resolves the conflict.
Will a clean boot affect my personal files?
No. A clean boot only disables non‑Microsoft services and startup items. It does not delete user data, but you should remember to re‑enable the items after troubleshooting.
Do I need to reinstall Windows if the error keeps coming back?
Reinstalling Windows is a last resort. In‑place upgrade or repairing the installer registration usually fixes the problem without a full reinstall.
Why does the error appear when I try to install a driver?
Driver packages also use the MSI engine. If a previous driver install was interrupted (for example, by a forced shutdown), the same lock remains. The steps above clear that lock for any MSI‑based installation.