Windows – How to force Windows 7 to always select “Work Network” when connecting to a new network

networkingwindows 7windows-networking

We are deploying computers offsite to several sites in small workgroup (i.e. non-domain) environments. The computers have a single network card and no loopback adapter.

The problem is that when we ship the PCs and they connect to their new network, Windows defaults to Public Network and wants me to set the Network Location. Until this is set we cannot connect remotely.

What I need is a way to force it to always select "Work Network".

I tried this: Force network location to "Work network" in Windows 7 Home edition (with a reboot after applying) but the Network And Sharing Center still shows "Public Network" when I connect to a new network.

Also, to repeatedly test this, how do I delete the list of networks already connected to, to force Windows to re-analyze a network connection the next time I connect?

Using Windows 7 Professional SP1

Best Answer

To answer the second part of the OPs question, I am able to clear all of the "learned" and collected networks that Windows is holding on to. I created this .reg file so that I can test the Public/Private defaulting. This will purge ALL of the learned networks so you can test.

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Managed]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Managed]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged]

In case you're going blind staring at this: it's deleting three keys and then re-creating them.

Related Question