Quick Script: Windows 10 KB5000802/KB5000808 Removal

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!

Leave a Reply

Your email address will not be published. Required fields are marked *