I upgraded the Network Card Drivers for my Domain Controller but now it is seeing the local lan as a PUBLIC network which is messing with my firewall rules.

How do I switch it back to DOMAIN?


You can use Powershell to achieve this. First you have to list network profile


Use interface index to change the network interface to domain.

Set-NetConnectionProfile -InterfaceIndex 7 -NetworkCategory Domain

  • 2
    I tried that, and I am getting the error: set-netconnectionprofile : Unable to set NetworkCategory to 'DomainAuthenticated'. This NetworkCategory type will be set automatically when authenticated to a domain network. – Karl Henselin Sep 26 '17 at 3:24
  • Be sure that you are using the rigth interface Index – Sam Doxy Oct 17 '17 at 14:24
  • Had the same error as @KarlHenselin. Index was right. Had to remove the server from the domain, then rejoin. – Gustav Jan 6 at 12:31


net stop nlasvc as admin

if this works, you can set this service (nlasvc) to "start delayed"

  • 1
    This is how I was able to resolve the issue on my system after a power outage made this happen on my desktop. Using the Powershell method only resulted in "Unable to set NetworkCategory to 'DomainAuthenticated'." – Ben Personick Jul 16 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.