Discussion Locked

Windows2000 Client Logon Script

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We are running NT Server 4.0 with 400+ clients. We use a logon script that uses the following command to assign the user their home directory as the M: drive:

net use m: /home /y

This script command works with all other clients (Win95, WinNT,Win98). However it does not execute with Win2000 clients at logon. However, if the user reexecutes the script after logon it does assign the drive. Can anyone tell me why or how to get it to execute correctly in the logon process?

8 replies

by jrowe

Try creating a separate logon script to test, turn echo on and put a pause right after the command to see errors. I believe you are putting the home drive and directory in user manager and that points to M: ?. If so you may not need this in you logon script for your NT or 2000 clients. I did find that if you are using the home dir in userman in 2000 it will make the home directory the top level and the users will not see anything on that drive except there files if you map all the way down ie \\serv\share\username. in the home dir.

by michael.ratzel

I rem'd the net use command for the User's home directory since it is defined in the UsrMgr Profile. It works great with every other client except Win2000. It loads up every other drive except the user's home directory.

by maxwell edison

Greetings,

To install the auto-login script for windows 2000:

Go to My Computer.

Double Click Control Panel.

Double Click Network and Dialup Connections.

Right Click Home (or whatever you named it) this will bring up a pull-down menu, select Properties.

Select the Security tab and put a check next to Run script.

Click on the browse button.

If you placed the home.scp file in:

C:\WINNT\system32\ras\ you should see the file as soon as you click the browse button, otherwise you will have to browse until you find the directory that you downloaded the bcpl.scp file to.

Once you have found the home.scp file click on it and click the open button. You will notice that the entire directory path and name of the file will now appear in the Script File/File Name box.

Make sure there is no check next to Show Terminal Window.

Click Ok.

You may have to adjust for you file names/locations.

Good luck,

Maxwell

by maxwell edison

.
.
To login into your local machine and have a login script be performed, and you want the script to reside on your machine:

On the local machine, create the folders c:\winnt\system32\repl\import\scripts (just like they exist on a server), andplace the batch file that you want to run as a script in the folder. Then open User Manager (Start, Programs, Administrative Tools), and double-click the user to have it applied to. Enter in the name of the login script batch file: you don't have to enter the path. You don't even need to be hooked up to a network for the script to run.

Maxwell

This discussion is closed to new replies.