Windows.old directory stores all the previous Windows version system files, and will be used should you decide to uninstall and downgrade from new version of Windows to rollback to old Windows version. But if you have decided that stay in new Windows version, and won’t go back to previous version of Windows, it’s safe to delete the Windows.old folder and recover the disk space used.
It’s not recommended to delete and remove Windows.old folder through Windows Explorer or File Explorer and Command Prompt due to permission errors. Windows does provide an easy way to clean and delete Windows.old, as shown in this tutorial.
- Search and run Disk Cleanup or CleanMgr.
- Select the drive that you want to clean up from the drop down list. The drive should be the one that Windows.old folder is located, which is almost always been the system drive of C:\. Hit OK to continue.
- After a while, the Disk Cleanup for (Drive Letter:) window is opened. Click or tap on Clean up system files button.
- Select the same drive to perform the clean up in the Drive Selection dialog box.
- After a while, a new Disk Cleanup for (Drive Letter:) window is opened. Select (tick) the Previous Windows Installation(s) from the list, which tells the Disk Cleanup to delete the Windows.old folder data.
Select also other options to clean up if you wish, then hit OK.
- You may need to repeat the steps above several times to make the cleanup and removal of Windows.old work properly.
That’s it. The Windows.old folder is now removed and disk space is recovered.
If the above method does not work, i.e. Windows.old folder remains, try the following trick instead:
- Open a Command Prompt with elevated privileges.
- Run the following commands (assuming C:\Windows.old is the location of previous Windows installation):
cd C:\ attrib -r -a -s -h C:\Windows.old /S /D takeown /f Windows.old /a /r rd /s /q Windows.old
Or alternatively,
- Open a Command Prompt with elevated privileges.
- Issue the following command to restart and boot to the Advanced Boot Options Menu.
C:\Windows\System32\shutdown.exe /r /o /f /t 0
- In the Advanced Boot Options Menu, go to Troubleshoot -> Advanced options -> Command Prompt.
- Run the following commands to find out the correct drive letter:
diskpart DISKPART> list volume DISKPART> exit
- Run the following command to delete the Windows.old folder (assuming C:\Windows.old is the location of previous Windows installation):
rd /s /q "C:\Windows.old"