Jump to content
Pulseway 9.14 🔥

Featured Replies

Posted

I'm trying to run just a simple wusa /uninstall /kb:5000802 script in a task but the task just hangs forever and never makes progress on the machines. I don't have too much experience running any type of scripting through an RMM so any help would be greatly appreciated. 

  • Author

Came across this which seems to work if anyone else is having the same issues still: 

# "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 result found: " + $update )
        dism /Online /Remove-Package /PackageName:$update /quiet /norestart
    } else {
        write-host ("Update " + $UpdateVersion + " not found.")
    }
}
exit 0

Perhaps this could help,

This may prevent it from being pushed out in the future.

Assuming Microsoft will release a permanent fix soon.

Under Patch Management select Policies you can edit your policy under OS Rules by adding two new rules then move them to the top of your list.

  • If Name contains kb:5000802 then Don't Install
  • If Name contains kb:5000808 then Don't Install

 

Please view the attached screenshot.

 

 

 

 

 

kb5000802.PNG.3f0dee50e6618739f1023bce862f9cff.PNG

  • 2 weeks later...

Hello, does anyone know how to trigger the optional update to fix this issue?  I've tried changing my Policies to contain the KB number and allow and install but it hasn't triggered the update.  

Create an account or sign in to comment