Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

note: In 2008 you will have to start procexp.exe with "Administrator rights" in order to kill processes.

How to cleanup the winsxs folder

The winsxs folder in c:\windows can be really big, the only way to cleanup is using the microsoft command line tools :

Windows Server 2003 : VSP1CLEAN.exe
Windows Server 2008 : COMPCLN.exe
Windows 7 and Server 2008 R2 : DISM.exe

I will explain the last one here.  Start you’re command prompt As Administrator.

Usage:

Code Block
themeEmacs
languagepowershell
dism /online /cleanup-image /spsuperseded

You can also run these commands :

 

Code Block
themeEmacs
languagepowershell
Takeown /f %windir%\winsxs\ManifestCache\*
Icacls %windir%\winsxs\ManifestCache\* /GRANT administrators:F
Del /q %windir%\winsxs\ManifestCache\*

 

Notes

How to remove ghost nics on vmware machines that have been P2Ved

...