Solved

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

Posted on 2007-11-30
8
166 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

15 Experts available now in Live!

Get 1:1 Help Now