How to free up disk space in Windows

Technical Level : Basic

Summary

If you have been using your computer for a while, you will notice your storage device (hard disk or SSD) will begin losing space over time. Factors for this includes the data we store on the drive such as our documents, photos, music, videos and other files. Limited space is especially an issue if you are using a Ultrabook which often comes with a low capacity SSD drive. There are some common work arounds for this which includes archiving older files to an external hard disk. For some persons though, this is not an option. So whats eating up that space and how can I free it up to get back some of it? Lets find out.


Details

Instructions for this article can be applies to Windows Vista and later versions.

Windows over time will accumulate data outside of the normal types of data we store. This can include things like copies of Windows Updates, memory dump files used to diagnose and troubleshoot error messages, temporary internet files for web pages we often visit and Windows Upgrade files, commonly used to assist with installing updates for Windows. Sometimes we don't need this type of information and removing it can free up precious disk space inaddition to improving overall system performace.


Computer Explorer displaying the amount of disk space available

The above screenshot displays amount disk space I have remaining on my system drive.

Windows setup checking for available disk space.

Having enough disk space is especially important if you are performing task such as upgrading to the new Windows 10. It is one of the the first things Windows setup checks before it starts copying files. Large programs too will often require that you have enough disk space available.

Lets start.

Launch Disk Cleanup, the quickest way is this:

Press Windows key + R then type: cleanmgr.exe

Then hit Enter

Windows 7/Vista/XP > Start > All Programs > Accessories > System Tools > Disk Cleanup

Windows 8/8.1/10 > Windows key + S > type disk cleanup > hit Enter on your keyboard

Windows 10 > Start > All Apps > Windows Accessories > System Tools > Disk Cleanup

Once Disk cleanup opens, select the drive where Windows is installed if its not already.

Windows will scan your hard disk for files it can clean up.

Note some of these files too can include older installations of Windows. For example, if you upgraded from Windows 7 to Windows 10 a copy will be kept at the root of the hard disk in a folder called Windows.old. Please becareful though, this folder can actually be useful if you need to go back to your previous version of Windows for whatever reason. So be mindful before deleting it. Removing it though can significantly free up disk space.

After Disk Cleanup is finished scanning, you will see the Disk Cleanup window. This window provides a list of areas of the system you can clean up safely. Before we start cleaning up the system, you will notice appears on the window called Clean up system files. Clean it and the Disk Cleanup will run a thorough check of the system again to include every file that can be removed.

Location/Type Description Safe to Delete
Downloaded Program Files Downloaded Program Files are ActiveX controls and Java applets downloaded automatically from the Internet when you view certain pages. They are temporarily stored in the Downloaded Program Files folder on your hard disk. YES
Temporary Internet Files The Temporary Internet Files folder contains webpages stored on your hard disk for quick viewing. Your personalized settings for webpages will be left intact. Personally, I suggest you keep this if you are on a slow connection and need the basic elements of web pages you often visit to load faster. Keep It
Offline Webpages Offline pages are webpages that are stored on your computer so you can view them without being connected to the Internet. If you delete these pages now, you can still view your favorites offline later by synchronizing them. Your personalized settings for webpages will be left intact. I also recommend you leave this alone since you might be on a slow connection and need quick access to a webpage with some specific content. Keep It
Recycle Bin The Recycle Bin contains files you have deleted from your computer. These files are not permanently removed until you empty the Recycle Bin. Sometimes you might inadvertently delete a file that you didn’t intend to delete permanently, so before you empty the contents of the Recycle Bin, do a thorough check before. YES
Temporary files Programs sometimes store temporary information in the TEMP folder. Before a program closes., it usually deletes this information. You can safely delete files that have not been modified in over a week. You can view the contents of the temp directory and see if there is anything in there you might need. Open the Run Command (Windows key + R), type in %temp% > hit OK. Sometimes program installers for common applets are stored there that you can use to reinstall such as Adobe Flash for instance if you don’t want to redownload it every time. YES
Thumbnails Windows keeps a copy of all your picture, video, and document thumbnails so they can be displayed quickly when you open a folder. If you delete these thumbnails, they will be automatically recreated as needed. I don’t see any problems deleting it if its gonna be recreated, but deleting it sometimes can correct problems with previews of photos and videos. YES
Debug Dump Files When your computer experiences a system hang because of a poorly written application or device driver, Windows intelligently creates a log of what happened. This log can be used along with other logs such as System error memory dump files to help diagnose the problem when sent to Microsoft or the developer for review. Keep It
System error memory dump files Similar to the Debug Dump files, memory error dumps happen when poorly written drivers or applications crash. It is very handy for utilities built into Windows such as Troubleshooters which help in diagnosing problems that occur in Windows. Keep It

 The most common locations are Temporary files, Temporary Internet Files, Recycle Bin to name a few. Other not so common locations include the Thumbnail Cache which stores previews of your images allowing you load them faster when you open the Pictures Library or Windows Live Photo Gallery. This I do not recommend you delete for obvious purposes. Lets dig a little deeper. Disk Cleanup provides a list of areas where you can free up disk space and gain additional speed in some cases.

In addition to these common locations, Windows will also store information related to Error reporting and solution checking, leave these for diagnosis that can help resolve issues with applications or devices. Also, if you do an upgrade from Windows Vista or clean install, Windows 7 might store information related to servicing which are logs used to assist the installation of the operating system. Once you have checked these locations for clean up, click the OK button and these locations will be cleaned out.

As I noted earlier, the Windows.old folder is basically a backup of your old installation of Windows, which you can use to reinstall Windows if you decide to return to your previous installation. Also, its used as a last resort in case you didn’t backup your files and need to recover personal files and settings. The Windows.old folder can use up a considerable amount of your hard disk space. Its normally stored at the root of your hard disk where Windows 7 is installed. Before you delete it, make sure you check through the directories and ensure that everything migrated successfully to your current version of Windows.

http://notebooks.com/2010/11/09/how-to-recover-documents-music-and-email-after-upgrading-with-the-windows-old-folder/

Once you have determined what to remove, click OK then click the Delete Files button to begin.

Click Yes if you are ok with the action that will be taken.

System Restore – System Restore keeps a large collection of System Restore Points in addition to storing them in your System Images of Windows 7. A friend had recently upgraded to Windows 10 and he asked me why he was low on hard disk space. He had a 320 GB drive and only had about 70 GBs of free disk space left after doing a disk cleanup. It was then I discovered that System Protection had been configured to use about 200 GBs of  disk space to keep System Restore Points.

Configuring System Protection settings

To configure System Protection, click Start, type: System Protection, hit Enter. Under Protection Settings, click the Configure button. A dialog will appear with various settings for configuring Restoration and Disk space usage. Under the Disk space usage tab, you will see the current amount of space in use by System Restore while the Max usage displays the amount allocated. Use the Max usage knob to configure how much disk space you want to allocate to System Protection. In the above screenshot, you will see that I am using 21.05 GBs for Restore Points, while I have allocated 22.36 GBs of disk space for System Protection. You also have the option of deleting all Restore Points which stores System settings and previous versions of files. I suggest you leave this, since you will be able to individually restore changes to files you are working on. So for instance, if you edited an image and would like to restore it to a previous version or original version of the file. 

Resources:

What are the editions of Windows 10 available?

How to: Rollback to a previous version of Windows from Windows 10

Frequently Asked Questions: Windows 10

What are the editions of Windows 10 available?

How to: Do a custom installation of Windows

How to: Do a clean install of Windows 10

How to: upgrade from previous versions of Windows using Windows 10 ISO file

 

Forum Article Info


Last updated October 20, 2018 Views 97,287 Applies to:

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

even i do the disk clean up it's again showing disk full(c drive) in windows8.1
yeah! Microsoft! I don't use more than half of my apps and can't get rid of them.
did all the cleanup. couldn't find system protection? after cleanup, did it again and files that were suppose to b deleted are still there? even so, still not enough space. I have almost 7 gigs of space and the update is for 5. why won't it go????
However after disk clean up is performed and the system files are deleted on the clean up process the free space gained gets filled up once again by the same system files; how does this happen ? (Windows 7 Ultimate -32 bit and x86 based AMD Athlon tm(XP) CPU)

Thanks Shivj...appreciate the response.  I did manage to upgrade to the Windows 10 Anniversary edition by using an external drive and just moving a few apps to free up enough space without having to compress the System Files.  Good to know that, if needed down the road, I can always compress the Files if needed.

All the best,

UncleClav

In answer to uncleClav, there has been no noticeable difference in speed or operations of the OS. And yes you can reverse the compress operation.

See link.  http://www.tenforums.com/tutorials/22088-compact-os-compress-uncompress-windows-10-a.html

Hope this helps

Shivj

Is it wise to "Compress System Files"?  Does it impact the speed of the PC files?  One more question...can you reverse the compression?  In other words, un-compress the system file?

Hi, I have had this issue so first I done a clean install after formatting C drive, then changed settings to install all new apps to 3.0 flash drive.

On my 32 GB Emmc drive this resulted in having 11.3 GB free and the Apps from flash Drive worked well.

Now after September patch Tuesday updates the free space was reduced to 9.8 Gb free !!!!.

So now I have used Windows inbuilt" COMPRESS System Files" and now I have 13.1GB free and all works well.

Hope my history with this issue helps.

Best,
Andre
Windows Insider MVP
MVP-Windows and Devices for IT
twitter/adacosta
groovypost.com

I posted earlier about this a year ago, see above, and later on I was able to update my tablets without a problem due to the limited memory because I was able to select my memory chip which has much more memory than the extremely limited memory of the tablet itself.

When trying to update it will tell you that you don't have enough memory but if you look closely it should give you the option to change location to a memory chip if you installed one.  This option wasn't available when Win10 first came out but a couple months later it was.

Hopefully you are able to install a memory chip to get the option I mentioned.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.