Skip to content

2026

Map Network Drive using Group Policy (GPO)

  1. Create and link a GPO.
  2. Publish a shared folder in Active Directory.
  3. Configure GPO settings for drive mapping.

Prerequisites

  • Admin privileges on AD domain controller.
  • AD Org Units (OUs)
  • Shared Network Folder
    • Accessible via UNC Path (\servername\sharename)
    • Have appropriate permissions (Ex. Read / Write)
  • Access to Group Policy Management Console (GPMC) to create new GPOs, Link GPOs to OUs or groups, Edit drive mapping preferences
  • Drive Letter List

Main Steps

Step 1: Create a Group Policy Object (GPO)

A new GPO is required to define the settings for network drive mapping. Here’s how to create it:

  1. Log in to the Domain Controller Use an account with administrative privileges. Open the Server Manager dashboard.
  2. Access Group Policy Management Navigate to Tools > Group Policy Management from the Server Manager.
  3. Expand Your Domain Name Locate your domain in the left-hand navigation pane. Expand it to reveal the Group Policy Objects folder.
  4. Create a Copy of the Default Domain Policy Drag the Default Domain Policy to the Group Policy Objects container. When prompted, click OK to authenticate the copy process.
  5. Rename the Copied GPO Right-click the copied policy and select Rename. Use a descriptive name, such as “Map Accounts Share.”

At this stage, you have created a new GPO, which will later contain the drive mapping settings.

To apply the policy, you need to link it to the relevant OU where the users or computers reside.

  1. Drag the GPO to the Target OU Locate the OU (e.g., HR, IT, or Sales) in your Active Directory structure. Drag and drop the newly created GPO onto the target OU.
  2. Confirm the Link Click OK when prompted to authenticate the linking process.Background Image
  3. Verify the Link Expand the target OU in the Group Policy Management Console (GPMC). Ensure the GPO is listed under the Linked Group Policy Objects section.

This step ensures that the settings defined in the GPO will apply only to the specified OU.

Step 3: Publish the Shared Folder in Active Directory

Before mapping the drive, the shared folder must be published in Active Directory.

  1. Log in to the Domain Controller Use administrative credentials. Open the Server Manager dashboard.
  2. Open Active Directory Users and Computers Navigate to Tools > Active Directory Users and Computers.
  3. Select the Target Container Locate the container (e.g., Computers, Users, or a custom container) where you want to publish the share.
  4. Create a New Shared Folder Right-click the container, select New, and choose Shared Folder. The New Object – Shared Folder window will appear.
  5. Enter the Folder Details Name: Assign a name for the shared folder (e.g., “HR Shared Files”). Network Path: Enter the path to the folder in the format \ServerName\ShareName.
  6. Click OK Save the shared folder details.

Publishing the folder makes it discoverable by the Group Policy Management Console for mapping.

Step 4: Configure the GPO to Map Network Drives

With the shared folder published, configure the GPO to map the drive.

  1. Edit the GPO In Group Policy Management, right-click the GPO created earlier (e.g., “Map Accounts Share”) and select Edit.
  2. Navigate to Drive Maps In the Group Policy Management Editor: Go to User Configuration > Preferences > Windows Settings > Drive Maps.
  3. Add a New Mapped Drive Right-click Drive Maps and choose New > Mapped Drive. This opens the New Drive Properties window.Background Image
  4. Configure General Settings In the General tab, set the following: Location: Click the three-dot icon and select the shared folder you published. Reconnect: Check this box to ensure the drive reconnects after each login. Drive Letter: Choose a specific letter or use the option “Use the first available starting at” to let Windows assign one automatically.
  5. Configure the Common Tab Switch to the Common tab and check these options: Run in logged-on user’s security context: Ensures the drive maps under the user’s credentials. Item-level Targeting: Allows targeting based on user or computer attributes.
  6. Set Item-Level Targeting Click the Targeting button to define conditions: New Item: Specify the criteria (e.g., user belongs to a specific OU or group). Confirm and apply the settings.
  7. Save and Apply Click Apply and OK to save the configurations.
  8. Force Group Policy Update on Clients Run the command gpupdate /force on a client machine to apply the new settings immediately.

Step 5: Verify the Mapped Drive

  1. Restart a Client Machine Reboot a machine within the target OU.
  2. Check Mapped Drives Open File Explorer and navigate to This PC. Confirm that the mapped drive appears with the assigned drive letter and shared folder name.

Troubleshooting Common Issues

Even with a properly configured Group Policy Drive Mapping, you may encounter issues that prevent mapped drives from appearing or functioning correctly. Use this troubleshooting guide to identify and resolve common problems.

1. Group Policy Object (GPO) Not Applying

Symptoms: The mapped drive does not appear on client machines.

Solution:

  • Verify that the GPO is correctly linked to the intended Organizational Unit (OU).
    • Open Group Policy Management and confirm the GPO is listed under the Linked Group Policy Objects for the target OU.
  • Check if the client machines are part of the domain and reside in the correct OU.
  • Ensure the GPO is enabled and not blocked by inheritance settings.
    • In the GPO’s properties, confirm that Enforced is selected, if necessary.

Additional Check:

  • Run gpresult /h gpresult.html on the client machine to generate a detailed report.
    • Open the report in a browser and look for the GPO under Applied Group Policy Objects.
    • If it’s missing, check the GPO link and replication settings.

2. Incorrect Network Drive Mapping

Symptoms: The drive maps to the wrong location or with the wrong drive letter.

Solution:

  • Double-check the Location field in the GPO configuration:
    • Ensure it points to the correct shared folder path (e.g., \ServerName\ShareName).
  • Confirm that the assigned drive letter is not already in use on the client machine.
    • Use the New Drive Properties window in GPO to select an available drive letter.

Additional Check:

  • Test the shared folder manually on the client machine:
    • Open Run (Windows + R) and type the network path (e.g., \ServerName\ShareName).
    • Verify that the folder is accessible.

3. Permissions Issues

Symptoms: Users see an error message or cannot access the mapped drive.

Solution:

  • Review the permissions of the shared folder:
    • In the folder’s properties, go to the Security tab.
    • Ensure the target users or groups have the required permissions (e.g., Read or Full Control).
    • Verify the permissions on the Sharing tab as well.
  • Check that the shared folder is accessible from client machines:
    • Use a test account within the targeted group to verify access.

4. Group Policy Updates Not Propagating

Symptoms: Changes to the GPO are not reflected on client machines.

Solution:

  • Manually force a Group Policy update on the affected client machine:
    • Open Command Prompt as an administrator.
    • Run gpupdate /force.
  • Confirm that the Group Policy service is running on the client machine:
    • Open Services and look for Group Policy Client.
    • If stopped, restart the service.

Additional Check:

  • Verify network connectivity between the client and domain controller.
    • Run ping DomainControllerName to test connectivity.

5. Mapped Drive Not Reconnecting After Restart

Symptoms: The drive disappears after the user logs out or reboots.

Solution:

  • In the New Drive Properties window under General, ensure the Reconnect box is checked.
  • Confirm that the option Run in the logged-on user’s security context is enabled in the Common tab.
  • Check for any conflicting login scripts that might override the GPO settings.

6. Issues with Item-Level Targeting

Symptoms: Mapped drives are not applied to specific users or groups.

Solution:

  • Review the item-level targeting conditions in the GPO:
    • Open the Common tab in the New Drive Properties window.
    • Click the Targeting button and ensure the conditions (e.g., user or group membership) are correct.
  • Test the targeting rules with a sample account to verify accuracy.

Additional Check:

  • If the targeting involves an OU, confirm that the user or computer is placed in the correct OU within the Active Directory.

7. Slow Login Due to Drive Mapping Delays

Symptoms: Users experience slow login times when the drive mapping is applied.

Solution:

  • Optimize the GPO by reducing unnecessary policies linked to the same OU.
  • Check the performance of the shared folder’s hosting server.
    • High latency or resource limitations on the server can delay drive mapping.
  • Enable asynchronous processing for drive mappings:
    • In the Common tab, select Run in the logged-on user’s security context to speed up application time.

8. Network Issues Affecting Mapping

Symptoms: Drives fail to map when users log in from remote locations or unstable networks.

Solution:

  • Ensure VPN users can access the shared folder.
    • Verify that the network path (e.g., \ServerName\ShareName) is reachable over the VPN.
  • Consider using offline files for critical shares to ensure access even when disconnected.
  • Recommend upgrading to a cloud-based solution like V2 Cloud for remote users to avoid dependency on local network drives.

References