This tutorial will show you how to manually delete the Windows.old folder in the root directory of the Windows drive in Windows 11.
When you upgrade to Windows 11 from Windows 10, repair install Windows 11, custom install Windows 11, or update to a new version of Windows 11 (ex: Windows Update), a copy of the previous installation is saved to the Windows.old folder in the root directory of the Windows 11 drive as a backup. This backup will allow you to be able to go back to the previous Windows for up to a 10 days after updating or upgrading to Windows 11 if needed.
After 10 days, the Windows.old folder for your previous version of Windows will be automatically deleted from your PC by default.
If it’s been fewer than 10 days, you can manually delete the Windows.old folder to free up drive space now instead of waiting for it to automatically get deleted after 10 days.
If you delete the Windows.old folder, this can't be undone (you won't be able to go back to the previous Windows).
Reference:
Delete your previous version of Windows - Microsoft Support
- Option One: Delete Windows.old Folder in Settings
- Option Two: Delete Windows.old Folder in Disk Cleanup
- Option Three: Delete Windows.old Folder in Command Prompt
- Option Four: Delete Windows.old Folder in Command Prompt at Boot
EXAMPLE: Windows.old folder
You must be signed in as an administrator to use this option.
1 Open Settings (Win+I).
2 Click/tap on System on the left side, and click/tap on Storage on the right side. (see screenshot below)
3 Click/tap on Yes if prompted by UAC.
Starting with Windows 11 build 26100.7705 (24H2) and build 26200.7705 (25H2), to help ensure that only authorized Windows users can access system files, Windows now displays a User Account Control (UAC) prompt when you open Storage settings (Settings > System > Storage).
Starting with Windows 11 build 26100.8514 (RP 24H2), and build 26200.8514 (RP 25H2), Microsoft updated Settings > System > Storage, so rather than seeing a UAC prompt immediately when you go to the page, you’ll only see it when going to view temporary files.
4 Click/tap on Temporary files. (see screenshot below)
5 Check Previous Windows installation(s), and click/tap on the Remove files button. (see screenshot below)
6 Click/tap on Continue to confirm. (see screenshot below)
7 When finished, you can close Settings if you like.
You must be signed in as an administrator to use this option.
1 Open Disk Cleanup (cleanmgr.exe).
2 If you have more than one drive on your PC, select the Windows "C" drive, and click/tap on OK. (see screenshot below)
3 Click/tap on the Clean up system files button. (see screenshot below)
4 If you have more than one drive on your PC, select the Windows "C" drive again, and click/tap on OK. (see screenshot below)
5 Check Previous Windows installation(s), and click/tap on OK. (see screenshot below)
6 Click/tap on Delete Files to confirm. (see screenshot below)
7 Click/tap on Yes to confirm to delete the previous Windows. (see screenshot below)
8 When Disk Cleanup finishes, the C:\Windows.old folder will be deleted. (see screenshot below)
You must be signed in as an administrator to use this option.
1 Open Windows Terminal (Admin), and select Command Prompt.
2 Copy and paste the command below into Windows Terminal (Admin), and press Enter. (see screenshot below)
takeown /F "C:\Windows.old" /A /R /D YThis command will change the owner of the "C:\Windows.old" folder to the administrators group.
3 Copy and paste the command below into Windows Terminal (Admin), and press Enter.
icacls "C:\Windows.old" /grant *S-1-5-32-544:F /T /C /QThis command will grant administrators full control access of the "C:\Windows.old" folder.
4 Copy and paste the command below into Windows Terminal (Admin), and press Enter.
RD /S /Q "C:\Windows.old"This command will delete the "C:\Windows.old" folder and its contents.
1 Open a command prompt at boot.
2 Perform the following steps to find and verify the Windows drive letter: (see screenshot below)
The Windows drive letter may not always be C: at boot like it is while Windows is started.
- Type
diskpartinto the command prompt at boot, and press Enter. - Type
list volumeinto the command prompt at boot, and press Enter. - From the listed volumes, look for and verify the drive letter (ex: "C") of your Windows 11 drive.
- Type
exitinto the command prompt at boot, and press Enter.
3 Type the command below into the command prompt at boot, and press Enter. (see screenshot below step 4)
rd /s /q "<drive letter>:Windows.old"Substitute <drive letter> in the command above with the actual Windows drive letter (ex: "C") from step 2.
For example: rd /s /q "C:Windows.old"
4 Close (X) the command prompt at boot. (see screenshot below)
5 Click/tap on Continue to exit and continue to Windows 11. (see screenshot below)
That's it,
Shawn Brink













