Skip to main content

Worklet to Uninstall KB5000802 & KB5000808 Causing Print/Blue Screen Issue


Tony-Automox

As of right now, here’s the current issue: When users of Kyocera, Ricoh, Zebra printers (among others) attempt to print, they are instead presented with an irritating Blue Screen of Death (BSOD).
https://hothardware.com/news/this-windows-10-update-is-causing-bsod-crashes-simply-by-printing

If you wish to remove these from your environment, and keep them out:

First, go to the Automox software page, search for each KB, then click on the Actions button and choose Ignore for each result. This should keep them from getting re-installed again.

Second, run this worklet on them.

Evaluation:

# Look for the following KBs.  If found, Exit 1 remediate
$UpdateArray = @('KB5000802','KB5000808')

foreach ($UpdateVersion in $UpdateArray) {
    $SearchUpdates = Get-HotFix -Id "$UpdateVersion" -ErrorAction SilentlyContinue
    if ($SearchUpdates) {
        Exit 1
    }
}

# KBs not found
Exit 0

Remediation:

# "19041.867.1.8" = KB5000802
# "18362.1440.1.7" = KB5000808

$UpdateArray = @("19041.867.1.8", "18362.1440.1.7")

foreach ($UpdateVersion in $UpdateArray) {
    $SearchUpdates = dism /online /get-packages | findstr "Package_for" | findstr "$UpdateVersion"  
    if ($SearchUpdates) {
        $update = $SearchUpdates.split(":")[1].replace(" ", "")
        write-host ("Update found: " + $update + "; ")
        dism /Online /Remove-Package /PackageName:$update /quiet /norestart
    } else {
        write-host ("Update " + $UpdateVersion + " not found.")
    }
}

2 replies

  • Novice
  • 23 replies
  • March 11, 2021

Is there a way to add in the Automox reboot notification to this?


Tony-Automox
  • Author
  • Automox Employee
  • 35 replies
  • March 11, 2021

You could probably just add the remediation from worklet:

to the bottom of the remediation of this worklet.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings