Network Location Awareness Service

1,954 views
Skip to first unread message

Joe Powers

unread,
Sep 1, 2022, 12:28:06 PM9/1/22
to ntsys...@googlegroups.com

Hi All

 

                Today I came across something new to me. I had a workstation boot up and noticed the wired network getting assigned as a public network instead of a domain network with all the follow on connectivity problems due to the Defender Firewall. Ok, no problem, I’ve seen that happen from time to time. My usual solution is to restart the Network Location Awareness Service using the services GUI as administrator. This always prompts a dialog letting me know the Network List Service will also restart. I acknowledge that and the 2 services stop and then restart. The network is then assigned as a domain network and all is well.

 

                Not Today.

 

                Today, it fails and says it can’t stop the Network List Service due to a dependency. Trying again then fails with “Error 1061: The Service Cannot Accept Control Messages at This Time”.

Huh…….., so I go to 3 other workstations and try to restart the NLA service and experience the same issue at each one. This is new behavior to me.

 

                As restarting the NLA is not usually destructive could someone else verify that they have the same issue and if anyone knows if there is a solution I’m all ears.

 

                Thanks !!

 

Joe Powers  

160 Elmview Avenue, Hamburg, NY 14075   │   USA

Office - 716.312.0088 ext. 135   │    Mobile - 716.698.2831   |    Fax - 716.312.0028

cid:image001.jpg@01D77886.A8A4EA90   cid:image002.jpg@01D77886.A8A4EA90

www.khindustries.com

_____________________________________________________

 

Have contract manufacturing or precision machining needs? Contact our partner company in Hamburg, NY.

www.staubinc.com

cid:image003.png@01D86C65.7DFC40D0

 

Erik Goldoff

unread,
Sep 1, 2022, 12:37:59 PM9/1/22
to ntsys...@googlegroups.com
not an answer, but have you also reviewed your DHCP server(s) for any anomalies or errors?

--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/7a379f3813be45b0a64ef47794d9135c%40MBX06B-IAD3.mex08.mlsrvr.com.

Joe Powers

unread,
Sep 1, 2022, 1:26:14 PM9/1/22
to ntsys...@googlegroups.com

No recent changes to DHCP and all is good there anyway

 

Joe Powers  

Philip Elder

unread,
Sep 1, 2022, 1:29:01 PM9/1/22
to ntsys...@googlegroups.com

Usually not a problem on a desktop machine.

 

We run the following on _all_ serves we deploy in an elevated CMD as part of our SOP setup routine:

# Delay the Network Location Awareness Service

sc config "NlaSvc"  start= delayed-auto

 

The network stack can sometimes take too much time to get initialized before NLA does its poll.

 

On laptops, this could be because the WiFi NIC vendor has their management driver software setup running in there which can cause delays on getting the stack initialized. It can sometimes interfere with wired connections as well. Our setup images are driver only as a rule no management UI on top.

 

Philip Elder MCTS

Senior Technical Architect

Microsoft High Availability MVP

E-mail: Phili...@mpecsinc.ca

Phone: +1 (780) 458-2028

Web: www.mpecsinc.com

Blog: blog.mpecsinc.com

Twitter: Twitter.com/MPECSInc

Skype: MPECSInc.

 

Please note: Although we may sometimes respond to email, text and phone calls instantly at all hours of the day, our regular business hours are 8:00 AM - 5:00 PM, Monday thru Friday.

 

From: ntsys...@googlegroups.com <ntsys...@googlegroups.com> On Behalf Of Joe Powers
Sent: Thursday, September 1, 2022 10:28
To: ntsys...@googlegroups.com
Subject: [ntsysadmin] Network Location Awareness Service

 

Hi All

 

                Today I came across something new to me. I had a workstation boot up and noticed the wired network getting assigned as a public network instead of a domain network with all the follow on connectivity problems due to the Defender Firewall. Ok, no problem, I’ve seen that happen from time to time. My usual solution is to restart the Network Location Awareness Service using the services GUI as administrator. This always prompts a dialog letting me know the Network List Service will also restart. I acknowledge that and the 2 services stop and then restart. The network is then assigned as a domain network and all is well.

 

                Not Today.

 

                Today, it fails and says it can’t stop the Network List Service due to a dependency. Trying again then fails with “Error 1061: The Service Cannot Accept Control Messages at This Time”.

Huh…….., so I go to 3 other workstations and try to restart the NLA service and experience the same issue at each one. This is new behavior to me.

 

                As restarting the NLA is not usually destructive could someone else verify that they have the same issue and if anyone knows if there is a solution I’m all ears.

 

                Thanks !!

 

Joe Powers  

160 Elmview Avenue, Hamburg, NY 14075   │   USA

Office - 716.312.0088 ext. 135   │    Mobile - 716.698.2831   |    Fax - 716.312.0028

  

www.khindustries.com

_____________________________________________________

 

Have contract manufacturing or precision machining needs? Contact our partner company in Hamburg, NY.

www.staubinc.com

Joe Powers

unread,
Sep 1, 2022, 2:29:01 PM9/1/22
to ntsys...@googlegroups.com

Yes. I’m still able to restart NLA on 2012R2, just not on W10. I also do set all servers to delayed start. I am aware that it is also possible to add a dependency for DNS, but have not done that. The servers are not having an issue after setting delayed start.

 

                I’m really interested in whether this is reproducible by others or is it unique to my domain.

 

 

Joe Powers  

 

Micheal Espinola

unread,
Sep 1, 2022, 4:47:05 PM9/1/22
to ntsys...@googlegroups.com
I can confirm this now happens on Microsoft Windows 10 Home (10.0.19044.1889)

--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/7a379f3813be45b0a64ef47794d9135c%40MBX06B-IAD3.mex08.mlsrvr.com.


--
Espi

Andrew Brownfield

unread,
Sep 2, 2022, 8:41:56 AM9/2/22
to ntsys...@googlegroups.com
Seeing the same behavior on Win 10 Pro 21H2.

Miller, Jon

unread,
Sep 2, 2022, 10:27:47 AM9/2/22
to ntsys...@googlegroups.com

Seeing it on 21H2 Enterprise.  I also noticed that my machines that upgraded from Win10 to Win11 have NLA set to manual and not started.



This message and any attachments may contain legally privileged or confidential information, and are intended only for the individual or entity identified above as the addressee. If you are not the addressee, or if this message has been addressed to you in error, you are not authorized to read, copy, or distribute this message and any attachments, and we ask that you please delete this message and attachments (including all copies) and notify the sender. Delivery of this message and any attachments to any person other than the intended recipient(s) is not intended in any way to waive confidentiality or a privilege. All personal messages express views only of the individual sender, and may not be copied or distributed without this statement.

Michael Rolleri

unread,
Sep 2, 2022, 11:29:52 AM9/2/22
to ntsysadmin
We are having this issue (NLA service not stopping and throwing a 1061 error) on our new Server 2022 systems.  In some of those cases, the service is eating up system resources as well, ~40% of CPU.

Rick McClure

unread,
Sep 2, 2022, 12:42:09 PM9/2/22
to ntsys...@googlegroups.com

So how does one uninstall NLA?  This has been bugging some of us for too long.

 

TIA,

Rick.

 

From: ntsys...@googlegroups.com [mailto:ntsys...@googlegroups.com] On Behalf Of Micheal Espinola
Sent: Thursday, September 01, 2022 3:47 PM
To: ntsys...@googlegroups.com
Subject: Re: [ntsysadmin] Network Location Awareness Service

 

I can confirm this now happens on Microsoft Windows 10 Home (10.0.19044.1889)

Roberts, James

unread,
Sep 2, 2022, 2:04:43 PM9/2/22
to ntsys...@googlegroups.com

We had this issue with our current VPN solution and it was random when it would not switch. Applying the registry fixed our issues completely. Before this we used a batch file to remove the dependencies, stop the services, add the dependencies back and start the service.

 

https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/firewall-profile-not-switch-to-domain

 

 

 

 

From: ntsys...@googlegroups.com <ntsys...@googlegroups.com> On Behalf Of Rick McClure
Sent: Friday, September 2, 2022 10:41 AM
To: ntsys...@googlegroups.com
Subject: [EXTERNAL] RE: [ntsysadmin] Network Location Awareness Service

 

This message is from an external sender; be cautious with links and attachments.

So how does one uninstall NLA?  This has been bugging some of us for too long.

 

TIA,

Rick.

 

From: ntsys...@googlegroups.com [mailto:ntsys...@googlegroups.com] On Behalf Of Micheal Espinola
Sent: Thursday, September 01, 2022 3:47 PM
To: ntsys...@googlegroups.com
Subject: Re: [ntsysadmin] Network Location Awareness Service

 

I can confirm this now happens on Microsoft Windows 10 Home (10.0.19044.1889)

 

On Thu, Sep 1, 2022 at 9:28 AM Joe Powers <jppo...@khindustries.com> wrote:

Hi All

 

                Today I came across something new to me. I had a workstation boot up and noticed the wired network getting assigned as a public network instead of a domain network with all the follow on connectivity problems due to the Defender Firewall. Ok, no problem, I’ve seen that happen from time to time. My usual solution is to restart the Network Location Awareness Service using the services GUI as administrator. This always prompts a dialog letting me know the Network List Service will also restart. I acknowledge that and the 2 services stop and then restart. The network is then assigned as a domain network and all is well.

 

                Not Today.

 

                Today, it fails and says it can’t stop the Network List Service due to a dependency. Trying again then fails with “Error 1061: The Service Cannot Accept Control Messages at This Time”.

Huh…….., so I go to 3 other workstations and try to restart the NLA service and experience the same issue at each one. This is new behavior to me.

 

                As restarting the NLA is not usually destructive could someone else verify that they have the same issue and if anyone knows if there is a solution I’m all ears.

 

                Thanks !!

 

Joe Powers  

160 Elmview Avenue, Hamburg, NY 14075   │   USA

Office - 716.312.0088 ext. 135   │    Mobile - 716.698.2831   |    Fax - 716.312.0028

  

www.khindustries.com

_____________________________________________________

 

Have contract manufacturing or precision machining needs? Contact our partner company in Hamburg, NY.

www.staubinc.com

 

--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/7a379f3813be45b0a64ef47794d9135c%40MBX06B-IAD3.mex08.mlsrvr.com.



--

Espi

--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CAAfzEuxzriGBdBNyZ5GP-YbzeFPs68psg__V8ANnJJh6AO7BEg%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.

Micheal Espinola

unread,
Sep 2, 2022, 2:46:48 PM9/2/22
to ntsys...@googlegroups.com
I dont know about removal, but the standard recommendation is a delayed start on the service.



--
Espi
Reply all
Reply to author
Forward
0 new messages