Simple script to check for and remove the problematic KB5000802 and KB5000808 updates that are causing issues with printers like Kyocera, Ricoh, Lexmark, etc….
$installed_patches = Get-WmiObject Win32_QuickFixEngineering if ($installed_patches.hotfixid -match "KB5000802"){ Write-Host "Patch KB5000802 Found...Uninstalling" $removal_command = "wusa.exe /uninstall /kb:5000802 /quiet /log /norestart" Invoke-Expression -Command $Removal_Command } if ($installed_patches.hotfixid -match "KB5000808"){ Write-Host "Patch KB5000808 Found...Uninstalling" $removal_command = "wusa.exe /uninstall /kb:5000808 /quiet /log /norestart" Invoke-Expression -Command $Removal_Command } if ($installed_patches.hotfixid -notmatch "KB5000802"){ Write-Host "Patch KB5000802 not found" } if ($installed_patches.hotfixid -notmatch "KB5000808"){ Write-Host "Patch KB5000808 not found" }
This will still need a reboot to take affect, but should do the trick.
This could also be modified to remove the Windows server patch KB5000822 that causes the same problem.
Hope this helps!
By day, I’m a systems admin for a medium size company in the Pacific Northwest.
By night, I’m a blogger, gamer, and all around general nerd.
If you found one of my articles useful, please consider supporting this site!
Monero: 48PxwMvbwoB2M86sHespLBKcSL9cWxrnJDmga9XshSqRP1joykRNpKkDGUz4ohhxD1bMH92poMyZWBBqkPmQ2bHpLP4EDnz
Bitcoin: bc1qc0fyze8x9lxp42x5p3zpry6f0lsr6l5pgq4jkh
Ethereum: 0xc613cBc79Ea4a84AE5538ec3321E214363305121