WINSXS folder cleanup

Ever since the release of Windows Vista, Microsoft began storing windows updates in a folder named Winsxs. Many of us can remember with XP and Windows Server 2003 when the Windows updates were stored in long GUID looking folders in the root of the Windows directory. Once in a while you’d go in there and just delete the folders to free up some disk space. However, with Windows 7, you can’t just go in the Winsxs folder and start deleting stuff, unless of course you want to completely hose your computer and reinstall Windows. Fortunately there are ways to perform a WINSXS folder cleanup in Windows 7 and more importantly in Windows Server 2008 R2. Happy cleaning!

 

Windows 7
The Windows Update Cleanup feature is built into Windows 7 so it is pretty easy.

  1. Navigate to the C:\Windows\Winsxs folder and right-click it and select Properties. Make note of the size of the folder
    winsxs1a
  2. Select Start, Run, and then type Cleanmgr. Click on Cleanmgr to run it
    winsxs1
  3. Cleanmgr will scan the C:\ partition
    winsxs2
  4. If you have multiple partitions (i.e C:\ and D:\ drives) you will need to select the drive you want to clean. If so, select the C:\
  5. Look for Windows Update Cleanup, if you don’t see it, select the System Files button
    winsxs3
  6. Cleanmgr will re-scan the C:\ partition, you will now notice the Windows Update Cleanup feature along with how much disk space will be freed up. Make sure the checkbox is selected
    winsxs4
  7. Once the cleanup is finished, you will need to manually reboot the computer for space to be freed up. It will not ask you to reboot
    winsxs8
  8. Navigate to the C:\Windows\Winsxs folder and right-click it and select Properties. Notice the size of the folder has shrunk
    winsxs9

 

Windows Server 2008 R2

  1. Make sure KB2852386 is installed on the server. This will require a reboot
  2. Install feature the Desktop Experience Feature, will need the Ink Support sub-feature
  3. This will perform a double-reboot
  4. Navigate to the C:\Windows\Winsxs folder and right-click it and select Properties. Make note of the size of the folder
  5. Once the server is back up, Start, Run, Cleanmgr
  6. If you have multiple partitions (i.e C:\ and D:\ drives) you will need to select the drive you want to clean. If so, select the C:\
  7. Look for Windows Update Cleanup, if you don’t see it, select the System Files button
  8. Cleanmgr will re-scan the C:\ partition, you will now notice the Windows Update Cleanup feature along with how much disk space will be freed up. Make sure the checkbox is selected
  9. Once the cleanup is finished, you will need to manually reboot the computer for space to be freed up. It will not ask you to reboot
  10. Navigate to the C:\Windows\Winsxs folder and right-click it and select Properties. Notice the size of the folder has shrunk

George Almeida

Welcome to my little corner of the blogosphere. I'm an Information Technology Director. I specialize in Windows operating systems, applications, servers, storage, networks and also have a technical background on the IBM iSeries platform. My only purpose for this blog is the hope that it helps someone, someday, somewhere. Any meager proceeds derived from our sponsors will be donated to charity.

You may also like...

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x