MSFN Forum: how to hide "select network location" window? - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to hide "select network location" window?

#1 User is offline   cloferba 

  • Member
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 25-April 08

Posted 12 May 2010 - 01:28 PM

hello!

its any way to hide this assistant after install my unattended W7?
Posted Image


#2 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 942
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

Posted 12 May 2010 - 01:41 PM

Easiest way is to specify a network location in your XML.

<OOBE>
<NetworkLocation>Home</NetworkLocation>
</OOBE>

But in case you prefer not to, there is another method. Try running this VBScript from oobeSystem > RunAsynchronous to kill it.

Set WshShell = Wscript.CreateObject("WScript.Shell")
Do While Not Wshshell.AppActivate ("Establecer ubicacion de Red")
Wscript.sleep 1000
Loop
Wshshell.AppActivate "Establecer ubicacion de Red"
Wshshell.SendKeys "%{F4}"


Original source

#3 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,219
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 12 May 2010 - 01:42 PM

This was discussed previously here, and a solution (well, workaround) was found:

http://www.msfn.org/...k-location-bug/

#4 User is offline   santac 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 07-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 May 2010 - 04:02 PM

easiest way is to set a GPO to:

Computer Configuration\Windows Settings\Security Settings\Network List Manager Policies\All Networks. Change Network Location to "User cannot change location"

#5 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 13 September 2010 - 11:54 AM

View PostMrJinje, on 12 May 2010 - 01:41 PM, said:

But in case you prefer not to, there is another method. Try running this VBScript from oobeSystem > RunAsynchronous to kill it.

Set WshShell = Wscript.CreateObject("WScript.Shell")
Do While Not Wshshell.AppActivate ("Establecer ubicacion de Red")
Wscript.sleep 1000
Loop
Wshshell.AppActivate "Establecer ubicacion de Red"
Wshshell.SendKeys "%{F4}"


Original source

Having read the blog posting, I still don't know how to import the <RunAsynchronous> section with the WSIM: Microsoft's tool only suggests it for windowsPE, but not under oobeSystem. Any ideas or expertise on how to do this?

And what about the <Path> attribute, i.e. where to put this vbs script within the installation directory structure?

Thanks in advance,
Mikka

Edit:
Instead of oobeSystem it seems specialize will do. But same problem here: How to refer back to the file?

This post has been edited by Mikka: 13 September 2010 - 12:52 PM


#6 User is offline   RTK999 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 08-December 07
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 13 September 2010 - 04:53 PM

View PostMrJinje, on 12 May 2010 - 01:41 PM, said:

Easiest way is to specify a network location in your XML.

<OOBE>
<NetworkLocation>Home</NetworkLocation>
</OOBE>



Original source


but some reason even put <NetworkLocation>Home</NetworkLocation> windows launch the select network pop up but if you put
<NetworkLocation>Other</NetworkLocation> windows dont launch the select network well this work for me if you have a home network or work you can adjust settings in control panel after first logon.

#7 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 14 September 2010 - 06:47 AM

View PostRTK999, on 13 September 2010 - 04:53 PM, said:

but some reason even put <NetworkLocation>Home</NetworkLocation> windows launch the select network pop up but if you put <NetworkLocation>Other</NetworkLocation> windows dont launch the select network well this work for me if you have a home network or work you can adjust settings in control panel after first logon.


I tried it with every option, the windows shows up anytime.

#8 User is offline   RTK999 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 08-December 07
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 September 2010 - 05:54 PM

View PostMikka, on 14 September 2010 - 06:47 AM, said:

View PostRTK999, on 13 September 2010 - 04:53 PM, said:

but some reason even put <NetworkLocation>Home</NetworkLocation> windows launch the select network pop up but if you put <NetworkLocation>Other</NetworkLocation> windows dont launch the select network well this work for me if you have a home network or work you can adjust settings in control panel after first logon.


I tried it with every option, the windows shows up anytime.

this is my code in OOBE.
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <NetworkLocation>Other</NetworkLocation>
        <ProtectYourPC>3</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      </OOBE>



and the select pop up never showed.
if it doesnt work should be something wrong in unattend.xml <NetworkLocation>Other</NetworkLocation> skip the network selection for sure.

#9 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 15 September 2010 - 10:27 AM

View PostRTK999, on 14 September 2010 - 05:54 PM, said:

this is my code in OOBE.
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <NetworkLocation>Other</NetworkLocation>
        <ProtectYourPC>3</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      </OOBE>



and the select pop up never showed.
if it doesnt work should be something wrong in unattend.xml <NetworkLocation>Other</NetworkLocation> skip the network selection for sure.

I was made aware of this misconception and tried it explicitely with both <NetworkLocation>Other</NetworkLocation> and <ProtectYourPC>3</ProtectYourPC>. I had the friggin window showing up again, no difference to Work/2, Home/1.
(If I omit the attribute <SkipMachineOOBE>, the "select network location" window won't appear, instead I'm nagged for entering data for a new user account which I don't want either as it breaks my unattended installation.)

Edit: Attached latest Autounattend.xml

Attached File(s)


This post has been edited by Mikka: 15 September 2010 - 10:30 AM


#10 User is offline   RTK999 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 08-December 07
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2010 - 11:14 AM

View PostMikka, on 15 September 2010 - 10:27 AM, said:

View PostRTK999, on 14 September 2010 - 05:54 PM, said:

this is my code in OOBE.
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <NetworkLocation>Other</NetworkLocation>
        <ProtectYourPC>3</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      </OOBE>



and the select pop up never showed.
if it doesnt work should be something wrong in unattend.xml <NetworkLocation>Other</NetworkLocation> skip the network selection for sure.

I was made aware of this misconception and tried it explicitely with both <NetworkLocation>Other</NetworkLocation> and <ProtectYourPC>3</ProtectYourPC>. I had the friggin window showing up again, no difference to Work/2, Home/1.
(If I omit the attribute <SkipMachineOOBE>, the "select network location" window won't appear, instead I'm nagged for entering data for a new user account which I don't want either as it breaks my unattended installation.)

Edit: Attached latest Autounattend.xml

<SkipUserOOBE> and <SkipMachineOOBE> are deprecated by microsoft so there is no need to use them still works but you can use others methods to avoid user creation like in localccounts create a new user:

      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <NetworkLocation>Other</NetworkLocation>
        <ProtectYourPC>3</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      </OOBE>



and this in useraccounts:

      <UserAccounts>
	  <AdministratorPassword>
          <Value>password-value</Value>
          </AdministratorPassword>
	<LocalAccounts>
	<LocalAccount wcm:action="add">
         <Password>
            <Value>password-value</Value>
         </Password>
         <Description>testing</Description>
         <DisplayName>test-user</DisplayName>
         <Group>Administrators</Group>
         <Name>test-user</Name>
      </LocalAccount>
        </LocalAccounts>
      </UserAccounts>


try this.
you can create a script to delete or disable any user you create in localaccounts after install windows if you dont want any other accounts.

#11 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 16 September 2010 - 03:20 AM

If you install this on Virtual machine it will show that window anyhow. I have also tried making unattended.xml with rt7lite, but when you will install it on actual machine it will not pop-up.

I have observed it personally.

#12 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 16 September 2010 - 10:00 AM

No kidding? Microsoft established this splendid behaviour specially for VM users? What a bunch of morons ...
What a disgrace!

#13 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 September 2010 - 10:19 AM

Hello!
I haven't this problem with Sun VirtualBox!
Regards

#14 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 16 September 2010 - 02:51 PM

View Postmyselfidem, on 16 September 2010 - 10:19 AM, said:

Hello!
I haven't this problem with Sun VirtualBox!
Regards

yeah virtual box is better but it doesn't support aero effect.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy