Question

Logon delay to allow wireless connection before user logon

Asked by: entcee

I have a Dell laptop with XP Pro. I am connecting to a domain through our wireless network.

I am having a problem where the user can log on before the network is established.  This only happens from startup where the computer has been off.  If the user logs on as soon as they see the logon screen, the logon script will not run.  Now, if they wait about 5 seconds once the logon screen appears, everything works the way it should.

I have changed GP to disable the XP fast logon feature but it still happens.  It is as if the logon screen appears as soon as the laptop is connected to the WAP but the laptop has not obtained an IP address so the laptop is not connected to the network (or domain).

Again, once the logon screen appears, I can count to 5, logon and everything will work so I am assuming it takes about 5 seconds once the laptop is connected to the WAP for it to obtain an IP and establish a connection to the domain.

Is there any way to add a 5 second delay before the logon screen appears? Or make it so it waits to see if the domain is available before it logs in and uses cached credentials?

Any help is appreciated.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-09-18 at 06:11:24ID22835801
Tags

wireless

,

logon

,

before

,

delay

,

connection

Topics

Wireless Technologies

,

Windows XP Operating System

Participating Experts
2
Points
500
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. wireless locator
    I am network engineer in my company and detected a wireless signal, but out of idea where the signal from, any software can i install to search the access point.
  2. Wireless NIC connecting to WAP prior to Windows logon & …
    Hello, Quick query... I have a Windows XP laptop with two local user profiles on the computer, connected to a domain controller. It's got a built-in wireless NIC. Say there's more than one WAP in range and I log into WAP1 and my wife logs into WAP2 after we've both logged i...
  3. Wireless Notebook not running Domain logon scripts?
    I imagine that this has been asked before, but for some reason I couldn't access pertinent information on this site (kept asking me to sign up for premium account). Just bought a Dell Inspiron 6400, have added the machine to my home domain (via wired connection) and now want...
  4. Wireless Access Configuration
    I have setup a linksys wireless access point in our building. We have several Dell laptops running XP service pack 2 with wireless capabilities. My problem is the wireless card does not become active until a user logs onto the laptop. The laptop has a local profile of the use...
  5. AD logon with Wireless Laptop
    Hi, I want to know what the issue is when trying to connect a wireless laptop to the domain. I have heard that you have to turn off the wireless adapater, log into the domain using cached credentials and then turn on the adapter. I have also heard heard about some special ...
  6. Connection problems with Intel PRO/Wireless 3945ABG…
    I seem to be having serious connection issues between laptops using the Intel Pro/Wireless 3945ABG nics and the Enterasys AP 4102 Roam Abouts I have 150 students trying to connect in the morning. The rooms have about 30-40 students each and each room has 2 WAPs. About 60% ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: and235100Posted on 2007-09-18 at 06:50:24ID: 19912716

Have you tried enabling

"Always wait fot the network at computer startup and logon"
(Computer config\Admin Templates\System\Logon)

 

by: entceePosted on 2007-09-18 at 06:56:59ID: 19912765

Yes, I was under the impression that it is the same as disabling the XP fast logon feature

 

by: and235100Posted on 2007-09-18 at 06:59:00ID: 19912778

No - they aren't the same - try to enable that policy separately.

 

by: entceePosted on 2007-09-18 at 07:00:12ID: 19912785

That policy is (and has been) enabled.

Where is the setting for disabling the XP fast logon feature?

 

by: and235100Posted on 2007-09-18 at 07:02:06ID: 19912806

Same place - "Always use classic logon".

 

by: and235100Posted on 2007-09-18 at 07:06:39ID: 19912850

But - this doesn't take effect on a domain - as the "classic logon" is used by default.

 

by: entceePosted on 2007-09-18 at 07:08:50ID: 19912867

Anything else to try?

 

by: and235100Posted on 2007-09-18 at 07:10:06ID: 19912880

What about enabling
Computer config\Admin Templates\System\Scripts\ "Run logon scripts synchronously"

 

by: entceePosted on 2007-09-18 at 07:15:41ID: 19912943

Already enabled.

If the user logs on as soon as they see the logon screen, it logs them on with cached crdentials (because it does not see the domain) so the OS does not see a script to run.

 

by: Shift-3Posted on 2007-09-18 at 07:23:08ID: 19913012

No, "Always use classic logon" just disables the shiny blue XP logon screen.  This has no effect if the machine is a member of a domain since the classic NT logon window is always used.

"Always wait for the network at computer startup and logon" is what disables XP's Fast Logon Optimization.  See this article:
http://support.microsoft.com/kb/305293

To add a 5-second delay you could create a .vbs file just containing the line "WScript.Sleep(5000)" and then apply it in each machine's local policy (using gpedit.msc) under the node Computer Configuration\Windows Settings\Scripts\Startup.  Startup scripts run prior to logon so this might create enough of a delay for the network to connect.

 

by: and235100Posted on 2007-09-18 at 07:25:19ID: 19913050

Okay - disable cached logons:

\System\User Profiles\ "Wait for remote user profile"

and...

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalMachine\Software\Policies\Microsoft\Windows\System
Create a new DWORD value, or modify the existing value, called 'DeleteRoamingCache' and edit the value according to the settings above.  

Value Name: DeleteRoamingCache
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)

(basically - you can include this in your logon script)

 

by: entceePosted on 2007-09-18 at 08:00:11ID: 19913436

I will try the vbs script to see what happens

I really do not want to completely disable cached logon since I will travel with tis laptop and really do not want to maintain a domain profile and a local profile.

 

by: entceePosted on 2007-09-18 at 17:16:16ID: 19917530

The vbscript worked. I actually had to change it to 6 seconds but never the less it is working.

Too bad ther isn't a script that would wait for an IP address to be assigned and as soon as it is, the script would end.  Of course there would have to be a 15-20 second timeout in case I was somewhere where there is no network.

Thanks for your help

 

by: entceePosted on 2007-09-18 at 17:49:33ID: 19917655

I found this on Miscrosoft site. These changes do exaclty what I am looking for. Now the computer actually waits for the DC and applies the GP (machine) settings before the logon screen is displayed.

Here are the changes:
Windows XP Service Pack 2
After you apply Windows XP Service Pack 2, you must add the GpNetworkStartTimeoutPolicyValue registry entry. This entry defines the number of seconds to wait before trying to run the Group Policy startup script again. To find the value that will work for your configuration, define a decimal value of 60, and then increase the value until the problem is resolved. To add the registry entry and to define the value, follow these steps:1. Click Start, click Run, type regedit, and then click OK.
2. Expand the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
3. Right-click Winlogon, point to New, and then click DWORD Value.
4. To name the new entry, type GpNetworkStartTimeoutPolicyValue, and then press ENTER.
5. Right-click GpNetworkStartTimeoutPolicyValue, and then click Modify.
6. Under Base, click Decimal.
7. In the Value data box, type 60, and then click OK.
8. Exit Registry Editor, and then restart the computer.
9. If the Group Policy startup script does not run, increase the value of the GpNetworkStartTimeoutPolicyValue registry entry.

Back to the top

Creating a Group Policy network start timeout policy
The GpNetworkStartTimeoutPolicyValue policy timeout can be specified in the registry in two locations:" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\Winlogon
" HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System
You can do this by adding a DWORD value of GpNetworkStartTimeoutPolicyValue with a number of seconds between 30 and 600.

Windows reads the Winlogon subkey first. Then, Windows reads the Policies subkey. The value in the Policies subkey supersedes any value in the Winlogon subkey. There is no user interface that you can use to set this Group Policy object (GPO). Therefore, you have to deploy a custom ADM file in order to set the GPO.

The value specified should be of sufficient duration to make sure that the connection is made. During the timeout period, Windows examines the connection status every two seconds and continues with system startup as soon as the connection is confirmed. Therefore, setting the value larger than the minimum value of 30 is recommended. However, be advised that if the system is legitimately disconnected, Windows will stall for the whole timeout period.

 

by: Shift-3Posted on 2007-09-18 at 18:02:48ID: 19917706

That's good to know.

 

by: entceePosted on 2007-09-18 at 18:09:35ID: 19917755

In testing, it seems the vbscript actually is faster. It waits the 6 seconds then allows logon.

The registry changes actually wait for the network, then applies the computer settings before you can logon. This process takes about 20 seconds. Now once you logon you are ready to go since the settings have already been applied.

Just to add even more info :)

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...