Windows 7 settings file Network prompt, Windows Update

My Windows 7 script is working fairly well, however it is prompting to select the type of network, Home, Work, Etc, which is stalling the script.
Also, Windows Update is 'off' by default. Can anyone suggest how to modify settings file for network and Windows Update so I have a truly unattended script?

0 Comments   [ + ] Show comments

Answers (4)

Posted by: philologist 12 years ago
Red Belt
You can use an unattend.xml file with sysprep to do a lot of these things. The section you want is under the <settings pass="oobeSystem"> section.


If you use the K2000, you can create a new scripted install and have it create the answer file for you, and then steal the XML file to modify it later as you wish. Otherwise, I believe you can download and use the Windows System Image Manager.

My suspicion would be that you could also find registry entries for these, and tell your script to import a key.
Posted by: mlathrop 12 years ago
Fifth Degree Brown Belt
Thanks! Windows Update is now "on", but at first boot to desktop it is still prompting to select a network (I had already set the <NetworkLocation> to Work)
Is there any way to automate the reboot after the post install task? I am having to do it manually, in order to get to a domain logon.
Posted by: netty2667 12 years ago
Senior Yellow Belt
I have tried EVERYTHING suggested to remove the prompt to select network location - and get it everytime I deploy a Win7 image.
If you do not respond to the message it does go away and does not reappear after the next reboot.
Perhaps a WMI script to force a restart?
Posted by: cserrins 12 years ago
Red Belt




and you won't be asked for the network location anymore.

If you have to set these to true, then contact support and ask for me, I have a powershell script that will change it as a post-installation task.

edit: I had them listed backwards, sorry.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ