FAQ for Log Info v3.00 |
Windows NT/2000/2003/2008 Login Script Tips
There are two things that you have to do to begin using your login script. First, every domain controller that may run the script (that your users may log into) must have a copy of the script in the netlogon share. This shared directory is actually the c:\WINNT\system32\Repl\Import\Scripts directory. You can copy the files there manually, or you can set up replication using the NT replication service. Although we haven't tried using this service for a while (it may have gotten better with recent service packs), we found it somewhat unreliable. You may wish to create another batch file for the purpose of copying the login script to all of the servers after making changes.
The second thing that you must do is configure each user to run the login script. This is done through User Manger. Double-click on a user in User Manager to bring up the User Properties page, and then click the Profile button. In the field "Login Script Name" enter the name of the batch file that you created - in my case, login.bat. A handy thing to keep in mind is that you can use this feature to test subsequent versions of your login script. If you are adding a new section to the script, give the updated script a different name, and pick a handful of users to test the new script by entering the new name in the field mentioned above. Once you are certain the new script will work, you can replace the original with the new one.
Although the implementation of login scripts has changed dramatically in Windows 2000, the commands that are contained in it are the same. Once you master the Windows NT4 login script, using Active Directory will be just another step
Want some tips and tricks for Windows NT/2000/2003/2008 login scripts? See these resources:
WindowsNetworking.com