Thursday, January 11, 2018

Windows Server 2008 R2: Procedures to cleanup WINSXS folder

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.
  • 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.
















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





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

Accessories --> System Tools:





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

Select the C drive and click OK.


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

Cleanup:


 


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 were faced a disk space issue on this server which is showing only 19.1 MB free space

 on its C drive.





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





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





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


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Procedure to clearing the ConfigMgr (SCCM) client local cache (CCM cache) -Resolving Disk space isssue

Essentially the client cache is a temporary download location for software, applications and software updates that are deployed to a clie...