Video Screencast Help

Windows 7 Patch Uninstallation

Created: 16 Apr 2013 | 7 comments
Vikram_sharma's picture

Hi All

 

Can someone please let me know how to create a script for uninstallation of patches from windows 7 ( 32 bit and 64 bit) and this needs to be done through altiris. I am looking out for a solution that can be implemented through altiris. Please Suggest.

 

Thanks

Vikram

Operating Systems:

Comments 7 CommentsJump to latest comment

Sachin Sawant's picture

Go to the Job and tasks Right click on Job and task ---> New ---> Task ---> Create new Task --> Run Script

Paste the your script and save.

Vikram_sharma's picture

Thanks for your reply. I donot have previlidges to run task can only deploy script so if you can suggest a way to uninstall patch through a script that will be great.

 

Thanks

Vikram

Hasib.shaikh's picture

hello

try this

Does anyone have a script to uninstall a Windows 7 patch? We need to remove KB2553248 from a group of PCs where a particular app has an issue with the patch. The PCs are new and Kaseya was not used for initial update, so we can't do a Kaseya Rollback.

Sachin Sawant's picture

Hi Vikram,

 

Please first copy the existing registry value from regedit

enter newly copied value in below command

@echo off

msiexec.exe /x {AC76BA86-1033-0000-7760-000000000001} /qn

exit

Vikram_sharma's picture

Hi All

Will this work in Windows 7? As I am not aware of the location of uninstall strings in windows 7. Please help?

 

Regards

Vikram

Vikram_sharma's picture

Please help as this is very critical..

Thanks

Vikram

jpellet2's picture

It should work. The uninstall strings can be found in the Windows registry and they're in basically the same place as with XP.

Some apps will place their information here: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall]

 

While some 32-bit apps will place their information here: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall]

 

Search through those sections for the KB or patch name and then look for the UninstallString key which will let you know how to uninstall it. From what I've seen, most cases won't show you the silent uninstall string but with MSIs just add the /qn to suppress the dialogs.