Link to home
Start Free TrialLog in
Avatar of PAULADAMSJR
PAULADAMSJRFlag for United States of America

asked on

Mapping users using batch file

Greetings, I am just setting up a brand new Active Directory domain on a windows 2003 standard server. I have about 50 employees and project this to double within 6 months or so. Simply put, my question is this:

If I have a shared folder on my server and want a user to map to that folder, how can I setup a batch file to do this ?
example:  the share might be  \\servername\humanresources\

How can I tell my active directory to map someone to that share everytime they login ?  Please help !!  :-) This is urgent..I gotta get this project done today if at all possible

pa -
ASKER CERTIFIED SOLUTION
Avatar of Stephen Manderson
Stephen Manderson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Once you have made you're batch place it in C:\Windows\SYSVOL\sysvol\domain.com\scripts (I think is the path)

Then to assign the login script

Open the Group Policy Management Console
Select you're GPO for the users/group you are applying the script to.
Edit the Group Policy(Right Click)
Then go to
User Configuration > Windows Settings > Scripts > Logon
Open it and Add, then select the batch file from the sys location.

Steve

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial