Jump to content

Recommended Posts

Posted

Windows update are on in my master image. I have no idea why they are off after sysprep is run on a machine that is being deployed.

Is there a way I can turn them on with a time of 6:00a.m, via the setupcomplete.cmd?


Posted

There are the registry tweaks to apply the configuration you want.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
"AUOptions"=dword:00000004
"IncludeRecommendedUpdates"=dword:00000001
"ElevateNonAdmins"=dword:00000001
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000006
"NoAutoUpdate"=dword:00000000
"AutoInstallMinorUpdates"=dword:00000000
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000000
"RebootRelaunchTimeout"=dword:00000030
"RebootRelaunchTimeoutEnabled"=dword:00000001

Posted (edited)

are you sure you have saved those tweaks in a file .reg and them execute them as administrator in a running windows, tehy work well.

in an unattended windows, you can add a command (regedit /s %path%\file.reg) in the file setupcomplete.cmd, they will work well as those regsistry tweaks are for HKLM. anyway i attach you the .reg file

AutoUpdate.reg

Edited by Major
Posted

are you sure you have saved those tweaks in a file .reg and them execute them as administrator in a running windows, tehy work well.

in an unattended windows, you can add a command (regedit /s %path%\file.reg) in the file setupcomplete.cmd, they will work well as those regsistry tweaks are for HKLM. anyway i attach you the .reg file

Thank you SIR! IT WORKS GREAT.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...