question

CalvaryIT-8530 avatar image
1 Vote"
CalvaryIT-8530 asked MauriceMarquis-1986 commented

GPO - Drive mapping

The majority of authenticated users are entitled to an H drive, a personal place to store their work related data/file. A home directory is typically the way to provide this personal space, and as you well know, this has been accomplished via login scripts. With a script mapping home directories was always simple using the %username% variable. How can the same variable, or its equivalent, be reliably used when implementing drive mappings using GPO to map drives?

windows-server-2019windows-group-policy
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @CalvaryIT-8530 ,

Thank you so much for posting here.

We are checking in to see if the provided information was helpful. If the reply is helpful, we would appreciate you to accept it as answer.

Please let us know if you would like further assistance. Thanks.

Best Regards,
Hannah Xiong

0 Votes 0 ·

Hello @CalvaryIT-8530,

Does this question have any update or has this issue been solved? Also, for the question, is there any other assistance we could provide?

Besides, there is email notifications function on this forum. It is suggested that we could set it up so that we could receive prompts for responses in time.
https://docs.microsoft.com/en-us/answers/articles/67444/email-notifications.html

Thank you so much for your time and support.

Best regards,
Hannah Xiong


0 Votes 0 ·

1 Answer

udara avatar image
0 Votes"
udara answered MauriceMarquis-1986 commented

You can do this by editing setting in following path of GPO,
Navigate to User Configuration -> Preferences -> Windows Settings -> Drive Mappings

  1. On the GPO right click and select edit

  2. Navigate to User Configuration -> Preferences -> Windows Settings -> Drive Mappings

  3. Right Click Drive Mappings, Select New – > Mapped Drive

  4. Configure Drive Mapping Properties

General Tab Settings
In location put the path to the share/folder you want to map a drive to.
Select a drive letter
Choose Update for action
Label as: This is optional but may be beneficial for users.


Common Tab Settings
Select “Run in logged on users’s security context
Select Item-level Targeting
Click the Targeting Button

Select New Item
Select Organization Unit then select the OU you want to target

Click OK, Click OK again to close the new drive properties
This completes the GPO settings

Refer following for guidance with Screenshots.
https://activedirectorypro.com/map-network-drives-with-group-policy/


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This answer explains very well how to map one network location to many users.
The question was, how to map a different network location to each user.

0 Votes 0 ·