Solved

How do I add a mapped drive to client machines? Server 2003 R2 network

Posted on 2007-11-30
8
167 Views
Last Modified: 2013-12-23
How Do I add a mapped drive (X:) to clients?
I have two types of users, one requiring a different mapped drive.
Is this possible using GPO's?
0
Comment
Question by:chinswain
8 Comments
 
LVL 17

Accepted Solution

by:
Shanmuga Sundaram earned 25 total points
ID: 20383296
0
 
LVL 77

Assisted Solution

by:Rob Williams
Rob Williams earned 25 total points
ID: 20383376
You can use a VBS script or a batch file, place it in the server's NETLOGON share (C:\Windows\SYSVOL\sysvol\<Domain name>\Scripts

Then you can either add it to the users profile in active directory on the profile page or deploy it using GPO:
User Configuration | Windows settings | Scripts (Logon/Logoff)
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20383387
By the way the batch file would be a simple text file with a .bat  extension rather than .txt and only needs to contain:

net  use  X:  \\ServerName\ShareName
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:chinswain
ID: 20383407
I thought there was a way to do this using GPO's? in 2003 R2
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20383491
There is, using Group policy mentioned above and a logon script.
There is an add-on for Group Policy that will allow you to do it directly, called Policy Maker:
http://www.desktopstandard.com/
0
 
LVL 3

Expert Comment

by:Gssc1414
ID: 20424373
Here is a step-by-step of mainly what others have said above.

1. Create a new text file using Notepad.
2. Add the following lines to the text file.
net use x: /delete
net use x: \\server\share
3. Save the file as "DesiredFileName.bat" **Make sure it's only DesiredFileName.bat and not DesiredFileName.bat.text**
4. Select the File and Copy the File.
5. On your server, Open up Group Policy Management.
6. Right-Click the Domain you want to apply the GPO to.
7. Select "Create and Link a GPO here.." -> Name the Policy something like "Map x: drive". After you select Ok, that window will close.
8. The GPO you just create will appear directly under your domain. Right-Click it and select "Edit"
9. Under "User Configuration" -> "Windows Settings" -> "Scripts(Logon/Logoff)".
10. Double Click "Logon".
11. Select "Show Files..."
12. Paste the File you copied earlier named "DesiredFileName.bat"
13. Close the window.
14. Click "Add.." Then "Browse.."
15. Select the file "DesiredFileName.bat"
16. Ok/Close out all the way until you only have the Group Policy Management open.
17. The policy is now applied you the entire domain. You can filter this using Permissions any way you like.

The policy will take a little while to be updated on all your clients (depends on the amount of workstations among other factors). You can force the client to update the group policy using the "gpupdate /force" command on the clients computer.

Hope this help....
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How often can a passive RFID be polled? 10 92
OpenVPN Speed limitation to only 10 mbps 7 88
Error 0X800704C8 - Plex App 2 35
server DNS address could not be found 22 124
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Learn about cloud computing and its benefits for small business owners.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now