Jump to content

Script to uninstall KB5000802?


AJK
 Share

Recommended Posts

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. 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
  • Administrators

Hi @colsen,

We've released today an update to the Windows Agent (v8.6.6) which detects the optional update released by Microsoft. It should reach your systems within 36 hours.

-Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...