Windows XP NLA Service Polling Cycle

Posted on 2009-05-05
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:
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.
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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 500 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:
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

Office 365 Training for IT Pros

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.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
A hard and fast method for reducing Active Directory Administrators members.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

628 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