Remove update uninstall folders in Windows 7 and free disk space

Written by - 0 comments

Published on - Listed in Windows


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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   OpenSearch   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder