After a failed Windows update, Disk Cleanup can remove Windows Update Cleanup, Delivery Optimization files, temporary update files, and temporary setup logs. Some files related to rollback or repair may also remain for a while, so avoid deleting recovery-related items until you no longer need them. This guide separates safer cleanup items from repair-related files and shows how to remove each one.
What failed updates leave behind
A failed update can leave four kinds of storage behind: rollback files, installer and cache leftovers, repair metadata, and older Windows installation files. Some are safe to remove once you no longer need them. Others should stay until you know the machine no longer needs a repair path.
Windows Update Cleanup is a common Disk Cleanup category for old update files, but rollback to a previous Windows version is primarily tied to Windows.old and related upgrade folders such as C:\$WINDOWS.~BT and C:\$WINDOWS.~WS. Delivery Optimization Files and temporary files can build up after repeated download attempts. System Restore files are different and can remain available for recovery.
What you should expect to see
- Windows Update Cleanup. Old update components and superseded files that Disk Cleanup can remove after they are no longer needed.
- Windows.old. The previous Windows installation folder after a feature upgrade.
- C:\$WINDOWS.~BT and C:\$WINDOWS.~WS. Leftover upgrade folders that can remain after a major update or failed upgrade.
- Delivery Optimization Files. Cached update downloads that may repeat after interrupted or failed updates.
- Temporary files. Installer remnants, cache, and similar leftovers created during the update attempt.
- System Restore data. Recovery files that can still matter if the machine needs a fallback restore point.
What you'll need
- Administrator access for a deeper Disk Cleanup pass.
- A recent backup if you may need to repair Windows.
- Enough free space to complete cleanup without interrupting the system.
- Windows 10 or Windows 11.
- If repair is needed, matching Windows installation media for the installed edition.
How to remove leftover update files
Start with Disk Cleanup because it removes temporary files, Recycle Bin contents, and old Windows update files without touching personal documents or installed apps. If the system still needs recovery items, stop before deleting those entries.
- Open Disk Cleanup. Use Start > Disk Cleanup, then choose the system drive. If you are cleaning up after a failed update, that is usually C:.
- Reveal system files. Select Clean up system files. This can surface Windows Update Cleanup and other categories that are not shown in the first pass.
- Check only safe categories. Select Temporary files, Delivery Optimization Files, and Windows Update Cleanup if you do not need older update files for recovery. Leave restore and recovery-related entries unchecked if the update failed recently.
- Remove selected items. Choose OK, then confirm deletion. Disk Cleanup removes the contents of the selected categories, not personal files or apps.
For example, a failed feature update might leave 12 GB in Windows Update Cleanup and 3 GB in Delivery Optimization Files. If you no longer need the older update files, those entries are reasonable reclaim targets.
When is it safe to delete them?
Wait until you no longer need the previous build or update-repair files before deleting recovery-related items. If the machine is unstable, keep those files until you have finished troubleshooting. Windows.old and the related upgrade folders should be treated as potentially useful until you are sure they are no longer needed.
Windows Update Cleanup is usually safe once you no longer need older update files. System Restore files are different and should be left alone if you still want a restore option.
Failed update leftovers: keep, wait, or delete
| File or artifact name | Where it appears | What it means | When it is safe to remove | What recovery option it affects |
|---|---|---|---|---|
| Windows Update Cleanup | Disk Cleanup after Clean up system files | Old update components and superseded files | When you no longer need older update files | Older update rollback or repair support |
| Windows.old | Root of the Windows drive | Previous Windows installation files | When you no longer need the prior installation | Return to the earlier Windows version |
| Delivery Optimization Files | Disk Cleanup or Storage settings | Cached update downloads and repeats | After update attempts are complete | None for normal rollback; only download cache |
| Temporary files | Disk Cleanup and Storage settings | Installer remnants, cache, and setup debris | After apps are closed and setup is done | None for normal rollback |
| System Restore / recovery files | System Protection and restore storage | Fallback restore data for repair | Only after you no longer need repair fallback | System Restore and recovery points |
| Old error logs | Diagnostic and setup log folders | Trace files from the failed update | After troubleshooting is finished | Diagnostics, not rollback |
What if Disk Cleanup does not show them?
If Disk Cleanup does not list Windows.old or update cleanup categories, the categories may not be available yet, or the system may not have created them in the usual way. In that case, check whether the folder exists manually before deleting anything, and use Settings > System > Storage > Temporary files for temporary-file cleanup instead of relying on Storage Sense scheduling.
- Run cleanup as administrator. Open Start > Disk Cleanup, then choose Run as administrator or use Clean up system files. That often reveals deeper update categories.
- Check Windows.old manually. Open File Explorer > C:\ and look for Windows.old. If it is present, leave it alone until you know you no longer need it.
- Use Storage Sense. Go to Settings > System > Storage and turn on Storage Sense. If available, open Temporary files there to clear temporary files and other standard cleanup items.
- Inspect update logs only if needed. Search for failed-install logs with Event Viewer > Windows Logs > Setup. That is for troubleshooting, not routine deletion.
A common first-time mistake is deleting Windows.old because it looks like plain junk. If the machine still needs that folder for recovery, leave it alone.
Will deleting update leftovers break rollback or repair options?
It can. Deleting Windows.old, the related upgrade folders, or restore data too early may remove options you still want for recovery. If the machine still needs a fallback path, keep those files and use Settings > System > Recovery or installation media for repair instead.
If that didn’t work, try this next
If cleanup does not free space or the failed update keeps returning, move from cache removal to repair. Start with built-in maintenance. If that fails, use installation media for an in-place repair rather than deleting more recovery material.
- Reset Windows Update caches. Open Command Prompt as administrator and run:net stop wuauserv
net stop bits
net stop cryptsvc
ren %windir%\SoftwareDistribution SoftwareDistribution.bak
ren %windir%\System32\catroot2 catroot2.bak
net start wuauserv
net start bits
net start cryptsvcThis clears common update cache corruption without removing personal files. - Review update policy settings. Check Computer Configuration > Administrative Templates > Windows Components > Windows Update > Configure Automatic Updates if the machine is managed or keeps failing in the same way.
- Use installation media for repair. If the update damage is deeper, use matching Windows 10 or Windows 11 installation media for an in-place repair from Microsoft Support.
How to keep the leftovers from piling up again
Storage Sense can clear temporary files on a schedule. That matters after repeated failed updates, because cached downloads and installer remnants tend to return if update attempts keep stalling. Keep the cleanup focused on temporary data, not recovery files.
Use Settings > System > Storage to enable Storage Sense. If you want recurring cleanup, use the built-in Storage Sense options to schedule it. The goal is to keep update cache from building up again without touching recovery data.
Common mistakes
- Deleting Windows.old too soon. Wait until you no longer need it.
- Clearing System Restore first. Save recovery points until you know the update is stable.
- Expecting Disk Cleanup to show everything. It may hide categories until you choose Clean up system files.
- Using manual deletion as the first move. Let Disk Cleanup or Storage Sense handle update cache before you touch folders by hand.
- Forgetting the repair path. If the system still fails after cleanup, move to in-place repair media instead of stripping more recovery files.
Frequently asked questions
What leftover files does Windows leave after a failed update?
Common leftovers include Windows Update Cleanup, Delivery Optimization Files, temporary installer files, setup logs, and sometimes Windows.old. Recovery data and restore points may also remain. Check Disk Cleanup > Clean up system files before removing anything that might still support recovery.
Can I safely delete Windows Update Cleanup files?
Usually yes, if you no longer need the older update files. Open Disk Cleanup, choose Clean up system files, and select Windows Update Cleanup only when you are sure you do not need it for recovery.
Why is Windows.old not showing in Disk Cleanup after an update?
It may not have been created, or Windows may not surface it in Disk Cleanup yet. Check C:\Windows.old in File Explorer. If it exists, do not remove it until you no longer need it. If it does not exist, Windows may already have removed it.
How long should I wait before removing recovery files after a Windows update?
Wait until you no longer need the rollback or repair option they support. Until then, keep Windows.old and other recovery-related files. After that, use Disk Cleanup > Clean up system files to remove the leftover update categories.
What should I remove manually if Disk Cleanup misses update leftovers?
Use Disk Cleanup or Storage Sense first. If you still need to investigate, remove only obvious temporary setup files such as C:\Windows\Temp contents or update download leftovers that are clearly tied to the failed update. Keep logs that may still help with troubleshooting, and avoid deleting Windows.old or restore-related files manually until you no longer need them.
Is it safe to use Disk Cleanup as administrator to find more update files?
Yes. Running Disk Cleanup with elevated rights or selecting Clean up system files often reveals update categories that are hidden in the basic view. That is the right way to find Windows Update Cleanup and similar entries before you decide what to remove.