9/20/2023 0 Comments Windows update powershell![]() ![]() The script will work when a user is logged in however will require user interaction and admin rights. The update will take around 10-20 minutes to uninstall depending on your system, the /quiet /promptrestart switch does not work in Windows 10, deploy this script to your clients using your normal method i.e Microsoft Endpoint Configuration Manager (formerly SCCM) and run as SYSTEM. Write-Output "The Update was not found on this system" Write-Output "The Update was not found on this system, exiting" Write-Output "System will prompt reboot when done" $CheckUpdates = Get-Hotfix | Where-Object Since the update was released as KB5000802 and KB5000808 if on Win 10 1909, i’ve referenced both the KB numbers. The Script will check to see if the PC has the update installed, if it does, it will remove it. However if you’ve already patched your organisation it may be too late, rather than manually uninstalling the update on each machine, I’ve put together a little Powershell Script you can run on your PC’s. The easiest way is to open Windows Update and remove the offending update This command will force Windows Update to check for updates and start downloading. Type wuauclt.exe /updatenow and hit Enter. This method will work with any Windows Update you wish to remove via Powershell, simply substitute the KB number with the update you wish to remove. Follow the steps below to force Windows update with the command line: Type cmd in the search box, choose Run as administrator, and click Yes to continue. ![]() Given the latest Windows Update saga with KB50000802 causing BSOD issues when trying to print to Certain Printers, you may be looking for a quick way to remove the offending update until Microsoft provide a fix to this issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |