Download Article
Delete your old Windows installation to quickly free up space on your hard drive
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.
Steps
-
Open your Windows Settings. 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] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- 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.
-
Click System . 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.Advertisement
-
Click Storage . 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 .
-
Click Temporary Files . You'll see this under your main hard drive.
-
Check the box next to "Previous version of Windows." If you've recently upgraded, you'll see this option in the list.
- 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.
-
Click Remove files . You'll see this button above the list. A confirmation pop-up will appear.
-
Click Continue to confirm. This removes all selected files, including the Windows.old folder that contains your previous version of Windows.
Advertisement
-
Open the Disk Cleanup utility. 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 .
-
Select the drive that contains the Windows.old folder. This is usually the C: drive.
-
Click the Clean up system files button. You may be prompted for the administrator password.
-
Select your drive again if prompted. Disk Cleanup will scan the drive again.
-
Check the "Previous Windows installation(s)" box. 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 .
-
Click OK . This deletes Windows.old and all previous operating system files from your PC. [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
Advertisement
-
Try another method first. 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.
-
Open the Command Prompt as an Administrator. To do this, type cmd into the Windows search bar, right-click Command prompt , then select Run as Administrator .
-
Take ownership of the file. To do this, type takeown /F "C:\Windows.old" /A /R /D Y and press Enter .
- If your Windows.old folder is not on the C drive, replace C: with the correct drive letter.
-
Change the permissions to allow deletion. To do this, type icacls "C:\Windows.old" /grant *S-1-5-32-544:F /T /C /Q and press Enter .
-
Use the RD command to delete Windows.old. Type RD /S /Q "C:\Windows.old" and press Enter to permanently delete the folder.
-
Repeat for additional Windows.old folders. 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 .
Advertisement
Community Q&A
Search
-
QuestionHow can I remove an old Windows?ッRosie~DosieッCommunity AnswerYou 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!
References
About This Article
Thanks to all authors for creating a page that has been read 229,314 times.
Advertisement