Skip to main content
Commonmark migration
Source Link

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

![Set Network Location][1]Set Network Location

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also.

Edit: I'm looking to avoid Any user interaction in this. I want something that can be set before syspreping or run as a command on first logon. [1]: https://i.sstatic.net/Tgvt4.png

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

![Set Network Location][1]

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also.

Edit: I'm looking to avoid Any user interaction in this. I want something that can be set before syspreping or run as a command on first logon. [1]: https://i.sstatic.net/Tgvt4.png

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

Set Network Location

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also.

Edit: I'm looking to avoid Any user interaction in this. I want something that can be set before syspreping or run as a command on first logon.

added 155 characters in body
Source Link
Joe Taylor
  • 13.6k
  • 7
  • 53
  • 71

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

![Set Network Location][1]

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also.

Edit: I'm looking to avoid Any user interaction in this. I want something that can be set before syspreping or run as a command on first logon. [1]: https://i.sstatic.net/Tgvt4.png

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

![Set Network Location][1]

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also. [1]: https://i.sstatic.net/Tgvt4.png

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

![Set Network Location][1]

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also.

Edit: I'm looking to avoid Any user interaction in this. I want something that can be set before syspreping or run as a command on first logon. [1]: https://i.sstatic.net/Tgvt4.png

Source Link
Joe Taylor
  • 13.6k
  • 7
  • 53
  • 71

Can I set "Treat all wireless networks as public" before i even connect to one

When connecting to a Wireless network in a fresh Windows 7 installation you are treated to the following:

![Set Network Location][1]

Is there a way to tell Windows not to ever display this notification and treat all networks as public by default. perhaps in local Group Policy or Local Security policy. I've had a look but can't see anything.

Another way round the problem would be to specify the type of network when adding it from a script. We currently use a .bat file containing the following:

netsh wlan add profile filename="filename.xml"
netsh wlan connect wirelessname

If there is a way to specify the type of network location in Netsh - I don't think there is - then this would solve the problem also. [1]: https://i.sstatic.net/Tgvt4.png