How to map network drive on Windows 10

You can quickly map a shared folder as a network drive for faster after to files stored on another computer, and here's how to do it.

Windows 10 map network drive
Windows 10 map network drive
  • To map network drive on Windows 10, open File Explorer > This PC > Map network drive, select the drive letter, confirm the network path, and click “Finish.”
  • Alternatively, on Command Prompt (non-admin), use the “net use \\SERVER\FOLDERPATH” command to map a drive.
  • Another way is to open PowerShell (non-admin) and use the “New-PSDrive -Name “LETTER” -PSProvider “FileSystem” -Root “\\SERVER\FOLDERPATH” -Persist” command to mount a network drive on Windows 10.

On Windows 10, you can map a network drive to quickly access files stored in a shared folder on another computer (or server) connected to the network using File Explorer, Command Prompt, and PowerShell, and in this guide, you will learn how.

When you connect to a drive using the “Map Network Drive” option on Windows 10, the system essentially creates a “shortcut” that points to the network shared folder with a drive letter and access credentials. The mapped drive then appears on “This PC,” under the “Network locations” section, to give you quick access to those files stored on the remote computer.

This guide will teach you how to map a network drive on Windows 10.

Map network drive on Windows 10 from File Explorer

To map a network drive on Windows 10 from File Explorer, use these steps:

  1. Open File Explorer on Windows 10.

  2. Click on This PC from the left pane.

  3. Click the “Map network drive” option from the “Computer” tab.

    File Explorer map network drive

  4. Select a letter to assign the drive in the “Drive” setting.

  5. Confirm the path to the shared folder to map on Windows 10 as a drive in the “Folder” setting. (Or click the Browse button to browse to the folder to map as a network drive, and click the OK button.)

  6. Check the “Reconnect at sign-in” option to connect to the network location permanently.

  7. Check the “Connect using different credentials” option if the credentials are different from the account you are already using to sign in to Windows 10.

  8. Click the Finish button.

    Map network drive settings

  9. Confirm the network account credentials (if applicable).

  10. Click the OK button.

Once you complete the steps, the drive will map and become available in File Explorer.

If you cannot connect to the shared folder, use the IP address instead of the computer name. However, if the remote computer uses a dynamic IP address configuration, it may change in the future, and you may need to reconnect again.

Map network drive on Windows 10 from Command Prompt

To map a network drive from Command Prompt on Windows 10, use these steps:

  1. Open Start.

  2. Search for Command Prompt and click the top result to open the console.

    Quick note: If you run the command as an administrator, the drive may not mount correctly and won’t appear in File Explorer. As a result, run the command as a standard user.
  3. Type the following command to map a drive assigning drive letter manually and press Enter:

    net use Z: \\DEVICE-NAME-OR-IP\SHARED-FOLDER

    In the command, replace “Z” with the drive letter not already in use you want to use. Then replace DEVICE-NAME-OR-IP and SHARED-FOLDER for the computer name or IP address of the device hosting the shared folder and the name of the shared. For example, this command maps the ShareOne folder to the computer with the “Z” drive letter:

    net use Z: \\vm-beta\ShareOne

    Map folder with manual drive letter

  4. Type the following command to map a drive on Windows 10, assigning drive letter automatically, and press Enter:

    net use * \\DEVICE-NAME-OR-IP\SHARED-FOLDER

    In the command, the (*) is the option that allows the system to assign any drive letter that is not already in use. Then replace DEVICE-NAME-OR-IP and SHARED-FOLDER for the computer name or IP address of the device hosting the shared folder and the name of the shared. For example, this command maps the ShareOne folder to the computer:

    net use * \\vm-beta\ShareOne

    Map folder with automatic drive letter

  5. Type the following command to map a drive providing authentication details and press Enter:

    net use Z: \\DEVICE-NAME-OR-IP\SHARED-FOLDER PASSWORD /user:USERNAME /persistent:yes

    In the command, replace “Z” with the drive letter not already in use you want to use. Then change DEVICE-NAME-OR-IP and SHARED-FOLDER for the computer name or IP address of the device hosting the shared folder and the name of the shared. The PASSWORD and USERNAME have to be replaced with the credentials to authenticate with the remote machine. The “persistent” option allows the folder to stay mapped after reboot. For example, this command maps the ShareOne folder providing the user credentials and making the mapping persistent:

    net use Z: \\vm-beta\ShareOne password /user:admin /persistent:yes

    Map folder with credentials

Once you complete the steps, the network-shared folder will map on the device and appear in File Explorer.

Map network drive on Windows 10 from PowerShell

To map a network drive from PowerShell on Windows 10, use these steps:

  1. Open Start.

  2. Search for PowerShell and click the top result to open the console.

  3. Type the following command to map a drive assigning drive letter manually on Windows 10 and press Enter:

    New-PSDrive -Name "DRIVE-LETTER" -PSProvider "FileSystem" -Root "\\DEVICE-NAME-OR-IP\SHARED-FOLDER" -Persist

    In the command, replace DRIVE-LETTER with the drive letter not already in use you want to use. Then change DEVICE-NAME-OR-IP and SHARED-FOLDER for the computer name or IP address of the device hosting the shared folder and the name of the shared. For example, this command maps the ShareOne folder to the computer with the “E” drive letter:

    New-PSDrive -Name "E" -PSProvider "FileSystem" -Root "\\vm-beta\ShareOne" -Persist

    PowerShell map network drive on Windows 10

Once you complete the steps, the network shared folder will map on the computer and appear in File Explorer.

If you need to map a drive using credentials, follow these instructions.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me.