How to: Remove Windows.old folder on Windows 10

By: Milan Stanojevic
8 minute read
fix windows 10 error 1500

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Windows 10 and some previous versions of Windows sometimes create a folder called Windows.old. This folder is usually created when you install a new version of Windows, and today we’re going to explain what does this folder do and how to remove it from Windows 10.

What is Windows.old and how to remove it from Windows 10?

When you install a new version of Windows, such as Windows 10 Anniversary Update for example, your system automatically moves your older installation to Windows.old folder. With this folder available you can easily restore the previous version of Windows if the new one isn’t working properly for you.

In addition, this folder works as a backup, so even if the installation process fails for some reason, your PC can use Windows.old folder to restore the previous version of Windows. You should also know that you can roll back to the previous version of Windows 10 days after its installation, and after that period ends, Windows.old folder will be automatically deleted from your system.

As you can see, Windows.old folder can be extremely useful since it allows you to restore the previous version of Windows, but many users want to delete this folder since it takes a lot of space on their hard drive. Keep in mind that by deleting this folder you won’t be able to revert back to the older version of Windows in case there’s any major problem. Since this folder can take 30GB or more of your hard drive space, today we’re going to show you how to safely remove it from your PC.

Fix – Remove Windows.old folder from Windows 10

Solution 1 – Use Disk Cleanup tool

Windows 10 comes with a useful little tool called Disk Cleanup that allows you to quickly free up space on your hard drive. This application will scan your hard drive partition for old or temporary files and allow you to remove them easily with a single click.

This tool also allows you to remove Windows.old folder and you can do that by following these steps:

  1. Press Windows Key + S and enter disk. Select Disk Cleanup from the menu.
    remove-windows-old-folder-windows-10-cleanup-1
  2. When Disk Cleanup tool opens you’ll need to select which drive you want to clean. Select the drive where Windows 10 is installed and click OK.
    remove-windows-old-folder-windows-10-cleanup-2
  3. Disk Cleanup tool will now scan your PC for old and temporary files. This process might take a minute or two depending on the size of your partition.
    remove-windows-old-folder-windows-10-cleanup-3
  4. Check if Previous Windows installation(s) option is available. If it is, check it and click OK. You should see a confirmation message available. Select Delete Files and wait until the previous version of Windows is removed.
    remove-windows-old-folder-windows-10-cleanup-4
  5. Optional: If Previous Windows installation(s) option isn’t available for you, click Clean up system files button and wait for the scan to complete. After that, select Previous Windows installation(s) and follow the instructions from previous step.
    remove-windows-old-folder-windows-10-cleanup-5

Another way to run Disk Cleanup is to check your hard drive partition properties from This PC. To do that, follow these steps:

For various PC problems, we recommend to use this tool.

This tool will repair most computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download and endorsed by us).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues.

  1. Open This PC.
  2. Locate your primary hard drive partition and right click it. Choose Properties from the menu.
    remove-windows-old-folder-windows-10-properties-1
  3. Go to the General tab and click the Disk Cleanup button.
    remove-windows-old-folder-windows-10-properties-2
  4. Now follow the instructions described in the steps above.

Solution 2 – Use Command Prompt

Usually the best way to delete Windows.old folder is to use Disk Cleanup tool, but if you can’t delete it by using Disk Cleanup, you might want to consider using Command Prompt. Keep in mind that Disk Cleanup is the simplest and the safest solution and you should always use it first. To delete Windows.old with Command Prompt, do the following:

  1. Press Windows Key + X to open Win+X menu and choose Command Prompt (Admin).
    remove-windows-old-folder-windows-10-cmd-1
  2. When Command Prompt opens, enter the following lines:
    • attrib -r -a -s -h C:Windows.old /S /D
    • RD /S /Q %SystemDrive%windows.old
  3. After the commands are executed, close Command Prompt and check if the Windows.old folder is removed.

Few users reported that they needed to use two extra commands before they can remove Windows.old folder from their PC. According to them, they had to use takeown /F C:Windows.old /A /R and icacls C:Windows.old /Grant Administrators:F /inheritance:e /T commands to take ownership over the Windows.old folder and remove it.

You can also remove Windows.old folder by using Command Prompt at boot. To do that, you need to start Command Prompt by following these steps:

  1. Click the Start button.
  2. Click the Power button, hold the Shift key and choose the Restart option.
    remove-windows-old-folder-windows-10-restart-1
  3. When your PC restarts, choose Troubleshoot > Advanced options.
  4. A list of options will be available. Select Command Prompt.

Now we need to determine what is your drive letter. If you use Command Prompt during the boot, it’s rather possible that your drive letter will change, so you need to use diskpart tool to find it. You can do that by following these steps:


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

  1. Enter diskpart in Command Prompt and press Enter. We have to warn you that diskpart is a powerful tool, so use extra caution while using it.
  2. Now enter list volume.
  3. List of all available partitions will now appear. Now you need to locate your drive letter. The easiest way to do that is to compare the size of available partitions. After you find the desired partition, check the Ltr column and memorize its letter. In most cases it should be D, but it might be different on your PC.
  4. Enter exit to quit diskpart tool.
  5. Now enter RD /S /Q “D:Windows.old” command and press Enter to run it. Keep in mind that you need to use the correct letter that you got in Step 3. In our case that was D, but be sure to double check it on your PC.
  6. After running the aforementioned command, Windows.old folder will be removed from your PC. Now you just need to close Command Prompt and start Windows 10 normally.

As we already mentioned, using Disk Cleanup is the safest and simplest way to remove Windows.old folder from your PC, so you should use it always over Command Prompt. If you decide to use Command Prompt from Windows 10, you’ll have to change the attributes of Windows.old folder, and that can sometimes cause certain issues so it might be better that you use Command Prompt during the boot since it doesn’t require that you change the attributes of the Windows.old folder.

Solution 3 – Use CCleaner

CCleaner is a useful tool that is designed to remove old and temporary files from your PC. Some users use it to remove Windows.old folder, and if you use CCleaner you can remove Windows.old folder by following these steps:

  1. Start CCleaner and click the Cleaner title.
  2. Select only Old Windows Installation on Windows and Applications sections. You should find this option in Advanced list.
  3. Now click the Analyze button to start the scan.
  4. You should now see how much space does the Windows.old folder take. Click Run Cleaner button and wait until CCleaner removes this folder from your PC.

Solution 4 – Change the security permissions

If you try to delete Windows.old folder manually you’ll probably see an error message saying that you lack the necessary privileges to delete this folder. You can fix this problem by following these steps:

  1. Locate Windows.old folder, right click it and choose Properties.
  2. Navigate to the Security tab and click the Advanced button.
    remove-windows-old-folder-windows-10-advanced-1
  3. Locate the Owner section and click Change.
    remove-windows-old-folder-windows-10-advanced-2
  4. Select User or Group window will now appear. In Enter the object name to select field enter Users and click Check Names. Click OK.
    remove-windows-old-folder-windows-10-advanced-3
  5. Owner section will now be changed. Check Replace owner on subcontainers and objects and Replace all child permission entries with inheritable permission entries from this object.
    remove-windows-old-folder-windows-10-advanced-4
  6. Click Apply and OK to save changes.
  7. If you get any security warnings just select Yes.

After changing the permissions you’ll be able to delete Windows.old folder without any problems. We have to mention that changing the permissions of Windows.old folder can sometimes cause issues with your Windows 10 installation, so you might want to consider using Disk Cleanup tool instead.

Solution 5 – Disable certain devices from Device Manager

According to users, they were unable to remove Windows.old folder due to some driver files that were still in use by their PC. To find and remove those files you’ll need to do the following:

  1. Locate the driver files that can’t be deleted in Windows.old directory. Usually that are SurfaceAccessoryDevice.sys, SurfaceCapacitiveHomeButton.sys, SurfaceDisplayCalibration.sys and SurfacePenDriver.sys. Keep in mind that these driver files might be different on your PC.
  2. After you find the problematic drivers, you’ll need to disable the corresponding devices from Device Manager. To do that, press Windows Key + X and choose Device Manager from the list.
    remove-windows-old-folder-windows-10-device-1
  3. When Device Manager opens, look for the devices that are related to those drivers. After you find the problematic device, right click it and choose Disable.
    remove-windows-old-folder-windows-10-device-2
  4. After disabling all the problematic devices, try to delete Windows.old again.
  5. After Windows.old folder is removed, enable the disabled devices again.

Apparently this issue appears on Surface devices, but if you experience this problem on your PC, feel free to try this solution.

Solution 6 – Use Linux Live CD

If you can’t delete Windows.old folder from your PC, you might want to consider using a Linux Live CD. Windows.old folder is protected by your system, and in order to delete it you need to change certain privileges. Obtaining the necessary privileges might not be easy for non-advanced users, and if you want to delete Windows.old folder without changing your privileges, you might want to consider using a Linux Live CD. Simply download any version of Linux and create a bootable media. After that, boot to your PC from a bootable media. After Linux starts, locate and delete Windows.old folder. After deleting the folder, remove the bootable media and restart your PC.

As you can see, Windows.old folder is extremely useful because it allows you to restore your PC after an upgrade in case anything goes wrong. Using Windows.old folder you can restore your documents and some other files even with the new version of Windows installed. As we already mentioned, Windows.old folder will be stored on your hard drive only for 10 days, so if you want to revert, be sure to do it quickly. If you’re concerned about your storage space, you can delete the Windows.old folder by using Disk Cleanup tool or by following any other solution from this article.

We recommend this tool to update all your drivers automatically

Downloading drivers manually can be a long and tedious process. Outdated drivers can often cause crashes, file loss and even permanent damage to your computer. DriverUpdater quickly and automatically downloads all the drivers that you need:

  1. Download DriverAgent Plus (100% safe download and endorsed by us).
  2. Once the download is complete start DriverUpdater.
  3. Click the Start Scan button and let the tool download all the necessary drivers.

READ ALSO:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Discussions