Change Windows 2012 R2 Network from Public to Domain

37,229

Solution 1

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

Get-NetConnectionProfile

Use interface index to change the network interface to domain.

Set-NetConnectionProfile -InterfaceIndex 7 -NetworkCategory Domain

Solution 2

try

net stop nlasvc as admin

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

Share:
37,229

Related videos on Youtube

Cade
Author by

Cade

Nerd Ninja

Updated on September 18, 2022

Comments

  • Cade
    Cade almost 2 years

    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?

  • Sam Doxy
    Sam Doxy over 6 years
    Be sure that you are using the rigth interface Index
  • Gustav
    Gustav over 5 years
    Had the same error as @KarlHenselin. Index was right. Had to remove the server from the domain, then rejoin.
  • Ben Personick
    Ben Personick almost 5 years
    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'."