• In Registry Editor, navigate to the location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

Network profilelist

 

 

 

 

 

 

 

  • When you find the correct ProfileName for your network name, double click/tap on the Category DWORD value in the same right pane to modify it.

Network category

 

 

 

 

 

  • Type in a new Data value number for the network location you want, and click/tap on OK.

modify category

 

 

 

 

 

 

 

 

 

  • You can choose these type of locations in the category-field
Network Location
Data Value
Public 0
Private 1
Domain 2

 

If above not works on Windows 2008/2012 server, do the following:

Add your domain name to the dns suffix option under your tcpip advanced adapter settings/properties.

Disable and re-enable your LAN adapter