Dynamically assigning drive letters when deploying drive mappings via GPO

Posted on 2012-09-20
Medium Priority
Last Modified: 2012-10-21
I'm deploying mapped drives by using server 2008r2 GPO's.

I currently have 40 GPO's for the various mappings I need to give and 40 Security groups which I use for the security flitering in the relevant GPO.

For example: If I had a GPO Called Finance to give a drive mapping to a Finance folder, I'd also have a security group called finance in which the relevant users would sit. This finance security group is the only thing specified in the security filtering.

When a user is a member of one the security group there's no problem, however when a user is a member of multiple security groups they'll only get the mapping for the GPO that's applied first. Now I know this is down to the policies trying to use the same drive letter and I could go through each policy making sure there were no conflicts but i'd rather do the drive letter assignment dynamically. Does anyone know a way of achieving this?
Question by:rutc2008
  • 4
  • 2
LVL 18

Expert Comment

by:Sarang Tinguria
ID: 38418830
You may use * instead of drive letter
for eg

net use * \\UNCPATH

this will assign the available drive letter

Expert Comment

ID: 38421427

Author Comment

ID: 38427829
net use *\\UNCPATH

Isn 't that a script you're talking about?

I'm trying to get away from using scripts to deploy the drives, I want to use GPO's.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Author Comment

ID: 38427836
"I think GPP is better than GPO for your drive mapping
GPP allow you more granularity for security filtering."

Whether GPP is better or not it doesn't address my problem, the drive letters won't apply dynamically if If I filter security using GPP.

Expert Comment

ID: 38430143
Yes you can apply dynamically. Check the second screen shot Drive Letter - Use the first available, starting at.

Accepted Solution

rutc2008 earned 0 total points
ID: 38440634
Doesn't work when multiple drive map policies are applied to the same user, they just get the one drive which is what I said in the question.

Author Closing Comment

ID: 38518511
No Solution

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

807 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