Discussion Locked

Logon scripts

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to set up logon scripts for my users and it isn't working. I am running NT4 with SP6 as my PDC. I have created the batch files and placed them in C:\winnt\system32\repl\import\scripts which I understand to be the default location. I put the name of the file (logon.bat)in the Script name dialog box in the User Profile. It does not work. The batch file works if I run it locally but not when I log in. At the moment all I am trying to do is map network drives. What am I doing wrong?

6 replies

by shmaltz

Are the clients windows 9x machines or NT/2K?
If it's not NT/2K then you have to make sure that the clients log on to the domain in order for the scripts to run. You do that by selecting the check box Log on to NT Domain in the network > client formicrosoft network properties, and enter the name of the doamin.

by ctmoore1998

1. 9x workstations -ensure pc is set to logon to domain in network neighbor properties microsoft client properties log in to domain xxxxxx.
2K XP workstations - use wizard to join the domain.
If for any reason you don't wan't the workstation in the domain you can put the script in the start folder on workstation.

2. Assuming that the 9x client is logging into the domain properly. Open a DOS prompt and run script from cmd line. look for any errors to be reported such as syntax etc. if there are any errors shown correct them and retry. Once script works with out any errors it should work from the server. IF THERE ARE ANY ERRORS REPORTED FROM SCRIPT THEN USING FROM THE LOGON SCRIPT WILL FAIL MOST LIKELY.

This discussion is closed to new replies.