Should you want to merge the current network location, e.g., Network 2, into another location, say, e.g., Hotel, you can proceed as follows:
- Run the Registry Editor, as Administrator if needed, and navigate to HKLM/ Software/ Microsoft/ Windows NT/ CurrentVersion/ NetworkList.
- For safety, export the entire subree to a .reg file, so that you can always recover from unexplainable errors.
- Two keys are of interest here, Profiles and Signatures.
- Go to Signatures; there you will find two keys, Managed and Unmanaged. I assume that the network location which you want to merge into another one is unmanaged, because managed networks should not give such problems.
- Under Unmanaged you will find several keys with long hexadecimal names. Walk through them until you find the network which you want to merge into another network location, and the network location into which you want it to be merged.
- Make a note (using the Notepad) of the Description, DnsSuffix, FirstNetwork and, most importantly, ProfileGuid of the destination network location (that which will survive the merge).
- Go to the signature of the network which you want to merge, and replace the Description, DnsSuffix, FirstNetwork and, most importantly, ProfileGuid with those of the destination network.
- Navigate to HKLM/ Software/ Microsoft/ Windows NT/ CurrentVersion/ NetworkList/ Profiles and delete the profile of the merged network.
Actually, as best practice has it, you shouldn't delete it but rename it, for example by prepending (or appending) an underscore; but I'm sure you already do this by reflex, otherwise what business do you have messing with the Holy Registry? Delete it only after you have checked that everything is all right.
- Disable and then re-enable the network adapter, and check that the name and type of the network connection are set to the desired values.
P.S. If what you want is to change the type of the network, from Private to Public or vice-versa, or its name, you can delete the profile and the signature, then disable and re-enable the network adapter. Windows will find a new network and will ask you about its name and type.