Skip to main content
Question

Worklet to remove Microsoft KB5009543 - Security, KB5008876 - Windows update

  • February 16, 2022
  • 3 replies
  • 202 views

Hello Im somewhat new to Automox, 

ive been tasksed with creating a policy to remove Microsoft KB5009543 security update and Microsoft KB5008876 - Windows update. these are causing major issues at my organization breaking our VPN. 

i found this script, but not sure on how to create the worklet ( ive never done this before) 

  1. Get-WindowsPackage -Online | ?{$_.ReleaseType -like "*Update*"} | `
  2. ForEach-Object {Get-WindowsPackage -Online -PackageName $_.PackageName} | `
  3. Where-Object {$_.Description -like "*KB5009543*"} | Remove-WindowsPackage -Online -NoRestart

the tickets keep rolling in for remote employees! 

please help! 

3 replies

  • 0 replies
  • February 17, 2022

Hey, @paulmarler -- you’ve got the script, so throwing a worklet together should be pretty easy. The important part to remember is that a worklet will need to be split into “evaluation code” and “remediation code” - sometimes, “remediation” just means removing a package or uninstalling an app. I think this will be a good starting point for you: https://support.automox.com/help/system-management-creating-a-worklet

Also, from our very own @Peter-Automox via the Community Insight Hub: 

I hope that helps, but let us know if you have any questions - if you can’t get the worklet written, we can assist with that too. 


  • Author
  • Rookie
  • 1 reply
  • February 17, 2022

thank you @ChadMc-Automox !! i appriciate your help! 


  • 0 replies
  • February 17, 2022

Glad to help! Also, our Customer Success team may have already sent this over, but they did find a pre-existing worklet to accomplish this: https://console.automox.com/manage/worklet-catalog/9 -- if @BrandonG-Automox didn’t reach out already, there you go! 


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