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!
 

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

Back
Top