Logon script execution problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a few cases when Windows 2000 server failed to run logon script while
Windows XP computer was logging in. Looks like a user account on the server
side get corrupted. The only solution was to create new accounts on both ends.

Is there more intelligent solution? Any suggestions would be greatly
appreciated.
 
Len said:
I have a few cases when Windows 2000 server failed to run logon script while
Windows XP computer was logging in. Looks like a user account on the server
side get corrupted. The only solution was to create new accounts on both ends.

Is there more intelligent solution? Any suggestions would be greatly
appreciated.

In most cases login scripts fails because of some problem
in the scripts themselves. Implementing automatic
logging helps in most cases to resolve the problem.

@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
.... (other login commands)
pause

Now examine c:\test.log after you think that the login script has
failed. If it bears a current time stamp then it obviously did not fail!
 
Back
Top