Advertisements

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
Advertisements


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

Advertisements


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.


LEAVE A REPLY

Please enter your comment!
Please enter your name here

LATEST DEALS

Exclusive Student Offer_Save 10% on selected Surface devices

FEATURED POSTS

How to Change Administrator Name in Windows 10 (4 Methods)

How to Change Administrator Name in Windows 10

Introduction This guide demos how to change administrator name in Windows 10. There could be...
How to Setup WhatsApp Auto Reply in an Android Phone

How to Setup WhatsApp Auto Reply in an Android Phone

Introduction This guide demos how to setup Whatsapp auto reply in an Android phone. Steps...
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.
How to Take Ownership of Folder in Windows 10

How to Take Ownership of Folder in Windows 10 (2 Methods)

Introduction This guide demos 2 methods to take ownership of folder in Windows 10. Options to...
How to Install Windows Server 2019 from USB

How to Install Windows Server 2019 from USB

Introduction This guide demos how to install Windows Server 2019 from USB. Steps to Install...

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

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...

BEST OF ITECHGUIDES

RAID 50

RAID 50 vs RAID 10: Benefits and Disadvantages Compared

What is RAID 50 vs RAID 10? RAID 50 stripes two RAID 5 arrays while RAID 10 stripes two...
WSUS Server 2016 Requirements

WSUS Server 2016 Requirements

Introduction This guide lists all WSUS Server 2016 Requirements. The following requirements are included: Hardware...
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 columns in excel

How to Move Columns to Rows and Rows to Columns in Excel

Introduction If you receive some Excel data in columns, you can easily move the columns to rows in Excel...
Cannot Start Microsoft Outlook

Cannot Start Microsoft Outlook [Fixed]

Introduction While I was working on How to Change Outlook Password, I opened Outlook and received the error message...

RECENT POSTS

C:\G-Drive\Work Tools\Products Portal\1. New Business\2. Content Sites\1. iTechGuides.com\Posts\1. HOW TO\Microsoft\MS Office\Microsoft Word\how to add more rows to a table in word

How to Add More Rows to a Table in Word and Google Docs

Introduction This guide demos how to add more rows to a table in Word. It also has a...
How to Create a Bar Chart in Excel and Google Sheets

How to Create a Bar Chart in Excel and Google Sheets

Introduction This guide demos how to create a bar chart in Excel and Google Sheets. A bar chart is...
How to Change Administrator Name in Windows 10 (4 Methods)

How to Change Administrator Name in Windows 10

Introduction This guide demos how to change administrator name in Windows 10. There could be...
How to Create a Pie Chart in Excel and Google Sheets

How to Create a Pie Chart in Excel and Google Sheets

Introduction This guide demos how to create a pie chart in Excel and Google Sheets. A pie chart is...

iTechGuides’ Top 10 Online Games

The gaming world is getting bigger day by day. Many people are getting engaged to play online games worldwide.

How to Open Local Security Policy in Windows 10 (5 Methods)

Introduction This guide demos how to open local security policy in Windows 10. Options to...

How to Change Network from Public to Private in Windows 10

Introduction This guide demos 2 methods to change network from public to private in Windows 10.
How to Disable Touchpad in Windows 10 for Dell or HP Laptop

How to Disable Touchpad in Windows 10 for Dell or HP Laptop

Introduction This guide demos how to Disable Touchpad in Windows 10 for a Dell or HP laptop.

How to Change Account Picture in Windows 10 (2 Methods)

Introduction This guide demos 2 methods to change account picture in Windows 10. Windows 10...
How to Create Xbox Live Account

How to Create Xbox Live Account (2 Methods)

Introduction This guide demos 2 methods to create Xbox Live account. Options to Create Xbox...

ADVERTISEMENTS

MUST READ

How to Calculate Variance in Excel

How to Calculate Variance in Excel

Introduction Variance measures the spread between numbers in a data set. You can calculate variance in Excel using the...
Android games: PUBG Mobile

iTechGuides’ Top 10 Android Games

Looking to have more fun on your android phone? We have listed the best android games that will give you loads of...
roll back windows 10 update

How to Roll Back Windows 10 Update (3 Methods)

Introduction There could be a number of reasons you may want to roll back windows 10 update. One common...
How to Fix Black Screen in Windows 10

How to Fix Black Screen in Windows 10 (4 Methods)

Introduction This guide offers 4 options to fix black screen in Windows 10 after login. A number of users...
How to Check Windows 10 Version

How to Check Windows 10 Version in 4 Easy Ways

Introduction Wondering how you can check your version of Windows 10? Here are 4 easy ways for you -...

LATEST DEALS

Exclusive Student Offer_Save 10% on selected Surface devices

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