/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Best Practice to Uninstall an App Patch from K1000

09/29/2017 1330 views
I have a scenario where an app patch (MS-KB4011039) went out to users and is affecting Office users negatively. This is the first time we've needed to roll back a patch, and it looks like app patches cannot be rolled back. WUSA, DISM, WMIC, other methods I used to use to uninstall patches and updates seem to not be able to find the update, although it's installed, has reg entries for the GUID, and shows up in the Installed Patches interface.

So, we're left with msiexec msiremovepatch in a kscript. My question is, is there a better method, and, specific to this case, there seems to be 4 registered packages installed for this KB. if I batch 

Msiexec /I {packageguid1} MSIPATCHREMOVE={patchguid} /qb
Msiexec /I {packageguid2} MSIPATCHREMOVE={patchguid} /qb
Msiexec /I {packageguid3} MSIPATCHREMOVE={patchguid} /qb
Msiexec /I {packageguid4} MSIPATCHREMOVE={patchguid} /qb

Each works fine independently, but still prompts if an office app is open, and only seems to handle the first instance then stops. Can anyone assist in a best practice of uninstalling app patches when a bad patch goes out through Kace? A Quest KB addresses this, but only in a basic way (use the command above in a batch, in a kscript). I'm looking for details on adjusting the batch to handle multiple patches, and without stopping on error.

Thanks in advance! Apologies if I wasn't clear on this, still getting used to managing patches with the K1000!

2 Comments   [ + ] Show comments

Comments

  • The method you mentioned seems to be first one on this Microsoft KB article as well:

    https://msdn.microsoft.com/en-us/library/windows/desktop/aa372104(v=vs.85).aspx

    There are others on that link, but they look more complex, to me at least..
  • I also had issues with this patch with a group of users and a specific application. I ended up manually uninstalling from their machines because I could never get the automated uninstaller to work correctly. It would run, complete successfully, but would not remove the patch.

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ