Asked on Super User by Ξένη Γήινος, 5 years ago. No reply there for at least a week.
How to automate Windows Update with PowerShell?
Why I want to do this : When Windows Update ran without warning, hogged resources and rendered my computer nearly unusable for a long time, I had used: net stop wuauserv wmic service where name= TrustedInstaller call stopservice taskkill /f /im TiWorker.exe And met serious consequence(update failed and kept being installed upon (re)boot and kept being rolled back), however it is important to keep my computer up to date for security. What I want to achieve Schedule a time to automatically scan, download and install updates and prevent unscheduled auto-update, only install updates while I am not
This question is one of 1 report of the same problem:
How to automate Windows Update with PowerShell?
Nobody has answered it yet, here or anywhere.
Related problems
Question by Ξένη Γήινος on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.