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.old folder or large temporary setup files on C:
  • 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

  1. 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.
  2. Remove old setup files with Storage settings

    • Press Win + I to 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.
  3. 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.
  4. 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 + X and 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.
  5. 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.
  6. 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.

Download Kudu Free →

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →