Create & link a new gpo.Open the group policy management console.
Make sure that you have shared the folder/drive so that other users can access it.Automating group policy preferences drive mapping with powershell [video] they sell a tool for this use case called.Note any scripts and their associated gpos.
'group policy automation engine (gpae)' sdm software's group policy automation engine (gpae) provides the industry's only powershell interface for automating the reads and writes of group policy settings.Give the policy a name, for example, upo_drive_maps.
The restore process should go quickly.Group policy preferences (aka gpp) and its drive map option are features included in active directory.Tested and work this way.
Open run command window > type gpmc.msc > click ok.This will be a user based gpo so make sure you link the gpo to a location that will target the users.
I got a simple new network drive map config set up in the default domain policy:Leaving us to simply configure the preference item and link the gpo.One user account is moved from one ou to another, the user should stop to map the drive), in update mode, the drive will not be removed and the user will keep it even if he should not.
Open the group policy management console.Just to be clear you must have folders setup on a network share that matches the location and users logon name.
From the group policy operational logs, we observe that the group policy was processed and the group policy preferences were applied successfully.
Last update images today Mapped Drive Group Policy Preferences