Group Policy Object - Mapping DrivesI'v

Posted on 2016-10-10
Medium Priority
Last Modified: 2016-10-11
I'm using Windows Server 2012 R2 and have created a GPO for mapping drives.  I have two drives:

\\server\docs\Public - mapped to N:
\\servers\docs\Private\%username% - mapped to P:

The second is not working.  Am I using the wrong environment variable?  Do I need to CREATE that username folder FIRST so it actually exists?

Thank you
Question by:Michael
LVL 85

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 500 total points
ID: 41837809
Yes before you create the mapping the share must exist
LVL 26

Assisted Solution

by:Sekar Chinnakannu
Sekar Chinnakannu earned 500 total points
ID: 41837813
As Dave said you need to create the folder then add \\SERVER\SHAREFOLDER\%LOGONUSER%

Expert Comment

by:Niten Kumar
ID: 41837824
If you want to create a private folder for each user then you have to enter the following:


under Profile -> Home folder for each user account.

Accepted Solution

Casey Weaver earned 1000 total points
ID: 41839381
Make sure your file server's permissions are correct on the root of the share. This is my favorite article on the internet for getting those permissions right: https://blogs.technet.microsoft.com/migreene/2008/03/24/ntfs-permissions-for-redirected-folders-or-home-directories/

Author Comment

ID: 41839460
Thanks guys!  Casey, the article was great.  I've bookmarked for future reference!

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The Windows Firewall provides an important layer of protection and a rich interface to configure it. Unfortunately, it lacks item level filtering. This article details my process of implementing firewall-as-code to reduce GPO bloat.
Read this tutorial to learn how to fix repeating password error prompts when setting up Gmail IMAP with Microsoft Outlook. The entire process is described with step by step, illustrated instructions. Enjoy...
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

619 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