AutomoxAutomox

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

paulmarler
February 16, 2022 at 2:19 pm UTC
#community

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! 

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (3)

AnonymousFebruary 17, 2022
#1

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. 

paulmarlerFebruary 17, 2022
#2

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

AnonymousFebruary 17, 2022
#3

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!