General discussion

Locked

Logon script

By spouye ·
Does anybody know how to configure a logon script step by step, so that all my users will have the same mapped drive anywhere they log onto.

Here is my scenario:I have one server named server(Domain Controller) and another named
application(file server). I'd like to have the following mapping for all my users: \\application\d and let's say i have 3 users: John, Sam and James.
Where do i exactely write the logon script? From the domain controller?
Do I need to logon as an administrator? Is it done from DOS or Active Directory Domain and Users? How to copy to each one of them then?

Thank you so much1

This conversation is currently closed to new comments.

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

All Comments

Collapse -

Try this

by Jellimonsta In reply to Logon script

Assign a Home Directory to a Domain User
NOTE: To specify a network path for the home directory, you must first create the network share and set permissions that allow the user access. You can do this with Shared Folders in Computer Management on the server computer.

To assign a home directory to a domain user:
Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
In the Details pane, right-click the applicable user account, and then click Properties.
In the Properties dialog box, click the Profile tab.
Under Home folder, type the directory information.

You can also find details on the MS site here:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q320043&

Take any spaces out of the URL.

Collapse -

Home Dirs easiest for your scnario

by ghstinshll In reply to Try this

Since you aren't a high-tech setup, just give them permissions to those drive shares, and then set them in the Home Directory setting under their profile in AD.

Collapse -

Net Use

by ghstinshll In reply to Home Dirs easiest for you ...

It took me a few minutes to remember this...

or in notepad, write this:

net use N: \\servername\sharename

then save the file with a .bat extension on it instead of .txt, and place it in the netlogon dir on the server. In the user's profile, type the file name in the script option for the users...

You now have a basic script... You can add more commands later on if you wish.

Collapse -

by Mr. Pena In reply to Logon script

TRY THIS
ECHO [Setting Network Drives]
NET USE S: "\\DOMAINCONTROLLER\SHARENAME"
NET USE T: "\\FILESERVER\SHARENAME"

PASTE THE ABOVE THREE LINES AND PUT THEM IN A NOTEPAD,MODIFY THE NAMES TO MATCH YOUR REQUIRMENTS THEN SAVE IT WITH .BAT EXTENSION.
COPY YOUR .BAT FILE AND PLACE IT ON \\PDC_NAME\WINNT\SYSTEM32\REPL\EXPORT\SCRIPTS

AFTER THIS IS DONE, IN USER MANAGER FOR DOMAINS, DOUBLE CLICK ON THE USER , CLICK ON THE "PROFILE" BUTTON AND UNDER "LOGON SCRIPT NAME" TYPE IN THE .BAT FILE YOU CREATED. NEXT TIME THE USER LOGS ON, THEY WILL GET THE MAPPED DRIVES.

MR PENA

Collapse -

Login scipt configuration

by kumarmani In reply to Logon script

HI

1. Crete a batch \\winnt\sysvol\domain\sripts\ (your 2000 ADS server netlogon directiory ) John.bat
net use o: \\application\d (this should permission for that user)

2. john.bat file shouls be in go to administrative tools usermanager userprofile
login scipt name :johan.bat

remaining for 2 users like above passion

thats all

reply mail

Collapse -

Login scipt configuration

by kumarmani In reply to Logon script

HI

1. Crete a batch \\winnt\sysvol\domain\sripts\ (your 2000 ADS server netlogon directiory ) John.bat
net use o: \\application\d (this should permission for that user)

2. john.bat file shouls be in go to administrative tools usermanager userprofile
login scipt name :johan.bat

remaining for 2 users like above passion

thats all

reply mail

Back to IT Employment Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums