How to delete the Windows.old folder on Windows 10

Windows 10 delete Windows.old folder
Windows 10 delete Windows.old folder (Image credit: Future)

When you upgrade a device to a new version of Windows 10 or install an Insider Preview build, the setup process saves a copy of the previous version in the "Windows.old" folder.

This is part of the safety mechanism in case the upgrade process goes wrong. If the installation fails, the system can use the "Windows.old" folder to undo the changes. Also, if the upgrade completes successfully, the backup copy of the previous version will be kept to provide the option to roll back if the new installation starts causing issues.

Although this is a handy feature, if your device works correctly after the upgrade, you can safely delete the previous installation files to reclaim storage space.

In this how-to guide, we'll walk you through how to get rid of the "Windows.old" folder to free up several gigabytes of space to store more important files.

How to delete the Windows.old folder from Storage Sense settings

The easiest method to delete the Windows.old folder from your computer is to use the Storage Sense with these steps:

  1. Open Settings.
  2. Click on System.
  3. Click on Storage.
  4. Under the "Storage sense" section, click the "Change how we free up space automatically" option.

(Image credit: Future)
  1. Under the "Free up space now" section, check the "Delete previous version of Windows" option.

(Image credit: Future)
  1. Click the Clean now button.

Once you complete the steps, the folder with the previous installation of Windows 10 will no longer be available on your device.

How to delete the Windows.old folder from Temporary files settings

To remove the Windows.old folder from the Temporary files settings, use these steps:

  1. Open Settings.
  2. Click on System.
  3. Click on Storage.
  4. Under the "Storage sense" section, click the "Temporary files" option.

(Image credit: Future)
  1. Check the "Previous Windows installation(s)" option.

(Image credit: Future)
  1. (Optional) Clear the default selected options if you only want to remove the Windows.old folder.
  2. Click the Remove files button.

After completing the steps, the folder with the previous installation of Windows 10 will be removed, freeing up 14GB to 20GB of storage space on your primary hard drive.

How to delete the Windows.old folder from Disk Cleanup

To remove the Windows.old folder with the legacy Disk Cleanup tool on Windows 10, use these steps:

  1. Open File Explorer.
  2. Click on This PC from the left pane.
  3. Under the "Devices and drives" section, right-click the drive with the Windows 10 installation (usually the C drive) and select the Properties option.

(Image credit: Future)
  1. In the "General" tab, click the Disk Cleanup button.

(Image credit: Future)
  1. Click the "Cleanup system files" button.

(Image credit: Future)
  1. Check the "Previous Windows installation(s)" option.

(Image credit: Future)
  1. (Optional) Clear the default selected options if you only want to remove the Windows.old folder.
  2. Click the OK button.
  3. Click the Delete Files button.
  4. Click the Yes button.

Once you complete the steps, the Windows.old folder will be removed from your device.

While it's safe to delete the Windows.old folder, if you remove its contents, you will no longer be able to use the recovery options to roll back to the previous version of Windows 10. If you delete the folder and then want to roll back to the previous version, you'll need to perform a clean installation with the desired version.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.