Drive mappings fail on AutoLogon

B

Bob

Hello All,
I have a WinXP machine that I've setup to autologon using a domain
account with a login script. The problem is that this box uses a wireless
conneciton. When the box boots up, it automatically logs in before the
wireless card can make a connection to the network. It uses cached
credentials to do so and therefore the logon script doesn't execute.

Is there a way to make the Autologon wait a few seconds before it logs in?

Thanks for the Help,
-Bob
 
P

Pegasus \(MVP\)

Bob said:
Hello All,
I have a WinXP machine that I've setup to autologon using a domain
account with a login script. The problem is that this box uses a wireless
conneciton. When the box boots up, it automatically logs in before the
wireless card can make a connection to the network. It uses cached
credentials to do so and therefore the logon script doesn't execute.

Is there a way to make the Autologon wait a few seconds before it logs in?

Thanks for the Help,
-Bob

I picked up this note in some other thread some time ago. I haven't
tried it myself - please let's have some feedback about it!

Add new Value to:HKLM\System\CurrentControlSet\Services\Netlogon\Parameters\
Name = ExpectedDialupDelay
Type = Reg_Dword
Value = 0 - 600 (Decimal) (60 may be a good value).
This causes system to wait for a connection to the network.
 
B

Bob

I'll give this a try tomorrow when I'm back at work. I'm guessing that the
numerical value is in seconds? (i.e. 60 = 1 minute, 600 = 10 minutes)
 
T

Torgeir Bakken \(MVP\)

Hi,

Your problem could also be caused by WinXP's
"Fast Logon Optimization Feature".

Description of the Windows XP Professional Fast Logon
Optimization Feature
http://support.microsoft.com/default.aspx?scid=kb;EN-US;305293

You can suppress this behavior (set it back to how Win2k behaves):

See the Group Policy setting
Computer Configuration\Administrative Templates\System\Logon
\Always wait for the network at computer startup and logon

and
"Run Logon Scripts Synchronously"

Scripts May Not Run Before Windows Explorer Starts Even Though
the "Run Logon Scripts Synchronously" Setting is Enabled
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304970


By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD)
in this key:

HKEY_LOCAL_MACHINE\Software
\Policies\Microsoft\Windows NT
\CurrentVersion\Winlogon\


With a VBScript:

'--------------------8<----------------------
Set oShell = CreateObject("WScript.Shell")
sRegValue = "HKLM\Software\Policies\Microsoft\Windows NT\" _
& "CurrentVersion\Winlogon\SyncForegroundPolicy"

oShell.RegWrite sRegValue, 1, "REG_DWORD"

MsgBox "Please reboot the computer"
'--------------------8<----------------------
 
B

Bob

Torgeir,
What is the script part of your message for? Do I have to do this as
well or can I just follow the other two articles you mentioned?

Thanks,
-Bob
 
B

Bob

Also, does the "Run Logon Scripts Synchronously" group policy refer to
Windows XP computers? Do I have to create this? I don't seem to have this
on the computer I'm working with. Is that what the script does for you?
I'm a little confused.

Thanks for the help,
-Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top