PDF download Download Article
Delete your old Windows installation to quickly free up space on your hard drive
PDF download Download Article

If you recently upgraded to a new version of Windows, you may have noticed a huge folder called Windows.old on your hard drive. This folder contains a copy of the previous version of Windows in case you need to roll back your upgrade. Windows.old is automatically deleted 10 days after the upgrade (or 28 days for older versions), but you can delete it early if you're running low on disk space and are 100% sure you won't want to go back. This wikiHow article will show you 3 easy ways to remove Windows.old: Using the Storage area of your Settings, the Disk Cleanup tool, and the Command Prompt.

Things You Should Know

  • On Windows 10 and 11, go to Settings > System > Storage > Temporary Files, select "Previous versions of Windows," and click "Remove Files."
  • You can use Disk Cleanup on any version of Windows (from Windows 7 through 11) to delete your previous Windows installation.
  • If you can't delete Windows.old or have multiple Windows.old folders, you can forcefully delete them using the Command Prompt.
Method 1
Method 1 of 3:

Using Storage Settings (Windows 10 & 11)

PDF download Download Article
  1. You can do this easily by clicking Settings or the gear icon in your Windows Start menu.
    • On both Windows 10 and 11, Windows.old and other previous operating system files are deleted automatically 10 days after the upgrade.[1]
    • You can delete Windows.old early to reclaim several gigabytes of disk space. Just keep in mind that you won't be able to downgrade to your previous Windows version if you change your mind.
  2. If you're using Windows 11, it'll be at the top of the left panel. On Windows 10, you'll see the system icon in the main panel.[2]
    Advertisement
  3. Once you click this option, Windows will take a few moments to analyze your hard drive(s) and display how you're utilizing your disk space.[3]
  4. You'll see this under your main hard drive.[4]
  5. If you've recently upgraded, you'll see this option in the list.[5]
    • If you don't see this option but still have a Windows.old folder, use this method to delete it.
    • Remove the checkmarks from any other file types that you don't want to delete. For example, if you don't want to delete the files in your Downloads folder, remove the checkmark from the "Downloads" box.
  6. You'll see this button above the list. A confirmation pop-up will appear.
  7. This removes all selected files, including the Windows.old folder that contains your previous version of Windows.
  8. Advertisement
Method 2
Method 2 of 3:

Using Disk Cleanup

PDF download Download Article
  1. This utility will delete the Windows.old folder on any version of Windows, including Windows 7. There are a couple of different ways you can open it.
    • On Windows 8, 10, and 11, you can press Windows key + S, type cleanup, and then click Disk Cleanup.
    • You can also press Windows key + R, type cleanmgr, and press Enter.
    • Another way is to open the Control Panel, select System and Security, click Administrative Tools, then select Disk Cleanup.
  2. This is usually the C: drive.
  3. You may be prompted for the administrator password.
  4. Disk Cleanup will scan the drive again.
  5. You can also check the boxes for any other types of files on the list you want to remove.
    • If you don't want to delete any other files, remove the checkmarks from other selected options now.
    • If you don't see this option but still have a Windows.old folder, see this method.
  6. This deletes Windows.old and all previous operating system files from your PC.[6]
  7. Advertisement
Method 3
Method 3 of 3:

Using the Command Prompt

PDF download Download Article
  1. If you've already tried to delete Windows.old (or have multiple Windows.old files ending with different numbers) and were unsuccessful, you can use the Command Prompt to permanently delete the files.
  2. To do this, type cmd into the Windows search bar, right-click Command prompt, then select Run as Administrator.
  3. To do this, type takeown /F "C:\Windows.old" /A /R /D Y and press Enter.[7]
    • If your Windows.old folder is not on the C drive, replace C: with the correct drive letter.
  4. To do this, type icacls "C:\Windows.old" /grant *S-1-5-32-544:F /T /C /Q and press Enter.[8]
  5. Type RD /S /Q "C:\Windows.old" and press Enter to permanently delete the folder.
  6. If you have multiple Windows.old folders, run all of these commands for each of them. For example, takeown /F "C:\Windows.old.000" /A /R /D Y.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I remove an old Windows?
    ッRosie~Dosieッ
    Community Answer
    You can't remove the old Windows system, but you can upgrade to a newer version if you wish.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Clear up Unnecessary Files on Your PC Remove Unneeded & Unused Files in Windows 10 & 11
Clean Drive C for More SpaceClean Drive C for More Space
Clear Temp Files in Windows 10 Delete Temporary Files in Windows 10: A Quick Guide
Free up Disk Space (Windows 7) Use Disk Cleanup on Windows 7 (+ More Tricks to Free Up Space)
Delete Junk Files in Windows 10 Remove Junk Files From a Windows 10 PC
Wipe a Hard DriveWipe a Hard Drive
Get More Storage on PC14 Simple Ways to Get More Storage Space on Your PC
Clear Windows Update CacheClear the Windows Update Cache to Fix Problems & Reclaim Space
Delete Temporary Files and Delete Prefetch Files from Your ComputerDelete Temporary Files and Delete Prefetch Files from Your Computer
Open the Storage Settings in Windows 10 Open Storage Settings in Windows 10
Delete Temporary Files in Windows 7 Find and Delete Temporary Files in Windows 7
Delete Files That Cannot Be DeletedDelete Files That Cannot Be Deleted
Uninstall Windows 7 from Your ComputerUninstall Windows 7 from Your Computer
Format and Reinstall Windows2 Easy Ways to Completely Format and Reinstall Windows
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 260,369 times.
How helpful is this?
Co-authors: 12
Updated: June 30, 2025
Views: 260,369
Categories: Windows
Thanks to all authors for creating a page that has been read 260,369 times.

Reader Success Stories

  • Sean

    Sean

    Jan 16, 2017

    "It was an easy and streamlined process. Even the guys at Microsoft forums did a shoddy job at it."
Share your story

Is this article up to date?

Advertisement