Windows Update in Unattended Install (Windows 10)
I've created a Windows 7 deployment that uses KACE 2000 to install the OS and copy over files from a server location, and then a series of batch files to carry out WSUS Offline updates, installing software, and so on. I've tried implementing the same thing with Windows 10, and while most everything works, I cannot seem to get Windows Update to automatically detect and install updates. In Windows 7 you can use wuauclt.exe /detectnow /updatenow but it will not work in Windows 10. This is just a minor nuisance but nonetheless, I would still like to include it in the automated install. Any thoughts or advice would be great, thanks.
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
SMal.tmcc
8 years ago
Top Answer
from searching google that feature has been depreciated.
https://www.google.com/search?q=force+updates+windows+10&ie=utf-8&oe=utf-8#q=check+for+updates+windows+10+command+line
two links suggest powershell or vbs
https://www.google.com/search?q=force+updates+windows+10&ie=utf-8&oe=utf-8#q=check+for+updates+windows+10+command+line
two links suggest powershell or vbs
(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()
Set automaticUpdates = CreateObject("Microsoft.Update.AutoUpdate")
automaticUpdates.DetectNow()
Comments:
-
from my experience with win10 so far the updates are happening in the first couple of boots. - SMal.tmcc 8 years ago
-
https://social.technet.microsoft.com/Forums/en-US/c18a95b4-2235-49e8-a1b2-fb47bd0111ab/run-windows-update-from-commandline-manually-cause-update-check?forum=win10itprogeneral - SMal.tmcc 8 years ago