How to Remove Old Windows Setup Files
Clean old Windows setup files after upgrades and free disk space with Kudu’s cleanup tools.
By Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
Old Windows setup files are usually left behind after a major Windows update, feature upgrade, or reinstall. Windows keeps these files in folders like Windows.old so you can roll back to the previous version if something goes wrong. If you do not need that rollback option anymore, the files can sit on your drive for days or weeks and take up a large amount of space. In some cases, cleanup does not happen automatically because Storage Sense is off or Disk Cleanup has not been run.
Common Symptoms
- Your system drive is low on space after a Windows update
- You see a
Windows.oldfolder or large temporary setup files onC: - Windows warns that your disk is almost full
- Disk Cleanup shows items like Previous Windows installation(s)
- Your PC feels harder to maintain because storage keeps filling up
How to Fix It Manually
-
Check how much space old setup files are using
- Open File Explorer with
Win + E. - Select This PC from the left side.
- Look at your Local Disk (C:) free space.
- If you recently upgraded Windows and space dropped sharply, old setup files are a likely cause.
- Open File Explorer with
-
Remove old setup files with Storage settings
- Press
Win + Ito open Settings. - Go to System > Storage.
- Click Temporary files.
- Let Windows scan the drive.
- Look for entries such as Previous Windows installation(s), Windows upgrade log files, or Temporary Windows installation files.
- Check the boxes for the items you want to remove.
- Click Remove files.
- Press
-
Use Disk Cleanup if the files do not appear in Settings
- Press
Win + S, type Disk Cleanup, and open it. - Select drive C: and click OK.
- Click Clean up system files.
- Select drive C: again if prompted.
- In the list, check Previous Windows installation(s).
- You can also check Temporary Windows installation files and Windows Update Cleanup if available.
- Click OK, then click Delete Files.
- Press
-
Delete the Windows.old folder only if cleanup tools missed it
- Open File Explorer and go to
C:\. - If you see Windows.old, do not try to delete it normally first.
- Press
Win + Xand choose Terminal (Admin) or Command Prompt (Admin). - Run this command:
RD /S /Q C:\Windows.old - If the folder is already gone, you will see an error saying it cannot be found, which is fine.
- Open File Explorer and go to
-
Turn on automatic cleanup to prevent it from building up again
- Open Settings with
Win + I. - Go to System > Storage.
- Turn on Storage Sense.
- Click Storage Sense and choose how often Windows should clean temporary files automatically.
- Open Settings with
-
Restart and confirm the space was recovered
- Restart your PC.
- Open This PC again and check free space on C:.
- If several gigabytes were recovered, the cleanup worked.
Fix It Automatically with Kudu
Kudu can scan your PC for old Windows setup files, leftover upgrade data, and other storage-wasting junk without making you hunt through multiple Windows menus. It gives you a faster way to free space safely, especially after major updates, and helps keep your system clean over time.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Remove Old Driver Package Files on Windows
Delete outdated driver package files on Windows and free up storage with Kudu’s cleanup tools.
How to Remove Old Windows Update Files
Delete leftover Windows update files and reclaim disk space safely with Kudu’s cleanup and optimization tools.
How to Remove Windows Cache Files
Clean Windows cache files safely and reclaim storage while reducing clutter that can slow down your PC with Kudu.
How to Remove Crash Dump Files on Windows
Delete old crash dump files on Windows and reclaim storage space with Kudu’s cleanup features.