Computing.Net > Forums > Windows NT > Nt server log on script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Nt server log on script

Reply to Message Icon

Name: ali
Date: August 30, 2002 at 23:09:27 Pacific
Comment:

I am trying to implement a log on script to where it maps the folder from the server depending on what there username is and the folder is named the same as the username can someone please help me out with this..



Sponsored Link
Ads by Google

Response Number 1
Name: alex
Date: August 30, 2002 at 23:21:43 Pacific
Reply:

ok create a bat file which will have the exactly following;

NET USE U: //server1/%usernmae$%

Change the Server1 to your PDC's name. When script runs %username% will appear as the username, will look like that:

NET USE U: //server1/bill$

if user bill was logging on.
It will map bill$ to the Drive u.

You can also map other driver by putting into the batch file stuff like that:

NET USE x: //server1/resources
Net Use t: //server/sharename

Then safe the file as .bat into:

Winnt/system32/repl/import/scripts

After that in the User's property box type in the .bat file name, and it should run when the user logs on the workstation in ms dos window and connect all shares



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Nt server log on script

Windows Log on Scripts www.computing.net/answers/windows-nt/windows-log-on-scripts-/17167.html

What is a log on script and.... www.computing.net/answers/windows-nt/what-is-a-log-on-script-and/14692.html

NT Server - Log Users' Activities www.computing.net/answers/windows-nt/nt-server-log-users-activities/20850.html