Solved

Map My Documents Network drive per user via Group Policy

Posted on 2014-04-28
3
1,126 Views
Last Modified: 2014-04-28
I would like to add a line to our Group Policy logon script that automatically creates a network drive for a user that connects to their Document folder on the file server so that no matter where someone logs in they get a network drive to their documents.

Currently this is set up at \\fileserver\users\%username"\My Documents

Thanks in advance!
Joe
0
Comment
Question by:joemckamey
[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
3 Comments
 
LVL 15

Accepted Solution

by:
WalkaboutTigger earned 500 total points
ID: 40027999
net use H: "\\fileserver\users\%USERNAME%\My Documents\"

should be all that is needed to add to the existing GPO login script, as long as the H: drive (or whichever letter you choose) is not already in use for a network or local resource.

I would also recommend always using the first quote before the double backslash and the end quote after the full name of the UNC path.
0
 
LVL 3

Expert Comment

by:bmurray-vb
ID: 40028164
I'm assuming that you're doing folder redirection via group policy as well?  If so, if you're declaring a \\%homedrive%\%homepath%\  variable in the folder redirection, this will happen automatically if you use  "Connect (drive letter) to \\servername\%username%" in the Profile tab of ADUC.   (without having to do anything with a login script)
0
 

Author Comment

by:joemckamey
ID: 40028250
That worked for me walkaboutigger...

Thank you for the response bmurray-vb.  The person that set up my network didn't do it that way - I would like to learn about that but I am more of just a "manager" of the network and not really an IT guy...

Thanks!
Joe
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

729 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