Freeing Up Disk Space by Deleting Old OS Files

by Barry Dysert
(last updated March 20, 2017)


If you've upgraded to Windows 10 from a previous version, Microsoft kindly left some files on your disk in case you wanted to revert back. If you have no intention of reverting back to the previous version you can safely delete these files. It's built-in to Windows 10 so you don't even need to worry about deleting the wrong files.

Right-click Start and go to Control Panel. Click on Administrative Tools, then double-click Disk Cleanup. A dialog box will appear asking you to select a disk drive. Use the drop-down menu to select the drive that contains your operating system (usually C:). Click OK. After a brief period of time you'll see the Disk Cleanup dialog box. (See Figure 1.)

Figure 1. The Disk Cleanup dialog box.

In the lower left corner, click the button that says "Clean up system files." You'll again be prompted for the drive containing your operating system, so make the same selection as you did before, and click OK. After another brief period of time you'll see an updated version of the Disk Cleanup dialog box, but now you can scroll down to find the option to check the "Previous Windows Installation(s)" check box. (See Figure 2.)

Figure 2. Deleting previous installations.

After checking the check box, click OK. You'll then be prompted to see if you're sure you want to proceed. Click the Delete Files button, and you'll soon have a bit more disk space at your disposal.

 This tip (1725) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...


Deleting All Restore Points

If a hard drive is temporarily short on space, you may choose to delete its restore points to free up some room. This tip ...

Discover More

Renaming or Deleting File Folders

Just as you can rename and delete individual files, so to can you rename and delete the folders that contain those files.

Discover More

Changing a User's Account Type

There are several different account types in Windows. This tip tells you how to change from one account type to another.

Discover More
More WindowsTips

Windows 11 Processor Requirements

Windows 11 has different processor requirements than Windows 10. How do you know if your processor will work with Windows 11?

Discover More

Using Powercfg to Export and Import a Power Scheme

You can export to a file your power schemes and then import them later on. The only caveat is that you must be running as ...

Discover More

Checking for Faulty RAM

Although it's rare for RAM to go bad, it does happen. This tip tells you how to check for faulty RAM by using the Windows ...

Discover More

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four more than 8?

2017-03-21 09:20:18


In Windows 7, the path to Disk Cleanup does not work. Simply click the Start button and in the search box type: Disk Cleanup. That will take you to the application to accomplish the same thing. Caution: If you plan to reload a past update, you may be eliminating it during Disk Cleanup. Other things you may need to get to later may also be eliminated. It's a good idea to look at what you are eliminating before you actually do it.

2017-03-20 08:48:25

Henry Noble

The ability to remove system files should have been installed as a part of Win 7 SP 1.
Take a look at this article. If it seems to apply to your setup, there are download links on the page.

2017-03-20 06:34:06

jon halsey

My WIN 7 Pro version of Disk Clean-up does not have this option:r
(see Figure 1 below)

Figure 1. 

Newest Tips

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.