<

Procedures to cleanup WINSXS folder in Windows Server 2008 R2

Published on
11,152 Points
7,352 Views
3 Endorsements
Last Modified:
Jinish KG
I'm Jinish KG,  Total 10 years of experience in IT field.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Applied operating systems

Windows Server 2008 R2

Prerequisites

It is not recommended to delete the winsxs folder directly. Deleting this folder may cause BSOD error and OS may crash permanently.


  • Download and install the windows update pack Windows6.1-KB2852386-v2-x64.msu from the below link
              http://download.microsoft.com/download/2/A/3/2A3FD850-E45F-47D4-AFF8-8048333CBA7D/Windows6.1-KB2852386-v2-x64.msu
 

  • Disk cleanup utility
                     The disk cleanup utility will be added by installing the Desktop Experience feature from windows server manager

Procedures

          Please follow the below procedures to install the desktop Experience feature

Step1:  Go to server manager and select add features.

Step2: Select desktop Experience feature from the list and follow the installation.

Step3: When installing Desktop Experience, it does require additional features. Select the button to Add Required Features and click next and then install.



66157.1.jpg


7571.2.png



57473.3.jpg

 



Step 4: A reboot is required to finalize the install.



80111.4.jpg

 



After reboot, a Disk Cleanup option can be found under Start --> All Programs --> Accessories --> System Tools:


67184.5.jpg



On launch, Disk Cleanup prompts for the drive you want to clean up

Select the C drive and click OK.



5280.6.jpg


\
Several options are provided for cleanup, including a new option for Windows Update Cleanup:

 6253.7.jpg
 

After preceding the cleanup a reboot is required to complete the cleanup process.

Here we will show one of the examples from the server USCHCVMP365AD08.us.na.ey.net.

We faced a disk space issue on this server which is showing only 19.1 MB free space on it C drive.



6472.winsxs1.PNG


 
 

While checking the Winsxs folder, it consumes around 12 GB of size as shown in the below image


8304.winsxs2.PNG

 



While using the disk cleanup it showing around 4.71 GB of Windows update cleanup data.


5355.winsxs3.PNG



After rebooting the server the winsxs folder consumed space reduced to 7.32 GB from 12 GB


5127.winsxs5.PNG
3
Comment
Author:Jinish KG
0 Comments

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Join & Write a Comment

This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month