Windows Server 2008R2 - Disk Clean does not work

-2

I have a Windows 2008R2 server and my WinSXS folder is 12 GB. I have tried to use the Disk Clean up utility and that does not cleanup the WINSXS foder. Any ideas !!!

I have rebooted this machine several times. Have run the Disk Cleanup utiltity as ADMIN and have the most current Windows updates.

Has anyone encountered this problem !!

user25304

Posted 2015-04-09T17:47:10.670

Reputation: 11

1The files contained in the WinSxS are required to repair any damage to your system files, if you remove them, and in the future those system files are damaged they cannot be repaired by using DISM and SFC in the future. The actual size of WinSxS is a great deal smaller then since that likely is just you right clicking and selecting properties on the folder. – Ramhound – 2015-04-09T17:50:06.300

if Windows shows "error during configuring updates" during reboot, copy the folder C:\Windows\logs\CBS to the desktop, create a zip, share the zip and post a link here. – magicandre1981 – 2015-04-09T17:55:16.780

Thank you all. I understand the risks but this is my test Virtual Machine so I am willing to lose it all if needed. – user25304 – 2015-04-09T17:57:13.197

I've never understood why everyone seems to think that winSxS is anything but OS files, and thus something they can/should remove. – Frank Thomas – 2015-04-09T18:32:37.657

have you uploaded the logs? – magicandre1981 – 2015-04-10T17:36:43.993

Answers

0

Use this command:

DISM /online /Cleanup-Image /SpSuperseded

Or you can try clean with cleanmgr.exe

More info here

PCpractico

Posted 2015-04-09T17:47:10.670

Reputation: 101

Thank you - I have read that article and followed all the steps ... however I the WINSXS folder does not get cleaned up. I will try the above command you sent and see if that works – user25304 – 2015-04-09T18:00:14.050

The command isn't a Windows Server 2008R2 - ( Windows 7 ) command though so that won't work. The author already used what is described in the article you linked to. – Ramhound – 2015-04-09T18:02:39.510

This is the especific versión in the article: "Windows 7 Service Pack 1 or Windows Server 2008 R2 Service Pack 1" – PCpractico – 2015-04-09T18:11:57.710

Disk cleanup already has that feature built in to it, this option does the same thing as DISM /online /Cleanup-Image /SpSuperseded

– Scott Chamberlain – 2015-04-09T19:54:09.530