• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1594
  • Last Modified:

How to configure a GPO to auto map network drives for all users?

Hi guys, I have many SBS 2003 systems running in the field and I have always just mapped the drives manually for each user as most are less than 25 users.
I have a client who has steadly grown over the past 3-years and now we are going to install a new SBS-2003 server that will have approximately 48 users who need about 22 drives mapped in a consistant manor.
I'd like all users to have the same mappings each time they log in. In the past I have also used the format: net use drive: \\server\share\%username% /Y
But have been told there is a much faster and more reliable method available by configuring a GPO within AD.

Is this the best way to achieve the mappings or should I go another route?

Thanks and my best!
1 Solution
> "But have been told there is a much faster and more reliable method available by configuring a GPO within AD."

Group Policy Objects do not map network drives, per se.  Rather, you can use GPOs to assing login scripts, which can then run as many "net use" commands as you'd like.  This has the advantage of being able to configure the login script in the GPO -once-, rather than manually mapping multiple drives for multiple users.  

Tutorial on assigning login scripts via GPO can be found here: http://www.rlmueller.net/LogonScriptFAQ.htm
Farhan KaziSystems EngineerCommented:
>> "But have been told there is a much faster and more reliable method available by configuring a GPO within AD."

You can create custom ADM file for use with Group Policy to map drives.
Have a look at following:

Brian PiercePhotographerCommented:
Running a logon script via a GPO would be a good option see http://homepages.ius.edu/JHOLLY/a247/labs/LogonScript.htm

As the the same mappings are required for all users then you could also define them and copy them to the default user profile. http://support.microsoft.com/kb/319974
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
On SBS you don't want to do this in a GPO.  Instead, use the SBS_LOGIN_SCRIPT.bat file as described in this blog post:  http://sbsurl.com/login

I would recommend that you do not use either a login script via GPO or a default user profile either... both of these are methods which work against SBS's native configuration.


Magothytech1Author Commented:
This option worked best for us - Great job!
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Terrific.  Glad to help.


P. S.  to KCTS... once again you have posted a recommendation that is not valid on SBS.  I will ask that you PLEASE be careful when providing answers for SBS-based networks.  Creating a custom user profile on a workstation would NOT be appropriate in a domain-based network, especially one with SBS because of SBS's profile migration methods.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now