how to prevetn sysprep to turn automatic update back on

we don't want our windows 7 laptops to have automatic updates on. We set them oof on all our masters but we we have sysprep running after making mass numbers of clones. It turns automatic updates back onand we don't want. I tried some registry settigns but that did notwork.
So please let me know if you have experienced with this problem and have the answer.
All laptops are windwos 7
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If your laptops are domain members, a much better solution is to use group policies to set your Automatic Updates options.

Curious, how do you patch your systems and prevent them from getting attacked from web site drive-by attacks, malicious email, spear phishing, etc.?
Michael PfisterCommented:
If you run sysprep with an unattend.xml file you can add your own commands in the specialize section under amd64_Microsoft-Windows-Deployment_6.1.7600.16385_neutral.


sc config wuauserv start= disabled

would disable the Windows Update service.

But I agree with kevinhsieh, better patch them!
wajhiuddinAuthor Commented:
clients are getting windows patches buy Symatntec End point, and CMS, can't  disable windows updates services becasue syamtec won't able to deliver patches , just don't want AU enable becasue while machines getting  customizations  windows updates get started whcih slows down the process.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Michael PfisterCommented:
Ok, that wasn't clear from your original post.
Then either use GPO to disable Windows Updates or add the following registy key:


you might be able to run

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /d 1 /t REG_DWORD /f

as a command in your unattend.xml
wajhiuddinAuthor Commented:
I don't see the option in local GPO to disabel AU in windows 7, is it availabe where?
I am talking about local group policy instead of domain, clients won't get domain policy untill they get customized,
wajhiuddinAuthor Commented:
: mpfister thanks it works I also need to add following retkeys please
can you please send me the command as you did for
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /d 1 /t REG_DWORD /f

Michael PfisterCommented:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v IncludeRecommendedUpdates /d 0 /t REG_DWORD /f

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v ElevateNonAdmins  /d 0 /t REG_DWORD /f

Michael PfisterCommented:
Post above looks strange, this is better:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v IncludeRecommendedUpdates /d 0 /t REG_DWORD /f

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v ElevateNonAdmins  /d 0 /t REG_DWORD /f

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wajhiuddinAuthor Commented:
mpfister ,
U R the man
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.