Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Windows XP NLA Service Polling Cycle

Posted on 2009-05-05
Medium Priority
Last Modified: 2012-05-06
In Windows XP SP2 & SP3 does anyone know what the default polling / timeout settings are for the NLA service? How can I change this vaule in the registry?
Question by:compdigit44
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 26

Expert Comment

ID: 24316766
The NLA service is doesn't actually poll the network itself at a set interval.  It just provides the functions and methods for applications to invoke queries.
This MSDN site explains how applications can use it: http://msdn.microsoft.com/en-us/library/ms700657(VS.85).aspx
The TCP/IP Protocol Driver and Winsock (afd.sys) use NLA to provide Network Awareness.  I looked through those drivers in the registry and can't seem to find a polling value.  This may be a hardcoded item or a query on demand setup.
LVL 20

Author Comment

ID: 24316927
OK... I might to looking in the wrong direct. The reason for me opening this questions is becuase I need to find a why to "extened" the timeout period for our network connects. What happens is that we have using connecting in from remote sites and it the link goes down they loose there connection then their windows firewall turns on which causes a whole bunch of problems....Any idea on a fix / workaround????
LVL 26

Expert Comment

ID: 24317156
I think that is one of those "This is by design"  "features" as Microsoft would put it.  
The firewall is meant to turn on almost immediately when the network connection is lost.  If your policy allows it, you could adjust the standard firewall profile to allow for local network access when the link goes down.  
I don't think there is much that can be done with respect to how the firewall uses NLA to enable itself.
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

LVL 20

Author Comment

ID: 24317380
HUmmmmmmmmmm... Is there someway to extend the timeout period for a windows before it seems a network connection as disconnected then??
LVL 26

Accepted Solution

Pber earned 2000 total points
ID: 24317929
I've been surfing through MSDN and it seems that it is definitely up to the application using the NLA to query for status change.  This page explains how it works.
See this: http://msdn.microsoft.com/en-us/library/ms739957(VS.85).aspx
This also further explains the WSANSPIoctl function and how it is implmented:
So I would suspect TCP/IP or Winsock as the culprit that does the NLA querying.  I'm still scouring through the registry trying to find if there is some parameter that may be of use.
LVL 26

Expert Comment

ID: 24366929
Further to this, I still couldn't find any attribute that can be controlled.  I went to the extent of running regmon to see there were reg keys queried that related to this issue during network failures and still nothing conclusive.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question