Dism command in windows 2008 SP2
Ho do I run the command dism /online /cleanup-image /spsuperseded to clean up winsxs folder in windows 2008 SP2.I got message /online command works only in windows 2008 r2,and in windows 2008 sp2 it needs to be run in offline,can any one give idea how i run this command in windows 2008 sp2
April 16th, 2012 7:51am

Windows Server 2008 Service Pack 2 supports Compcln.exe http://support.microsoft.com/kb/2592038 http://www.arabitpro.com
Free Windows Admin Tool Kit Click here and download it now
April 16th, 2012 8:00am

I already run the command Compcln.exe and it did not free any space,I found in some website we can run the command dism /online /cleanup-image /spsuperseded in windows 2008 sp2 in offline mode,how do I run this command in offline mode to clean up WINSXS folder
April 17th, 2012 1:00am

Hello, Firstly, please keep in mind that WinSXS folder is an important directory that keeps the shadow copy of the important system files, which gets changed during any installation of Patches or Updates or software. With the use of WinSXS Folder all system files can be reverted back to the stage where it was before installation of Patch/Update. Hence, its not wise to wipe the WinSxS folder. Secondly, just like the warning message suggested, DISM can only be used in Windows 7 and Windows Server 2008 R2 (Not in Windows Vista or in Windows Server 2008). For Windows Server 2008 SP2 or Windows Vista SP2, there is tool called Windows Component Clean Tool (COMPCLN.EXE). Refer to: Windows Component Clean Tool http://technet.microsoft.com/en-us/library/dd351467(v=WS.10).aspx#BKMK_COMPCLN Windows Vista or Windows Server 2008 Service Pack 1: VSP1CLN.EXE Windows Vista or Windows Server 2008 Service Pack 2: Compcln.exe Windows 7 or Windows Server 2008 R2 Service Pack 1: DISM /online /Cleanup-Image /SpSuperseded or Disk Cleanup Wizard (cleanmgr.exe) Thanks Zhang
Free Windows Admin Tool Kit Click here and download it now
April 17th, 2012 1:19am

So basically there is NO SOLUTION to free up disk space in non-R2 2008 servers. "Compcln" will only clean service packs. The space issue is coming from all 150+ patches which happen AFTER sp2 for 2008. Microsoft, this is an issue that should be escalated. Please provide DISM /online support for non R2 2008 server.
October 4th, 2012 12:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics