General discussion

Locked

Windows2000 Client Logon Script

By michael.ratzel ·
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,Win9. 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?

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Windows2000 Client Logon Script

by mark_lt In reply to Windows2000 Client Logon ...

why not use usrmngr to set the home dir ?

connect u: TO \\server\share\user

Collapse -

Windows2000 Client Logon Script

by michael.ratzel In reply to Windows2000 Client Logon ...

It is set M: \\server\share\user. It has had no effect, except as expalined in the question.

Collapse -

Windows2000 Client Logon Script

by jrowe In reply to Windows2000 Client Logon ...

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.

Collapse -

Windows2000 Client Logon Script

by michael.ratzel In reply to Windows2000 Client Logon ...

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.

Collapse -

Windows2000 Client Logon Script

by maxwell edison In reply to Windows2000 Client Logon ...

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

Collapse -

Windows2000 Client Logon Script

by maxwell edison In reply to Windows2000 Client Logon ...

.
.
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

Collapse -

Windows2000 Client Logon Script

by Shanghai Sam In reply to Windows2000 Client Logon ...

Thanks for the insight. Sorry it took so long to respond.

Collapse -

Windows2000 Client Logon Script

by michael.ratzel In reply to Windows2000 Client Logon ...

This question was closed by the author

Back to Windows Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums