DISM.EXE – Cleanup your machine (Windows Side By Side – winsxs folder)

The dism.exe is primarily used for servicing a windows environment. I primarily use it to get rid of the windows side by side (winsxs) feature. As it takes up too much disk space. But dism.exe can be used in various manner.

The base syntax for DISM is:
DISM.exe {/image:<path_to_image> | /online} [dism_options] {servicing_command} [<servicing_argument>]

Location and files stored in this directory (sample):

 

 

 

 

 

 

 

 

 

 

 

And the command to be issued under Win2k8 is: