Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

machine authentication is a little slow causing logon script to fail

using:

- Windows Zero with PEAP

- Machine authentication only (AuthMode is set to 2 in the registry)

- PCs are loginning it automatically, so it's a fast process

It appears that machine authentication is a little slow. I can ping the PC's IP after the auto login happens. This cuses logon script to fail.

If I hold shift to cancel auto-login, and wait for 10-20 seconds, the ping of the PC starts, and then if I login the logon script works.

Does anyone know a solution to this issue? Maybe a way to introduce a delay for login window (msgina.dll) to appear, so that machine authentication has time to connect

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: machine authentication is a little slow causing logon script

It's a common issue when authentication takes time.

You can simply delay the logon scripts.

This is an example of waiting for network to be up by pinging 10.10.10.10

Only when network is up, then it will execute the script

:CHECK
@echo off
echo Please wait....
ping -n 1 -l 1 10.10.10.10 
if errorlevel 1 goto CHECK
@echo on

# Now the actual Logon script:

net use L: \\fileserver\share

Note: Modify the script in accordance with the network topology.

Nicolas

===

Don't forget to rate answers that you find useful

2 REPLIES
Cisco Employee

Re: machine authentication is a little slow causing logon script

It's a common issue when authentication takes time.

You can simply delay the logon scripts.

This is an example of waiting for network to be up by pinging 10.10.10.10

Only when network is up, then it will execute the script

:CHECK
@echo off
echo Please wait....
ping -n 1 -l 1 10.10.10.10 
if errorlevel 1 goto CHECK
@echo on

# Now the actual Logon script:

net use L: \\fileserver\share

Note: Modify the script in accordance with the network topology.

Nicolas

===

Don't forget to rate answers that you find useful

Re: machine authentication is a little slow causing logon script

Great tip, thanks!

230
Views
0
Helpful
2
Replies
CreatePlease to create content