Solved

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

Posted on 2007-11-30
8
172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

705 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