Forum Discussion
Windows Server 2022 Unable to restart 'Network Location Awareness' Service
@bradcope , Same for me too. On my server 2022 DC, the "nlasvc" service doesn't even have Active Directory Domain Services as a dependency. And my NIC profile is set to Private. I did try and run "sc config NlaSvc depend=NSI/RpcSs/TcpIP/Dhcp/Eventlog/Netlogon/DNS/NTDS" from an elevated CMD prompt, which succeeded, but I am unable to restart the NLASVC due to an "Error 1601: The service cannot accept control messages at this time."
A little trick I'm using right now is just to enable or disable IPv6 and then reverse. I don't use IPv6 so i will check the box to enable and then disable. I am now appearing on the appropriate network.
Thanks
Dave
- nileshpancholiFeb 15, 2023Copper Contributor
TT_Vert Hi Dave, I managed to fix mine by adding the DNS suffix on my IPV4 adapter. Now my DC boots to Domain Network on every reboot.
IPV4 Properties > General > Advanced > DNS > Register Suffix for this connection (add your domain name e.g. "domain.local").
I also set the Network Location Awareness service to "Delayed Start"
Hope the above helps.
- TT_VertFeb 17, 2023Copper Contributor
Thank you for that. I did add that to my biggest problem child 2022 server and it seems to have worked. Going to try that on a few more servers and see if it resolves it. I appreciate you taking the time to mention this. Shocking MS doesn't have any official solution to this like you do.
Dave- TT_VertApr 04, 2023Copper Contributor
Wanted to update that the adding the domain suffix was only a temp fix as it started doing this again. So I now have a script to disable/enable IPv6 when I need to resolve this. Annoying to say the least.
Dave