Skip to content
Follow
Windows

How to Delete Windows.old Folder in Windows 11

Richard
Written by
Richard
Nov 21, 2021 Updated Sep 15, 2026 4 min read
How to Send and Receive Text Messages on Windows 11
How to Send and Receive Text Messages on Windows 11

The Windows.old folder stores your old operating system files after a major upgrade so you can roll back within 10 days, but it often wastes over 20 gigabytes of disk space on your C: drive.

Advertisement

Windows automatically deletes this folder after 10 days, but you can remove it manually right now to reclaim your drive space using built-in Windows tools.

⚡ 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`.

Advertisement

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 tens of gigabytes of storage space on your hard drive. Once you delete Windows.old, you permanently lose the ability to roll back to your previous operating system build through the normal settings menu. You should only remove this directory when you are completely certain your current Windows 11 installation works properly and you do not need any old system files.

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.

Disk Cleanup (a built-in tool that removes temporary and unneeded files) is the safest way to delete the Windows.old folder because Windows handles the permission checks and system file removal for you. You just need to open the tool, click the button to scan system files, check the box for previous Windows installations, and let the program clear out the extra data automatically without causing system errors.

  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.old folder in Windows 11 File Explorer
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

Command Prompt (a text-based tool used to run advanced instructions) forces your computer to delete the Windows.old folder when standard methods fail due to locked permissions. You can bypass normal file locks by opening the command window with administrator rights and running a specific removal command that strips away protection attributes and erases the entire directory at once.

Advertisement
  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:
    ⚠️WarningThe "rd /s /q C:\Windows.old" command instructs Windows to delete the Windows.old folder.

    This command removes the folder and all its contents without needing your confirmation, making the process quick.

Automating cleanup with Storage Sense

Let Windows handle this automatically. Go to Settings System Storage Storage Sense (a feature that automatically frees up disk space). Turn it on, and Windows will delete temporary files and old installation folders when storage runs low.

Troubleshooting: What if it still won't delete?

System File Checker (a diagnostic tool that finds and replaces broken system files) fixes underlying operating system errors that often prevent you from getting rid of the Windows.old folder. When stubborn files refuse to disappear, running this scan repairs corrupted Windows components so your system finally lets you clear away the leftover upgrade data for good.

sfc /scannow

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

Advertisement

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 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 removes the ability to roll back your system to the older version using built-in Windows tools.

Can I delete a Windows old folder in C?

Windows.old is safe to delete from your C drive if your computer runs well and you do not need to downgrade your operating system. Windows creates this folder automatically during major updates to store a backup of your old system files in case something goes wrong. Removing it safely reclaims a massive amount of storage space that your computer no longer needs to function properly.

Was this guide helpful?

📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
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.

3197 articles → Twitter
Advertisement

📚 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 *