Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

Network Profile is Showing as Private Instead of DomainAuthenticated in Domain Controller

August 16, 2023
in Active Directory, Blog
0
ADVERTISEMENT

Table of Contents

Network Profile is Showing as Private

The issue occurred after we started migrating our offsite workstations to Win 10. After joining computers to domain, computers show unidentified network connection instead of domain network connection. Computer is located at offsite location and was migrating to Windows 10. NLA is working normally when it was still Windows 7 workstations.

This is happened to me on all domain controllers as well.

XqDW8ruC3nSlgA36WZVJswNwjXj4EmF3g1dkw12ELlbLdYtDbalcfkVVRJfT

You got this because after machine reboots, before NIC adapter initializes, NLASVC (Network Location Awareness) would attempt detection of domain. If the detection was failed, then this information will be cached and even though NIC gets initialized, the machine still applies the cached information and hence machine detects unidentified network.

When we check the network category on our domain controller servers, it shows Private instead of DomainAuthenticated.

PS C:\Users\Administrator> whoami
duybao\administrator

PS C:\Users\Administrator> hostname
DC01

PS C:\Users\Administrator> Get-NetConnectionProfile

Name             : Network
InterfaceAlias   : Ethernet0
InterfaceIndex   : 6
NetworkCategory  : Private
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic

Method 1: Add dependency service for NLA service

Please try to modify the following registry keys to see if the issue can be resolved:

The first try, you can Add the NetLogon service as a dependency service of Network Location Awareness. 

Note Note: The below commands must be ran using Command Prompt instead of PowerShell.
sc config nlasvc depend= NSI/RpcSs/TcpIp/Dhcp/Eventlog/Dnscache/Netlogon
sc config nlasvc depend= NSI/RpcSs/TcpIp/Dhcp/Eventlog/DNS/NTDS

Once done, restart your machine to verify it works.

ohSVHryYC68d2tybDvOBRcSgBUTTVEORcj97gkLNDgg9ToVSyZf3ka4awukW

Method 2: Using the Registry Editor

If the first method doesn’t work, you can try the second one with registry solution.

1️⃣ Open Registry Editor.

2️⃣ Navigate to the following location then create a new DWORD value.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters
Name: AlwaysExpectDomainController
Type: REG_DWORD
Value Data: 1

Note: This registry key alters the behavior when NLA retries domain detection.
wbi2LpfboCnwLUhgMgH46EOyEVVKXmjxnfgo7eNxXOfPIbZP01QzVaVuyg18

3️⃣ Restart your server to check if everything working now.

PhM3QgCfBInoiJNS1BOJkw5bFpPdngajYQCnffwFdEl1NAnQgi4He75b9RWO

Additionally, if the fist registry value doesn’t help. You can consider add two more value as follows:

Disable Domain Discovery negative cache by adding the NegativeCachePeriod registry key to following subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetLogon\Parameters
Name: NegativeCachePeriod
Type: REG_DWORD
Value Data: 0 (default value: 45 seconds; set to 0 to disable caching)

If issue doesn’t resolve, furtherly disable DNS negative cache by adding the MaxNegativeCacheTtl registry key to the following subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
Name: MaxNegativeCacheTtl
Type: REG_DWORD
Value Data: 0 (default value: 5 seconds; set to 0 to disable caching)

When NLA starts to detect the network location, the machine will contact a domain controller via port 389. If this detection is successful, it will get the domain firewall profile (allowing for correct ports) and we cannot change the network location profile. If the domain was not found or process failed, NLA will let you to determine which firewall profile will be used, private or public.

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Enable PowerShell Remoting using Group Policy

Next Post

Network Location Awareness not Detecting Domain Network from Offsite Location

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory