Blogs

Windows Update not Working in Golden Image

Print Friendly, PDF & Email
  1. Expand HKEY_LOCAL_MACHINE > SOFTWARE > Policies > Microsoft > Windows > WindowsUpdate > AU
  2. Right click and add a the following keys (without the quotes):
    "NoAutoUpdate"=dword:00000000
    "AUOptions"=dword:00000003
    "AllowMUUpdateService"=dword:00000001
    "IncludeRecommendedUpdates"=dword:00000001

wuauclt /detectnow /updatenow

The above mentioned command will work in all versions of Windows including Windows 7 and Windows Server 2008 R2. But if you are using Windows 10 or Windows Server 2016, you can use UsoClient command which has more options than wuauclt. You can run UsoClient with the following switches:

StartScan – Start checking for updates

StartDownload – Start downloading updates

StartInstall – Start installing downloaded updates

RestartDevice – Restart Windows after updates are installed

ScanInstallWait – Check for updates, download available updates and install them

https://www.werts.nl