0

I have two Windows Server 2019 machines in my infrastructure which are connected on 'Guest or Public networks' and I have been unable to switch to domain network.

I have tried many solutions gathered around the Internet but none has been successful so far :

  • Restart NLA service
  • Replace NIC
  • Check DNS (properly registered)

I also notice that Powershell command 'Get-NetConnectionProfile' returns nothing. I guess there is no profile identified. The problem is that the machines are unable to get Windows Update packages from our WSUS machine.

What else can I do?

Charlypop
  • 1
  • 1

1 Answers1

0

The NCP (Network Connection Profile) can be set "the hard way" through in registry key:

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

When you expand the Profiles key, you will see sub-keys with different GUIDs. Those are the networks you have "joined" till date and the key Description contains the networks name. Mostly DNS names, if suffixes were distributed through DHCP.

I you found "your" profile, change the DWORD value of Category accordingly:

0 (for "Public")
1 (for "Private")
2 (for "Domain")
bjoster
  • 4,423
  • 5
  • 22
  • 32