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?
Thanks!!
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?
Thanks!!
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
philologist
14 years ago
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.
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<SkipMachineOOBE>false</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
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.
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<SkipMachineOOBE>false</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
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
14 years ago
Posted by:
netty2667
14 years ago
Posted by:
cserrins
13 years ago
Change
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
to
<SkipMachineOOBE>false</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
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.
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
to
<SkipMachineOOBE>false</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
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.
so that the conversation will remain readable.