How to Map Network Drive in Windows 10 (5 Methods)

-

|

Introduction

This guide demos 5 methods to Map Network Drive in Windows 10.

Options to Map Network Drive in Windows 10

You can Map Network Drive in Windows 10 with one of these methods covered in this guide:

  1. From File Explorer
  2. Using an Existing Network Share Shortcut
  3. From Command Prompt
  4. With Logon Script
  5. With Group Policy

Here are the details for each method

1
Map Network Drive in Windows 10 from File Explorer

Here are the steps to map a network drive using this method:

  • Right-click start menu. Then select File Explorer.
Map Network Drive Windows 10 from File Explorer
  • When File Explorer opens, click This PC.
Map Network Drive Windows 10 from File Explorer
  • Then click Computer tab.
  • Finally, click Map network drive drop-down and select Map network drive.
  • When the tool opens, at the Drive drop-down, select a drive letter to assign the network drive. If you know the full path to a network share, enter it in the Folder field using the format \\ServerName\ShareName. Then click Finish.
  • Alternatively, if you do not know the full path to the share you want to map, enter the server name in the format \\ServerName. Then click Browse. The network computer will then display all the shares. Click on the share you wish to map and click OK.
Map Network Drive in Windows 10 from File Explorer
  • Finally, click Finish. The mapped drive will open automatically (see the second image below).
Map Network Drive in Windows 10 from File Explorer
To view all all mapped drives open This PC from File Explorer.

2
Map Network Drive in Windows 10 from Existing Shortcut

Another method is to map a network share from a Shortcut. If you have an existing network share shortcut, simply right-click it and map the share to a drive.

But if you do not already have a shortcut to the share, here are the steps to create the shortcut. Then map the share to a drive.

  • Right-click anywhere on your desktop and point to New. Then select Shortcut.
  • At the first page of the Create Shortcut wizard, enter the path to the network share. Use the format \\ServerName\ShareName. Then click Next.
  • Then on the Type a name for the shortcut field, enter a name for the share or accept the default name. When you finish, click Finish. The shortcut to the network share will be created on your desktop (see the second image below).
  • To map the share to a drive on your computer, right-click the shortcut. Then select Map network drive.
  • Then select a drive letter from the Drive drop-down and click Finish.

3
Map Network Drive in Windows 10 from Command Prompt

This is one quick way to map a network share to a drive.

Here are the steps to use this method:

  • Type cmd on the search bar. Then open Command Prompt.
  • At command prompt type this command. Then press enter.
net use <drive letter> <\\ServerName\ShareName> /persistent:yes/no

Replace:

<drive letter> with the drive letter you want to map the drive to. For example K:
<\\ServerName\ShareName> with the path to the share you want to map.
Finally, for the /persistent switch specify Yes or No. Yes will reconnect the drive at eaxh logon. No will not.

Here is an actual command for this demo:

net use K: \\hypervhost\MountedImages /persistent:yes

The result of the command:

Here is the mapped drive in my This PC.

The remaining methods discussed in this guide are for Sys Admins.

4
Map Network Drive in Windows 10 with Logon Script

System Administrators can automatically map a network drive or drives using logon script.

There are 3 steps to complete this task:

  1. Create a Batch file with the commands to map the drive (s)
  2. Copy the batch file to \\DomainName.<extension>\NETLOGON
  3. Assign Users the logon script in Active Directory Users and Computers OR
  4. Assign the batch file to users using Group Policy

Create a Batch file with the Commands to Map the Drive (s)

  • Open a notepad and enter the commands similar to the commands used in the last section.
  • Here is an example
Map Network Drive in Windows 10 with Logon Script
  • Save the file with .bat extension: File -> Save As…Give the file a name then include .bat extension. Have the names in quote. See the example below. Finally, click Save. The file will look like the file in the second image below.
Map Network Drive in Windows 10 with Logon Script

Copy the Batch file to \\DomainName.<extension>\NETLOGON

The final step in this method is to copy the batch file you just created to the NETLOGON share in your domain.

Here is how:

  • Open Run command (Windows logo + R keys)
  • At the Run command enter a path similar to this below. Then press enter or OK.
\\itechguides.local\NETLOGON

Change itechguides.local to the FQDM for your domain.

  • Finally, copy the batch file you created earlier to the NETLOGON share.

Assign Users the Logon Script in Active Directory Users and Computers

After creating the logon script and copying it to the NETLOGON share, the last step to map network drive in Windows 10 is to assign the script to a user.

Here are the steps:

  • Logon to your a Domain Controller and open Active Directory Users and Computers.
  • Navigate to the AD OU or container where your users are located. It is usually Users container except you moved the users to another OU.
  • Double-click the user you wish to assign the logon script. On the Profile tab, enter the name of the batch file in the Logon Script field. When you finish, click OK.
  • When next the user logs on to Active Directory, the script will run and the drive will be mapped automatically.
For each user the logon script has to be assigned manually. You can automate this process with Group policy. See the details below

Assign the batch file to users using Group Policy

This is an alternative way to automatically assign the batch file to users.

Here are the steps:

  • Copy the batch file you created earlier.
  • Open the GPO you wish to use. This GPO must be assigned to the AD container with the users you wish to assign the batch file automatically.
  • Right-click the GPO and click Edit.
map network drive windows 10
  • When the navigate to User Configuration > Policies -> Windows Settings > Scripts.
map network drive windows 10
  • Double-click Logon. Then click Show Files….
  • When the path opens, paste the batch file. Then close the path.
The path that opened when you clicked Show Files should be similar to:
\iTechGuides.local\sysvol\iTechGuides.local\Policies{653DBD32-0F2B-483F-8BCC-608A9754605D}\User\Scripts\Logon
  • When you return to Logon Properties, click Add.
  • When Add a Script window opens, click Browse.
  • Select the script you copied earlier. Then click Open.
  • Back on the Add a Script window, click OK.
  • Finally, on the Logon Properties click OK.

When next a user logs on to Active Directory, the script will run and the drive will be mapped.

5
Map Network Drive in Windows 10 with Group Policy

For the steps to use this method click Map Network Drive in Windows 10 with Group Policy.

Conclusion

The first 3 steps in this guide should be used by end users while the last 2 are for Windows Sys Admins.

I hope you found the guide helpful. If you have a question or will like to share a feedback use the “Leave a Reply” form found at the end of this page.

For more Windows guides visit our Windows How To page.

  • Was this post Helpful?
  • YesNo

LEAVE A REPLY

Please enter your comment!
Please enter your name here

ADVERTISEMENTS

FEATURED POSTS

How to Share Amazon Wish List

How to Share Amazon Wish List

This Itechguide teaches you how to share Amazon Wish List. The guide covers steps to share Amazon Wish List from a PC...
How to Pay with PayPal on Amazon

How to Pay with PayPal on Amazon

This Itechguide teaches you how to pay with PayPal on amazon. The guide covers 2 options to pay with PayPal on amazon....
How to Export Contacts from Outlook

How to Export Contacts from Outlook

This Itechguide teaches you how to export contacts from Outlook. The guide covers steps to export contacts from Outlook (Windows 10) or...
Best 90s Movies on Netflix

The 10 Best 90s Movies on Netflix

This Itechguide reviews the 10 best 90s movies on Netflix. The movies are listed in reverse order – with the 10th movie...
How to Clear Search History on Instagram

How to Clear Search History on Instagram

This Itechguide teaches you how to clear search history on Instagram. The guide covers steps to clear search history on Instagram from...

AMAZON DEALS

TRENDING POSTS

Remote Desktop Connection

Remote Desktop Connection an Internal Error Has Occurred [Fixed]

Introduction I recently received the error message "Remote Desktop Connection an Internal Error Has Occurred". It was strange because...

Find My Samsung: Register and Use Samsung Find my Mobile

Introduction Ever wondered how you could find your Samsung phone if you lost it? Find my Samsung or Samsung...
What is the Difference Between PowerShell and CMD?

Windows Powershell vs CMD: Differences and Similarities

Introduction This short guide compares Windows PowerShell vs CMD (Windows command prompt). I will cover the history and nature...
Spotify No Longer Supports this Version of Microsoft Edge

Spotify No Longer Supports this Version of Microsoft Edge [Fixed]

Introduction When you open Spotify web player on Microsoft Edge, you may receive the error message "Spotify No Longer...
Windows 10 Won't Boot

Windows 10 Won’t Boot With Black Screen? 3 Ways to Fix It

Why Won't Windows 10 Boot Up? If your Windows 10 stops with a black screen, the first question in...

ADVERTISEMENTS

BEST OF ITECHGUIDES

DISM error 50: dism doesn't support servicing windows PE with the /online option

How to Fix DISM Error 50 in Windows 10 and Windows Server 2016

Introduction Dis you received DISM error 50: "DISM doesn't support servicing windows PE with the /online option"? This is...
How to Fix Wifi if it Stops Working After Upgrading to Windows 10 1903

How to Fix Wifi if it Stops Working After Upgrading to Windows 10 1903

Introduction This guide provides 2 fixes for Wifi not working on Windows 10 1903. The error...
How to Set Out of Office Auto Reply in Outlook, Outlook.com and Gmail

How to Set Out of Office Auto Reply in Outlook, Outlook.com and Gmail

Introduction This guide demos how to set out of office auto reply in Outlook, Outlook.com and Gmail.
WhatsApp Web QR Code Not Working

WhatsApp Web QR Code Not Working? Here is the Fix

If WhatsApp Web QR code is not working. That is, the QR codes is not getting scanned it may be caused by...
windows safe mode

2 Easy Ways to Start Windows 10 Safe Mode

Introduction In previous versions of Windows you could start safe mode by pressing F8. But in Windows 10, F8...

RECENT POSTS

How to Search for a Word in Google Docs

How to Search for a Word in Google Docs

This Itechguide teaches you how to search for a word in Google Docs. The guide covers steps to search for a word...
How to Create a Folder in Google Docs

How to Create a Folder in Google Docs

This Itechguide teaches you how to create a folder in Google Docs. The guide covers steps to create a folder in Google...
How to Check Amazon Gift Card Balance

How to Check Amazon Gift Card Balance

This Itechguide teaches you how to check Amazon gift card balance. The guide covers steps to check Amazon gift card balance from...
How to Remove Google Account from Phone

How to Remove Google Account from Phone

This Itechguide teaches you how to remove Google Account from phone. The guide covers steps to remove Google Account from Android or...
How to Watch Instagram Live on PC

How to Watch Instagram Live on PC

This Itechguide teaches you how to watch Instagram live on PC. The guide covers 2 steps to watch Instagram live on PC....

AMAZON DEALS

MUST READ

spotify no longer supports this version of chrome

How to Fix “Spotify no Longer Supports this Version of Chrome”

Introduction Have you been frustrated by "Spotify no Longer Supports this Version of Chrome" error? You are not alone!...
How to Move Files from One Google Drive to Another

How to Move Files from One Google Drive to Another

This Itechguide teaches you how to move files from one Google Drive to another. The guide covers 2 steps to move files...
bad pool header blue screen error

How to Fix Bad Pool Header Blue Screen Error in Windows 10

Introduction Bad Pool Header error is related to memory allocation issue in Windows 10. Bad Pool Header error usually...

How to Enable RSAT for Active Directory in Windows 10 (3 Methods)

Introduction This guide demos 3 methods to enable Active Directory in Windows 10. It is not exactly enabling "Active...
How to Setup Google Voice in G Suite

How to Setup Google Voice in G Suite

Introduction This guide offers a steps by steps for Google Voice setup in G Suite.

AMAZON DEALS

By using this website you agree to accept our Privacy Policy and Terms & Conditions