Solved

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

Posted on 2007-11-30
8
171 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

732 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