Mapped network drives give users a drive letter (e.g. G:) that points to a file share so they can open files from File Explorer without typing UNC paths. In Microsoft Intune you can deploy mappings with scripts (e.g. net use or New-PSDrive) or with configuration profiles that use imported ADMX (administrative template) policies. Using ADMX gives you policy-based, persistent mappings that survive logoff and align with Windows Group Policy. This guide walks through importing the required ADMX files, creating a profile that maps a drive, and assigning it to users.
Ways to map drives in Intune
You can use PowerShell or remediation scripts that run net use or New-PSDrive, or Settings Catalog / Administrative Templates. Importing a custom ADMX template that defines drive-mapping policies lets you configure drive letter and UNC path in the Intune UI and push it as a user policy, with mappings that persist and are managed centrally.
What you need
You need permission in Intune to import ADMX files and create configuration profiles. Devices must be able to reach the file server: DNS must resolve the server name, SMB (e.g. port 445) must be allowed, and routing must be in place. Devices can be hybrid Azure AD joined or Azure AD joined. For Azure AD joined devices that access on-premises shares, you typically need Azure AD Connect or Azure AD Cloud Sync, DNS suffix (e.g. via DHCP), and Seamless Single Sign-On (SSO) so users authenticate to the file server without extra prompts.
Import the ADMX files
Intune doesn’t include drive-mapping policies by default. You add them by importing ADMX/ADML files under Devices → Configuration → Import ADMX in the Microsoft Intune admin center.
You need two sets of files. The DriveMapping template depends on the Windows template, so import Windows first.
- Windows.admx and Windows.adml – From
C:\Windows\PolicyDefinitions\and...\en-US\on any Windows 10/11 PC. - DriveMapping.admx and DriveMapping.adml – Custom template (from Microsoft or community) that adds drive-mapping policies.
In the DriveMapping ADMX file, the <using prefix="windows" namespace="Microsoft.Policies.Windows" /> line indicates the Windows dependency.
Navigate to Import ADMX in Intune.
Click Import, select Windows.admx and Windows.adml, then Next and Create.
Select Windows ADMX and ADML files.
Windows ADMX import in progress.
Windows template available after import.
Import the DriveMapping template: click Import again, select DriveMapping.admx and DriveMapping.adml, then Next and Create.
Select DriveMapping ADMX and ADML files.
Both templates listed under Import ADMX.
Create the configuration profile
Go to Devices → Configuration → Create → New policy (or Create profile).
Create a new configuration profile.
Set Platform to Windows 10 and later, Profile type to Templates, and choose Imported Administrative templates. Click Create.
Select Imported Administrative templates.
On Basics, enter a name (e.g. “Network drive mapping – Department share”) and an optional description. Click Next.
Profile name and description.
On Configuration settings, expand User configuration and find the drive-mapping policies (often under a “DriveMapping” or similar node). Open the policy for the drive letter you want (e.g. G:, H:). Set the policy to Enabled and enter the UNC path (e.g. \\server\share or \\fileserver.company.com\departments). Save the setting.
User configuration and drive letter selection.
Configure enabled and UNC path.
On Assignments, add the user groups that should get the mapped drive. Finish with scope tags if needed, then Review + create and Create.
Assign profile to user groups.
Verify
Open the profile and check deployment status. Once the policy applies, the drive should appear in File Explorer for assigned users. Users may need to sign out and sign back in, or restart, before the mapping shows. The mapping is persistent and will reconnect at sign-in.
Deployment status for the profile.
Mapped drive in File Explorer.
Tips
Use clear profile names (e.g. which drive letter and which share). Test with a pilot user group first. Check that drive letters don’t clash with existing mappings or removable drives. For Azure AD joined devices hitting on-prem shares, confirm Seamless SSO and DNS are correct before rolling out.
Summary
To map a network drive with Microsoft Intune: import Windows.admx/adml and then DriveMapping.admx/adml under Devices → Configuration → Import ADMX. Create a configuration profile with platform Windows 10 and later, profile type Templates, template Imported Administrative templates. In User configuration, enable the policy for the desired drive letter and set the UNC path. Assign the profile to the right user groups. Mappings are persistent and managed from the Intune portal; ensure devices can reach the share and, for Azure AD joined devices, that Seamless SSO is configured for on-premises file servers.