Solved

Map My Documents Network drive per user via Group Policy

Posted on 2014-04-28
3
1,070 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
3 Comments
 
LVL 15

Accepted Solution

by:
WalkaboutTigger earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 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

13 Experts available now in Live!

Get 1:1 Help Now