When Windows 10 can communicate with a domain controller the network connection is automatically placed in which location category?

A network location identifies the type of network that a PC is connected to with a network adapter and automatically sets the appropriate Windows Defender Firewall settings for that location.

By default, the first time you connect to a new network (wired or wireless), you will be prompted "Do you want to allow your PC to be discoverable by other PCs and devices on this network?" by the Network Location wizard. Turning on this setting prepares your PC for sharing files and devices on a network. Based on the network location you choose, Windows will automatically assign a network discovery state to the network and automatically sets the appropriate Windows Firewall and security settings for the type of network that you connected to. You can change the network location anytime.

Public network = Your device is not discoverable on the network. By default, the public network location type is assigned to any new networks when they are first connected. A public network is considered to be shared with the world, with no protection between the local computer and any other computer. Therefore, the Windows Firewall rules associated with the public profile are the most restrictive. This blocks the following apps and services from working: PlayTo, file sharing, network discovery, and automatic setup of network printers, TVs, and other devices.

Private network = Your device is discoverable on the network. Select this if you need file sharing or use apps that communicate over this network. You should know and trust the people or devices on the network.

Domain network = The domain network location type is detected when the local computer is a member of an Active Directory domain, and the local computer can authenticate to a domain controller for that domain through one of its network connections.

This tutorial will show you how to change the type of network your PC is connected to as a domain, public, or private location for all users in Windows 11.

You must be signed in as an administrator to change the network location of a network adapter.

Contents


  • Option One: Change Network Location of Specific Network Connection in Settings
  • Option Two: Change Network Location of a Ethernet Network Connection in Settings
  • Option Three: Change Network Location of a Wi-Fi Network Connection in Settings
  • Option Four: Change Network Location of Known Wi-Fi Network in Settings
  • Option Five: Change Network Location of Specific Network Connection in PowerShell
  • Option Six: Change Network Location of Current Network Connection in PowerShell
  • Option Seven: Change Network Location of Specific Network Connection in Registry Editor
  • Option Eight: Specify Network Location of Specific Network Connection in Local Security Policy

OPTION ONE

Change Network Location of Specific Network Connection in Settings

This option requires you to currently be connected to the network you want to change its location type.

1 Open Settings (Win+I).

2 Click/tap on Network & internet on the left side, and click/tap on Properties at the top for the network connection you want. (see screenshot below)

When Windows 10 can communicate with a domain controller the network connection is automatically placed in which location category?

3 Select Public or Private for the network profile type you want. (see screenshots below)

4 You can now close Settings if you like.

OPTION TWO

Change Network Location of a Ethernet Network Connection in Settings

This option requires you to currently be connected to the network you want to change its location type.

1 Open Settings (Win+I).

2 Click/tap on Network & internet on the left side, and click/tap on Ethernet on the right side. (see screenshot below)

3 Under the Ethernet network connection (ex: "Brink-Router2") you want, select Public or Private for the network profile type you want. (see screenshot below)

4 You can now close Settings if you like.

OPTION THREE

Change Network Location of a Wi-Fi Network Connection in Settings

This option requires you to currently be connected to the network you want to change its location type.

1 Open Settings (Win+I).

2 Click/tap on Network & internet on the left side, and click/tap on Wi-Fi on the right side. (see screenshot below)

3 Click/tap on the properties of the Wi-Fi connection (ex: "Brink-Router2") you want. (see screenshot below)

4 Select Public or Private for the network profile type you want. (see screenshots below)

5 You can now close Settings if you like.

OPTION FOUR

Change Network Location of Known Wi-Fi Network in Settings

This option does not require you to currently be connected to the network you want to change its location type.

1 Open Settings (Win+I).

2 Click/tap on Network & internet on the left side, and click/tap on Wi-Fi on the right side. (see screenshot below)

3 Click/tap on Manage known networks on the right side. (see screenshot below)

4 Click/tap on the known Wi-Fi network (ex: "Brink-Router2") you want. (see screenshot below)

5 Select Public or Private for the network profile type you want. (see screenshots below)

6 You can now close Settings if you like.

OPTION FIVE

Change Network Location of Specific Network Connection in PowerShell

This option requires you to currently be connected to the network you want to change its location type.

1 Open an Windows Terminal (Admin), and select Windows PowerShell.

2 Copy and paste the Get-NetConnectionProfile command into the elevated PowerShell, and press Enter. (see screenshot below step 3)

3 Make note of the network name (ex: "Brink-Router2") you want. (see screenshot below)

If you have more than one network connection with the same name (ex: "Brink-Router2"), then the network location type you set will be applied to all networks with the same name.


4 Do step 5 (Private), step 6 (Public), step 7 (Domain) below for what you want.

5. To Set Network Location to Private

A) Type the command below into the elevated PowerShell, press Enter, and go to step 8 below. (see screenshot below)​

Set-NetConnectionProfile -Name "Brink-Router2" -NetworkCategory Private

Substitute Brink-Router2 in the command above with your network name from step 3 above instead.


6. To Set Network Location to Public

A) Type the command below into the elevated PowerShell, press Enter, and go to step 8 below. (see screenshot below)​

Set-NetConnectionProfile -Name "Brink-Router2" -NetworkCategory Public

Substitute Brink-Router2 in the command above with your network name from step 3 above instead.


7. To Set Network Location to Domain

This requires your PC to be joined to a domain.

A) Type the command below into the elevated PowerShell, press Enter, and go to step 8 below.​

Set-NetConnectionProfile -Name "Brink-Router2" -NetworkCategory DomainAuthenticated

Substitute Brink-Router2 in the command above with your network name from step 3 above instead.

8 You can now close Windows Terminal (Admin) if you like.

OPTION SIX

Change Network Location of Current Network Connection in PowerShell

This option requires you to currently be connected to the network you want to change its location type.

1 Open an Windows Terminal (Admin), and select Windows PowerShell.

2 Do step 3 (Private), step 4 (Public), or step 5 (Domain) below for what you want.

3. To Set Network Location of Current Network Connection to Private

A) Copy and paste the command below into the elevated PowerShell, press Enter, and go to step 6 below. (see screenshot below)​

$net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory Private


4. To Set Network Location of Current Network Connection to Public

A) Copy and paste the command below into the elevated PowerShell, press Enter, and go to step 6 below. (see screenshot below)​

$net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory Public


5. To Set Network Location of Current Network Connection to Domain

This requires your PC to be joined to a domain.

A) Copy and paste the command below into the elevated PowerShell, press Enter, and go to step 6 below.​

$net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory DomainAuthenticated

6 You can now close Windows Terminal (Admin) if you like.

OPTION SEVEN

Change Network Location of Specific Network Connection in Registry Editor

This option does not require you to currently be connected to the network you want to change its location type.

1 Open Registry Editor (regedit.exe).

2 Navigate to the registry key location below in the left pane of Registry Editor. (see screenshot below)

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


3 Double click/tap on the Profiles key in the left pane to expand it open. Click/tap on each long GUID number subkey, and look at its ProfileName string value in the right pane until it is the network name (ex: "Brink-Router2") you want. (see screenshot below)

4 When you find the correct ProfileName for the network name (ex: "Brink-Router2") you want, double click/tap on the Category DWORD value in the same right pane to modify it. (see screenshot below)

5 Type the data value number for the network location you want from the table below, and click/tap on OK. (see screenshot below)

Network LocationData Value
Public 0
Private 1
Domain 2


6 You can now close Registry Editor if you like.

7 Sometimes you may need to sign out and sign in to apply.

OPTION EIGHT

Specify Network Location of Specific Network Connection in Local Security Policy


1 Open Local Security Policy (secpol.msc).

2 Click/tap on Network List Manager Policies in the left pane of Local Security Policy. (see screenshot below step 3)

3 In the right pane of Network List Manager Policies, double click/tap on the network name (ex: "Brink-Router2") you want. (see screenshot below)

You can click/tap on All Networks if you wanted to apply this to all networks on your PC instead of a single or specific network.


4 Do step 5 (Not configured), step 6 (Private), or step 7 (Public) below for what you want.

5. To Not Specify a Network Location

This is the default setting to allow the use of Option One, Option Two, Option Three, Option Four, Option Five, Option Six, and Option Seven.

A) Click/tap on the Network Location tab. (see screenshot below)​

The Network Location tab will not be available if your PC is currently set to have a Domain network location.

B) Under Location type, select (dot) Not configured.​

C) Under User permissions, select (dot) Not configured.​

D) Click/tap on OK, and go to step 8 below.​


6. To Specify Public Network Location

This option will override and prevent the use of Option One, Option Two, Option Three, Option Four, Option Five, Option Six, and Option Seven.

A) Click/tap on the Network Location tab. (see screenshot below)​

The Network Location tab will not be available if your PC is currently set to have a Domain network location.

B) Under Location type, select (dot) Public.​

C) Under User permissions, select (dot) User cannot change location.​

D) Click/tap on OK, and go to step 8 below.​


7. To Specify Private Network Location

This option will override and prevent the use of Option One, Option Two, Option Three, Option Four, Option Five, Option Six, and Option Seven.

A) Click/tap on the Network Location tab. (see screenshot below)​

The Network Location tab will not be available if your PC is currently set to have a Domain network location.

B) Under Location type, select (dot) Private.​

C) Under User permissions, select (dot) User cannot change location.​

D) Click/tap on OK, and go to step 8 below.​


8 You can now close Local Security Policy if you like.

That's it,
Shawn Brink

Related Tutorials



  • Turn On or Off Network Discovery in Windows 11
  • Turn On or Off File and Printer Sharing in Windows 11
  • Change Encryption Level for File Sharing Connections in Windows 11
  • Turn On or Off Password Protected Sharing in Windows 11

Which Windows 10 Service controls the flow of network traffic in Windows 10?

remote computer. —This service controls the flow of network traffic in Windows 10. Service (QoS). much data can be sent and the format of the data as it crosses the network.

Which location type is used when the computer is connected in an untrusted public?

Vista Ch. 8.

Which location type is used when a computer is connected as part of a peer

The domain network category is used when the computer is connected as part of a peer-to-peer network in a trusted location.

Which of the following is an automated mechanism used to assign IP addresses?

DHCP. DHCP is the Dynamic Host Configuration Protocol. It is used to automatically provide IP addressing information to clients. A DHCP server can assign IP addresses, subnet masks, a DNS server address, and much more.