How to remove a windows component?

(imported topic written by SystemAdmin)

Is there a way to remove IIS from a server through BigFix?

(imported comment written by BenKus)

Hey Alfred,

Do you know how to do it from the command line? If you can find a way to do that, we can help make a straightforward Fixlet/Task.

Ben

(imported comment written by SystemAdmin)

After some research I found the following:

I can create a answer file (IIS.txt) and run “SYSOCMGR.EXE /i:%windir%\inf\sysoc.inf /u:c:\IIS.txt” from a command prompt. Contents of the answer file are simply:

Components

iis=Off

This is supposed to work, but I have been unsucessful with IIS. I can add/remove Fax Service by replacing “iis=Off” with “Fax=On” or “Fax=Off”. Can the BigFix Guru’s assist? Thank you.

This information was found here -> http://www.oreilly.com/pub/h/1165