PDQ.com mobilePDQ.com desktop

How to Uninstall KB3097877 (Fix)

Shane CorellianShane Corellian

As many of you know Microsoft released a patch that killed Outlook among other major issues.

While they have since re-released the faulty KB many of our users have asked us how they can uninstall this and other KBs across their enterprise. As a result we have added a special “Uninstall KB3097877” package to

our Package Library

.If you PDQ Deploy installed, and a Pro or Enterprise license, you can import it directly into PDQ Deploy

here (Uninstall KB3097877 package)

.This package has two steps which are exclusive to each other.

Step 1 will initiate a KB uninstall on Windows 7, 8x, 2008R2 and 2012x.

Windows 10 did not receive this patch so it has been removed from the Conditions tab. In our testing we found something odd. All of our computers (except for one) required that this KB be removed twice. As a result we simply call the uninstall two times in this step. What the hell, it works. We’ll scratch our heads about it later. Here is the body of Step 1 (which is a Command step).

@REM Uninstall for this KB often required twice
%SYSTEMROOT%\System32\Wusa.exe /uninstall /kb:3097877 /quiet /norestart
%SYSTEMROOT%\System32\Wusa.exe /uninstall /kb:3097877 /quiet /norestart

Also, make sure to add following Return Codes to your Success Codes field.


Step 2 will initiate a KB uninstall on Vista and 2008.

Don’t forget to click on the Conditions tab and set the appropriate OSes for your steps.Since Wusa.exe does not have an


parameter we had to go back to using


. It’s been a long time since I had to use that. I had to dig through some old scripts that I had written around the time God made dirt before I remembered how to do it. Anyway, here is the command of Step 2.

FORFILES /P %WINDIR%\servicing\Packages /M *3097877*.mum /C "cmd /c start /w pkgmgr /up:@fname /norestart"

Note: This will not prevent the KB3097877 from being installed, it will only uninstall the KB.

Don't miss the next post!

Using PowerShell to Install Printers

When installing printers, we will need to do the four things; Add Driver to the Store, Install the Driver, Create Printer Port, and Install the Printer