The Windows Club

Delete or remove Windows.old folder after Windows Upgrade in Windows 10/8/7

If you install Windows Vista on a computer which has Windows XP installed or if you perform a custom installation of Windows Vista instead of an upgrade installation, you will see a Windows.old folder on your system drive. Similarly, even if you install Windows 7 or Windows 8 by performing a custom installation and don’t format the partition during the installation process, files that were used in your previous version of Windows are stored in the Windows.old folder. In short, whenever you upgrade your Windows to a later version, you will see a new folder called Windows.old created on your disk.

Windows.old folder in Windows 10/8/7

The Windows.old folder is generated if the following conditions are true:

This Windows.old folder contains the following folders from your old Windows installation:

You can use this folder to retrieve any documents from your old installation, as follows:

Alternatively, you may simply use the Recover Personal Files Tool in Windows 8 to retrieve files from the Windows.old folder.

Delete or remove Windows.old folder

After a Windows Upgrade, by default, a scheduled task is created and will run after four weeks to delete the Windows.Old directory. But if you wish, you can also remove the Windows.old folder manually earlier. If you find that you no longer have any use for it, you may safely go ahead and delete it as follows:

Delete Windows.old folder using Disk Cleanup

Open Disk Cleanup Tool and select Files from all users on this computer. Click the Disk Cleanup tab, and then look for the Previous Windows installation(s) check box. You will need to click on Clean up system files button, in order to see this window.

Select Previous Windows installations. Click OK. This will remove the Windows.old folder.

Remove Windows.old folder using Command Prompt

Alternatively, you can also use a command prompt to delete files and folders from an earlier installation of Windows. To do this, Run ‘Command Prompt’ as administrator.

First, you will need to take ownership of this folder, so at the command prompt, type

takeown /F C:\Windows.old\* /R /A

and hit Enter.

Next, in the command prompt, type

cacls C:\Windows.old\*.* /T /grant administrators:F

and hit Enter. When you run this command, administrators are granted full rights to all files and to all folders.

Finally, type

rmdir /S /Q C:\Windows.old\

and hit Enter. This will delete the windows.old folder.

UPDATE: SpaceWalker189 says in the Comments below, you can create a BAT file as follows:

takeown /F C:\Windows.old\* /R /A
cacls C:\Windows.old\*.* /T /grant administrators:F
rmdir /S /Q C:\Windows.old\

Copy-paste this in Notepad and save it as a .bat file.

Read next: Can you delete $Windows.~BT & $Windows.~WS folders after Windows 10 upgrade?

Post ported from WVC