You can update scripted or deployments with Microsoft updates via a power shell module.

You can install this ahead in your golden image and just run the last 2 lines of the PS script

Go to

download the Windows Update PowerShell Module

To install as post tasks:

Create an AutoIT script to xcopy the files to the PS modules directory:

RunWait(@ComSpec & " /c " & "xcopy.exe .\source\*.* C:\Windows\System32\WindowsPowerShell\v1.0\Modules /s /q /y","",@SW_MINIMIZE)

Zip that along with the files to install

I created a task group for the 2 items

First task copies the files

The second task installs and starts the windows updates. (check reboot required for this task)

The powershell script uppdate1.ps1: (line 1 installs; line2 adds Microsoft-updates as well; line 3 executes the job)

Import-Module PSWindowsUpdate
Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d -Confirm:$false
Get-WUInstall -MicrosoftUpdate -IgnoreUserInput -AcceptAll -IgnoreReboot -Verbose

Here are the tasks within my custom deployment ( note I run the update after I install Office to get those updates also.)