question

TobyHarris-9880 avatar image
0 Votes"
TobyHarris-9880 asked Castorix31 commented

ms:settingswindowsupdate hidden/silent

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-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Castorix31 avatar image
0 Votes"
Castorix31 answered

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TobyHarris-9880 avatar image
0 Votes"
TobyHarris-9880 answered Castorix31 commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you test the command in the paragraph :

Deploying updates to local computers
When performing the update process on a local computer, enter the following cmdlet:

Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot

This will perform the search for missing updates for Microsoft products installed on the local computer against Microsoft Update Services, silently install them, accept any license agreements, and reboot the system automatically when completed.

0 Votes 0 ·
CarlFan-MSFT avatar image
0 Votes"
CarlFan-MSFT answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.