Windows Update
0xC1900107 - A cleanup from a previous install is pending
0xC1900107 Microsoft name: MOSETUP_E_CLEANUP_PENDING
What it means
An earlier install left a cleanup job waiting, and a restart is needed before the upgrade can continue.
Where you see it
The Windows upgrade setup.
Likely causes
- A previous upgrade attempt left work to do.
- A restart that did not happen.
- Leftover temporary files.
Three safe steps, in order
Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.
- Restart the PC and run setup again.Related Microsoft page: Windows 10 upgrade resolution procedures
- If it remains, use Disk Cleanup, including system files, to clear temporary files.Related Microsoft page: cleanmgr command reference
- Try the update again from Windows Update.Related Microsoft page: Troubleshoot problems updating Windows
Stop and get help when…
it repeats after cleanup and restart.
Source and date
- Official Microsoft reference
- Windows upgrade resolution procedures
- More Microsoft help
- Fix Windows Update errors
- Date checked
- 24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.
Windows upgrade (setup) result code
MOSETUP_E_CLEANUP_PENDING
The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.