Avatar of Doodad Boy
Doodad Boy
Flag for Malaysia asked on

Achieve win sxs

Please advice how to cleanup or archive winsxs folder in the windows 2008 OS.
I had performed cleanmgr.exe and found there is no available file / folder / logs for the cleanup. All showed 0
Performed DISM command and found dism /online /cleanup-image /startcomponentcleanup /ResetBase this not available at the windows 2008 server.
Microsoft Legacy OSOperating SystemsMicrosoft Server OSWindows OSWindows Server 2008

Avatar of undefined
Last Comment
Hello There

8/22/2022 - Mon
Dr. Klahn

This question was asked just a few hours ago anonymously so I have no way of knowing whether you are that requester or not.  In case you are not, please see that thread:


The brief answer is "It is imprudent to tamper with the contents of that folder."

If the Disk Cleanup Tool is not present on your Server system or you cannot run a Windows Update Cleanup, leave that directory alone.  It is possible to do severe damage to Windows by tampering with the WinSxS directory.
Hello There

It's not recommended to mess up with WinSxS folder at all.
The only supported way to clean this folder is by using Disk Cleanup. To do this on WS2008, you need to install the Desktop Experience feature first, then Disk Cleanup feature becomes available.

If you need to free up some disk space, there are a few locations you can check and possibly delete:
C:\Users\ - delete an old user folders
C:\Windows\Temp and C:\Windows\Logs - delete Windows logs
C:\Windows\Software Distribution - stop Windows update service and delete the folder
C:\ProgramData\Microsoft\Windows\WER - delete Windows error log files
Run Dism.exe /online /Cleanup-Image /StartComponentCleanup
Run Dism.exe /online /Cleanup-Image /SPSuperseded
Jim Dettman (EE MVE)

You can clean-up the Winsxs folder by running Disk Clean-up in admin mode.  Find it in the menu, right click on it, select "Run as Administrator" and if it can clean up anything, it will show up in the list.


I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Hello There

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.