none
Need to mass uninstall KB4517211 but wusa.exe in PsExec is throwing error code 87. RRS feed

  • Question

  • Hi, I need to mass uninstall KB4517211 so the Print Spooler service stops crashing in jscript.dll.

    The following command errors out:

    .\PsExec.exe -s \\computername wusa.exe /uninstall /kb:4517211 /quiet /norestart

    PsExec v2.11 - Execute processes remotely
    Copyright (C) 2001-2014 Mark Russinovich
    Sysinternals - www.sysinternals.com


    wusa.exe exited on computername with error code 87.

    If I do not use the /quiet switch, the command appears to run , but it never ends.  Your left with this indefinately, which means if you supply a txt file to PsExec, it will never move on to the next hostname.

    PS D:\> .\PsExec.exe -s \\computername wusa.exe /uninstall /kb:4517211 /norestart /log

    PsExec v2.11 - Execute processes remotely
    Copyright (C) 2001-2014 Mark Russinovich
    Sysinternals - www.sysinternals.com

    _

    I tried the /log flag but I'm not sure where the log file is going.

    How can I mass uninstall an update.  We already declined it in WSUS so no further download and installations would occur.

    Friday, October 4, 2019 2:05 PM

All replies

  • The printer problem is now fixed by Microsoft - see https://support.microsoft.com/en-us/help/4524147/windows-10-update-kb4524147. Its available via WSUS, Windows update and Windows update catalog.

    Therefore there is no need to uninstall this fix.

    Friday, October 4, 2019 5:49 PM
  • No, KB4524147 on Windows 10 1903 x64 did NOT fix the issue.

    Spooler service still hoving around 17- 20% cpu usage at idle, and constantly bombarding the Event Logs about crashing in jscript.dll. 

    The fix, was to remove KB4517211 AND on my test machine KB4524147.  I ensured that update was also declined in WSUS.

    So far by remote controlling on, we hit up most of the problem pc's.

    Friday, October 4, 2019 6:12 PM
  • Can you try running "wusa.exe" via cmd shell (remote), like the following command.

    PsExec.exe -d -s \\<computername> cmd /c "wusa.exe" /uninstall /kb:4517211 /quiet /norestart

    -d for psexec means "Don't wait for process to terminate (non-interactive"

    Sorry, I just have no environment to test it.

    Friday, October 4, 2019 7:58 PM
  • That appears to run but it never seems to uninstall the KB.

    I can wait two hours later and do a PowerShell query on that machine and it still lists it as installed.

    Friday, October 4, 2019 9:16 PM
  • After a reboot of the machine, the Query gives the same result? I ask because the uninstall is started with "/norestart" and the KB4517211 needs a restart to finish, I think.
    Saturday, October 5, 2019 8:22 AM
  • Hi, 

    May I know the update of your problem? 

    If you think the answer is helpful, please mark it as a reply. 

    Best regards. 


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, October 9, 2019 6:22 AM
  • We just manually uninstall that update using the gui on the machine physically with remote control software like Dameware, VNC, LogMein, etc..

    There is a new update that came out October 8th that supposedly fixes the issue with spooler service crashing in jscript.dll.  I tested it on my machine and I was able to print.  So I think we will just push this update out via WSUS.

    Updates released October 8th, 2019 are solving the print issue 

    OS version

    Resolving KB

    1903 / 19H1

    4517389

    1809 \ RS5 \ Windows Server 2019

    4519338

    1803 \ RS4

    4520008

    1709 \ RS3

    4520004

    1703 / RS2

    4520010

    1607 / RS1 / Windows Server 2016

    4519998

    Windows 10 RTM

    4520011

    Windows 8.1 / WS 2012 R2 Monthly Rollup

    4520005

    Windows 8.1 / WS 2012 R2 Security-only

    4519990

    WS 2012 Monthly Rollup

    4520007

    WS 2012 Security-only

    4519985

    Windows 7 / W2K8 R2 Monthly Rollup

    4519976

    Windows 7 / W2K8 R2 Security-only

    4520003

    Windows Server 2008 SP2 Monthly Rollup

    4520002

    Windows Server 2008 SP2  Security-only

    4520009

    • Proposed as answer by kjstech10 Thursday, October 10, 2019 10:02 PM
    Thursday, October 10, 2019 10:01 PM
  • Hi, 

    Was your issue resolved? 

    If you need any assistance, feel free to let us know. 

    Best regards. 


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, October 11, 2019 8:24 AM
  • For your information: in the meantime I did some tests with virtual machine and found out, that the "/quiet" parameter isn't supported anymore with the /uninstall /kb:XXXXXX option, see the snapshot (sorry, German version) of wusa /?:

    Sunday, October 13, 2019 8:58 PM