Solved

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

Posted on 2007-11-30
8
170 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RRAS AND DNS 15 68
Generate HTML report about DHCP server 2003 1 49
domain controllers numbers 4 97
SSIS Paramater on start 2 21
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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