After a major Windows upgrade, such as moving from Windows 10 to Windows 11 or installing a new Windows 11 feature update with a full reinstall, you will often find a Windows.old folder in the root of your C: drive. It holds your previous installation so you can roll back if something goes wrong, and it is often 15 to 30 GB. Once you are happy the upgrade has worked, you can safely remove it. Here are the ways to do that on current versions of Windows 11 and Windows 10.
Before You Delete It
Windows.old is what makes the Go back option in Settings > System > Recovery work. Once it is gone, you cannot roll back to the previous version without reinstalling. Check that your apps, printers and files are all fine first. Also look inside C:\Windows.old\Users if you think anything was left behind in your old profile, and copy it out before cleaning up.
You cannot simply delete the folder in File Explorer, because the files are owned by the system. Use one of the methods below instead.
Method 1: Settings (Windows 11 and Windows 10)
- Open Settings > System > Storage.
- Click Temporary files and wait for Windows to scan.
- Tick Previous Windows installation(s). Untick anything else you want to keep, such as the Downloads folder.
- Click Remove files and confirm.
On Windows 11 you can also get there through Storage > Cleanup recommendations, which groups the biggest items for you.
Method 2: Disk Cleanup
The classic Disk Cleanup tool still works and is handy on servers or if you prefer it.
- Press Win + R, type
cleanmgrand press Enter. - Select the C: drive.
- Click Clean up system files. This second scan runs with admin rights and is the one that shows the Windows.old option.
- Tick Previous Windows installation(s) and click OK, then Delete Files.

Method 3: Command Line
If the folder will not go, or you want to script it, open an elevated Command Prompt and run:
takeown /F C:\Windows.old /R /A /D Y
icacls C:\Windows.old /grant *S-1-5-32-544:F /T /C /Q
rd /s /q C:\Windows.old
The first command gives ownership to the Administrators group, the second grants that group full control, and the third deletes the folder. Use this with care and type the path exactly.
For many machines, cleanmgr /sageset:1 lets you choose cleanup categories once, and cleanmgr /sagerun:1 runs them silently, which suits a scheduled task or a deployment script.
How Long Windows Keeps It
Windows deletes Windows.old automatically after the rollback period ends, which is 10 days by default. If you need longer to test, you can extend it from an elevated prompt before it expires:
DISM /Online /Get-OSUninstallWindow
DISM /Online /Set-OSUninstallWindow /Value:30
The value can be anything from 2 to 60 days. This only works while the Go back option is still available.
Frequently Asked Questions
Is it safe to delete Windows.old?
Yes, provided you do not want to roll back and you have copied out any files you need from the old user folders.
Why is Windows.old back after an update?
Each major feature update that reinstalls Windows creates a new one. Monthly cumulative updates do not.
Will deleting it speed up my PC?
Not directly, but freeing 20 GB or so helps if your drive was nearly full, which does slow Windows down.
Related Guides
- Windows Storage Sense: Configuring It to Actually Do Something
- How to Free up Disk Space in Windows
- Introducing DiskGeek: A Free Disk Space Analyser for Windows
- Free Windows 11 Upgrade: How to Move Off Windows 10 in 2026
Gear We Recommend
A few general tech accessories worth having alongside this.
Browse our General Tech Accessories picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.
Not up to date. Better use Storage Sense. Cleanmgr is being deprecated. https://t.co/yctowwevn1
Not up to date. Better use Storage Sense. Cleanmgr is being deprecated. https://t.co/yctowwevn1