Map Network Drives Using Group Policy

Problem:

Windows allows mapping shared folders as logical drives, but this is a per-workstation setting. In large organizations, there are often shared folders which must be accessed by many workstations. Adding or changing drive mappings can be highly tedious in this case.

Solution:

If the workstations are connected to a Windows domain, Group Policy can be used to deploy drive mappings to large numbers of workstations at once.

Procedure:

Ref: https://community.spiceworks.com/how_to/79280-mapping-network-drives-folders-via-group-policy

  1. Share and set permissions on the folder such that it is accessible from all desired workstations.
  2. On the server, open gpmc.msc via the Server Manager or Start > Administrative Tools > Group Policy Management.
  3. Open the domain (Forest > Domains > <Domain>). Either use an existing Group Policy Object (GPO) or create a new one by right-clicking on the domain name or one of its subfolders and selecting “Create a GPO.”
  4. In the Security Filtering section, set which Computers, Users, or Groups the policy should apply to. By default this is all Authenticated Users.
  5. Right-click on the policy and click Edit. Go to User Configuration > Preferences > Windows Settings > Drive Maps
  6. Right click on the shortcuts page and click New > Mapped Drive. Action should be set to Update (create if it doesn’t exist, update if it does), Location should be of the form \\<server>\<share>. Normally, the reconnect box should be checked, and a Label is optional. Set the drive letter that will be used for point to the share. Connect As can be used to enter alternative credentials, but in most cases this should not be necessary.

Limitations:

A reboot of the workstation may be required. gpupdate /force may also work. In practical testing it appears as though the Update operation does not always work if the mapped drive letter is already in use with a different destination.