Question Locked

How to assign group drive letter

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

Server platform: win2003, user platform: XP

I want to assign a map a drive to a group of users:

Example:

Group G1 has members: user1 and user2.

When user1 and user2logs in, network g: drive is assigned wich maps to a G1 folder.

Can I assign a login script to a group? What are my options? Thank you.

3 replies

by ashij

Hi! Besides BWILMOT's suggested way, there's another way that you can use to map network drives to users using Active Directory.

You can create a simple batch script using notepad with something like this:

net use G: /delete
net use G: \\fileserver\G1_folder\

This way when user as soon as the user logs on, the drive is mapped to him. the file name should end with the extension ".bat" without any spaces. (e.g. drivemap.bat)

[b]Now, here is how you implement the file to the user's account:[/b]
The default location for a logon script on your server is: %systemroot%\System32\Repl\Imports\Scripts. If you want to store logon scripts in this directory, it must be shared and the share name must be Netlogon. However, you can store logon scripts in a different directory. Keep in mind that the folder must be shared with atleast read permission for everyone

To assign a logon script to a user account, complete the steps outlined below.

1. Click Start and click Control Panel.
2. Double click the Administrative Tools applet.
3. Double click the Computer Management applet.
4. Expand Local Users and Groups.
5. Click the Users container.
6. Right click the appropriate user account and click Properties.
7. Select the Profile tab.
8. Under Logon Script, type in the path and the file name of the logon script.(note: no need to type file path if script stored in the above mentioned directory, just filename.bat)
9. Click OK.

Ash

This discussion is closed to new replies.