Network changed from Domain to Private

It is a Server 2012 R2 Server. Somehow over the weekend the connection type changed from Domain to Private which in-turn changed the firewall settings. How do I get the network type back to Domain?
LVL 15
LockDown32OwnerAsked:
Who is Participating?
 
LockDown32Connect With a Mentor OwnerAuthor Commented:
From a Thread on Server Fault:

Wheter the network of a domain controller is classified als domain network doesn't depend on the gateway configuration.

The behaviour of a false network classification can be caused the NLA (network location awareness) service starts before the domain is available. In this case the public or private network is choosen and not corrected afterwards.

How to check if this fault situation is given
When the domain controller after rebooting is in the public network, restart the NLA service or disconnect / reconnect the network. The domain controller should be in the domain network afterwards.

How to solve it
It may help to set the NLA Service to delayed start. Better, check why the domain needs long to be present. It seems that the domain needs longer to start when there are multiple network cards.


Stopping and starting the NLA service reset it to Domain Controller mode
0
 
JohnBusiness Consultant (Owner)Commented:
There is not a setting to do this so far as I recall.

You can try TCP/IP Reset but I do not think this will change the NIC setting.

Open cmd.exe with Run as Administrator.

NETSH LAN /? to review options.

NETSH LAN Delete Profile name="name of profile"  

Then make a new profile.

You may need to restart the server after.
0
 
sarabandeCommented:
it looks as if the Domain Controller (DM) could not be found at start. you may ping to the DM server's ip  from command line. if the ping worked you may try to see your server from DM. if connectivity principally is ok, you could go to the network and sharing center in the system Settings, then double-click on the (private) icon of your network. with the next dialog you should be able to return to the domain.

Sara
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
LockDown32OwnerAuthor Commented:
This is on the solo Domain Controller. It is a static IP and that static IP information did not change, I am not sure where this "System Settings" is in Network and Sharing. I can't do a IP reset because I am remote.

   Attached is a screen shot of Network and Sharing from the server...
Capture.PNG
0
 
JohnBusiness Consultant (Owner)Commented:
If you cannot change the setting remotely (not changeable in newer systems and I do not know why) then you or someone else needs to go on site.
0
 
LockDown32OwnerAuthor Commented:
I have no problem going on-site but I would at least like some idea of what I am supposed to do before going :)
0
 
JohnBusiness Consultant (Owner)Commented:
If the setting cannot be changed by changing the NIC in Network and Sharing (try that), then you need to reset the LAN profile as suggested above.
0
 
LockDown32OwnerAuthor Commented:
What I an struggling with is where and how to "change the NIC in Network and Sharing". The IP Address is fine and has not changed. What else is there to change?
0
 
JohnBusiness Consultant (Owner)Commented:
If you cannot right click and change to Domain, then the setting is not available to change. It has been removed in newer systems. I forget when exactly it changed. I think after Windows 7.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
You can do this via Powershell local or remote with this CMDLet
Set-NetConnectionProfile -InterfaceIndex <index number> -NetworkCategory DomainAuthenticated

Open in new window

0
 
LockDown32OwnerAuthor Commented:
This is the only solution that worked....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.