Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Remove update uninstall folders in Windows 7 and free disk space
Saturday - Apr 11th 2015 - by - (0 comments)

For a while now, my wife complains about her laptop having no disk space anymore. I finally took the time and checked what can be done with the exception of deleting pictures and documents...

In the good ol' Windows XP days, I used to regularly delete the so-called NtUninstall subfolders in C:\Windows. They were used to be able to uninstall a previously installed Windows update.

Now in the Windows 7 (yes, 7, not 8! I still need anger management whenever I have to use a Win 8 system!) days, I was looking for these NtUninstall folders but they were gone. Thanks to an excellent article on Howtogeek, I now know that the equivalent of the NtUninstall folders in Windows 7 is the C:\Windows\winsxs folder. However this folder is not only used by the Windows updates, it is also used by Windows itself. So just randomly deleting subfolders in it is likely to cause major system issues.

Windows winsxs subfolders

However the folder is still huge as there were many Windows updates accumulated during the years which eat up disk space.

winsxs folder size 

Luckily Microsoft has back-ported a feature from Windows 8 (so there are actually good things in Win 8 it seems!) to Windows 7. Instead of manually trying to find out which subfolders could be deleted in C:\Windows\winsxs, the "Windows Update Cleanup" can be launched. This is part of the "Disk Cleanup" tool, which can be launched by right-clicking the C: drive and go into the properties:

Disk Cleanup Windows C drive Disk Cleanup for Windows C

By default, only temporary files are listed. As you can see this would only free a few hundred MB. By clicking on "Clean up system files" (requires Administrator privileges), Windows also allows to delete the previous updates:

Windows Update Cleanup Windows 7

No surprise - the Windows Update Cleanup actually allows to free most of the total amount of disk space to gain. Compared to the full folder size of C:\Windows\winsxs, the Windows Update Cleanup process is able to delete almost 40% out of the winsxs folder. 

Note: To actually see the freed disk space on the C: drive, a Windows restart was necessary.

 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6938 Days
until Death of Computers
Why?