ms:settingswindowsupdate hidden/silent

Toby Harris 1 Reputation point
2021-03-29T11:28:10.74+00:00

Hi, I am trying to find a way to run ms:settingswindowsupdate to check for updates and optional updates and install them, but all hidden or in the background. I know I can do this manually with check for updates, but I want to automate this process a little. I have tried usoclient but it does not seem to work outside of task manager but if I create my own task it will not work. There is probably a very easy way to do this but I am pretty useless unfortunately, I want to avoid third party software. I am working from home currently and have to keep logging in to work to make sure all updates are installed and everything is up to date. This I would think should be pretty easy but I can't believe how awkward it is proving. I really appreciate any help you can give and I'm sorry if I have posed this in the wrong place. Thanks Toby

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,705 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Castorix31 81,831 Reputation points
    2021-03-29T14:13:10.307+00:00

    You can use PowerShell to automate Windows Updates with scripts
    There are articles from Google, like : How to use PowerShell to manage Microsoft updates on Windows

    0 comments No comments

  2. Toby Harris 1 Reputation point
    2021-03-29T19:55:45.977+00:00

    Hi,

    Thanks for your reply, I've played around with PSWindowsUpdate but I can't seem to get it to work, I really wanted to try and avoid having to install something. I also want this to run hidden/silent and have not managed to do that.

    many thanks for your help with this

    Toby


  3. Carl Fan 6,836 Reputation points
    2021-03-30T08:43:55.373+00:00

    Hi,
    Welcome to Microsoft Q&A Platform.
    As far as I know, you could try to use powershell or vbs script to run check for update or install update.
    But for this issue, I suggest that you'd better post it to script forum.
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Under system setting, I consider that you could be able to use group policy to have all of your client machines auto-download and auto-install at a specified time when updates are available.
    http://support.microsoft.com/kb/328010#method1
    It is difficult to run ms:settingswindowsupdate as command to replace check for update.
    Based on my search, this batch may help you.
    https://superuser.com/questions/351937/how-do-i-force-windows-to-check-for-updates
    https://community.spiceworks.com/scripts/show/1987-script-to-run-windows-updates
    Hope this helps and please help to accept as Answer if the response is useful.
    Best Regards,
    Carl

    0 comments No comments