Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uninstalling the Patch...

Status
Not open for further replies.

mnt25

IS-IT--Management
Sep 10, 2003
50
US
Hey Everyone,

I am aware that software update uninstallation is not supported "out of the box" when using the Distribute Software Update Wizard.

I recently ran accross the Patch Management SMS 2003 Solution Accelerator Guide which indicated high level steps regarding uninstalling.

I guess I am looking for the technical details of making this work. I have prepared various uninstall .bat scripts for patch's that support uninstallation but they all failed using SMS. They were successfull when I ran the script on a physical machine.

Does anyone have any guidance on the below:?

"Some of the software updates released by Microsoft provide an uninstall path, whereas others do not.

To uninstall a software update using SMS, you need to know the uninstall command. Microsoft updates generally place a reference into the registry, including the uninstall command when an uninstall is possible. To uninstall a software update, do the following:
œ Create an SMS package and script that retrieve this information from the registry using a new advertisement.
œ Create the associated collection rules based on the information received from the registry above. Typically, you can use the software update inventory data as a collection rule, unless the software update does not provide scan tool detection. Without this, you might need a custom script or change to the SMS_def.mof to obtain the needed targeting details.
œ Create an SMS package containing the script that will run the uninstall command. Be aware of any command-line options needed to perform an unattended uninstall.
œ Distribute this package the same way you would deploy the release, by using the SMS advertisement procedures."

Thanks,
Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top