Skip to content

How to Delete Windows.old Folder in Windows 11

Richard
Written by
Richard
Nov 21, 2021 Updated Jun 19, 2026 3 min read
How to Send and Receive Text Messages on Windows 11

You can delete the Windows.old folder in Windows 11 to reclaim significant storage space on your C: drive.

The Windows.old folder is a backup created automatically after a major Windows upgrade, such as moving from Windows 10 to Windows 11. It contains your previous operating system files, allowing you to roll back if necessary within a 10-day window.

After this period, or if you are confident you won’t revert, you can safely remove it. This folder can often be tens of gigabytes, sometimes exceeding 20GB, making its removal a popular disk cleanup task.

⚡ Quick Answer

Use Disk Cleanup by searching for it, clicking “Cleanup system files,” checking “Previous Windows installation(s),” and clicking OK. Alternatively, use Command Prompt with administrator privileges and type `rd /s /q 📁C:\Windows.old`.

Why delete the Windows.old folder?

The Windows.old folder stores files from your previous Windows version after an upgrade, but it can take up a lot of space, often 10GB to 30GB.

What happens when done?

Deleting the Windows.old folder frees up significant disk space, but it permanently removes your ability to easily revert to your previous Windows version through the Settings menu.

WARNING: Deleting the Windows.old folder is permanent. Once removed, you cannot use the built-in Windows recovery feature to roll back to your previous version of the operating system. Ensure your computer is running perfectly before proceeding.

Using the Disk Cleanup tool is the recommended and safest method to delete the Windows.old folder, as Windows handles the process properly.

  1. Click the Start button and search for Disk Cleanup.
  2. Select the app from the list.
  3. Click the Cleanup System Files button. (Requires administrator privileges).
  4. The tool will scan your drive. This might take a few minutes.
  5. Look for Previous Windows installation(s) in the list.
  6. Check the box and click OK.
windows 11 windows.old folder delete
Deleting Windows.old folder in Windows 11
windows 11 delete windows.old folder
Disk Cleanup app interface in Windows 11
disk cleanup app in windows 11
Clean up system files button in Windows 11
windows 11 clean up system files button
Previous Windows installation files in Windows 11
windows 11 previous windows installation
Prompt to delete Windows.old folder in Disk Cleanup
windows 11 disk cleanup prompt to delete
Confirmation to delete previous Windows installation in Windows 11
windows 11 confirm delete windows installation

How to use Command Prompt for stubborn files

If the Windows.old folder won’t delete using regular methods, you can use the Command Prompt to force its removal with a specific command.

  1. Search for cmd in the Start menu.
  2. Right-click it and select Run as administrator.
  3. Type the following command and press Enter:
    💻Code
    rd /s /q C:\Windows.old

This command tells Windows to remove the directory (rd) with all subfolders (/s) and without asking for confirmation (/q).

Automating cleanup with Storage Sense

You can let Windows handle this automatically. Go to Settings > System > Storage > Storage Sense. Turn it on, and Windows will automatically delete temporary files and old installation folders when you are low on space.

Troubleshooting: What if it still won’t delete?

If you still see the folder, run the System File Checker. Open Command Prompt as an administrator and type

💻Code
sfc /scannow

to repair any system file issues that might be preventing the deletion. For more details, visit the official Microsoft Support page.

Summary

The Windows.old folder holds files from your previous Windows version, and you can delete it to free up storage space if you don’t plan to revert.

Is it safe to delete Windows.old?

Yes, it is perfectly safe to delete the Windows.old folder if you are satisfied with your current Windows 11 installation. It contains temporary system files from your previous OS. Deleting it simply removes the ability to easily roll back your system to the older version using built-in Windows tools.

Why can’t I delete the Windows.old folder?

You may encounter permission errors because Windows.old is a protected system folder. Even with administrator privileges, Windows may block manual deletion to prevent accidental data loss. If you cannot delete it via File Explorer, use the Disk Cleanup tool or the Command Prompt method to force the removal.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable or Disable Storage Sense in Windows 11
Windows How to Enable or Disable Storage Sense in Windows 11
How to Use Storage Sense in Windows 11
Windows How to Use Storage Sense in Windows 11
How to Add or Remove Favorites in Windows 11 File Explorer
Windows How to Add or Remove Favorites in Windows 11 File Explorer
How to Remove Home Folder from Windows 11 File Explorer
Windows How to Remove Home Folder from Windows 11 File Explorer

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *

Exit mobile version