Solved

Windows XP NLA Service Polling Cycle

Posted on 2009-05-05
6
743 Views
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?
0
Comment
Question by:compdigit44
  • 4
  • 2
6 Comments
 
LVL 26

Expert Comment

by:Pber
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.
0
 
LVL 19

Author Comment

by:compdigit44
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????
0
 
LVL 26

Expert Comment

by:Pber
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.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 19

Author Comment

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

Accepted Solution

by:
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: http://msdn.microsoft.com/en-us/library/ms739957(VS.85).aspx
This also further explains the WSANSPIoctl function and how it is implmented:
http://msdn.microsoft.com/en-us/library/ms741658(VS.85).aspx
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.
0
 
LVL 26

Expert Comment

by:Pber
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.
Sorry
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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 to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 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