4 Ways to Map a Network Drive in Windows 10

Simple ways to map a network drive for easy file access

Reading time icon 3 min. read


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

Key notes

  • Mapping a network drive is actually quite easy to do.
  • There are different ways to do it; be it through the Command Prompt or PowerShell.
  • You will, however, need to make your computer has the right settings enabled.
How to map a network drive in Windows 10

Say you need to gain access to a specific folder on another computer. You can always walk over to that other machine and get the files, but why do that when you can connect the drive to your own computer.

Mapping a network drive may sound complicated, but it isn’t. It’s quite simple, and there are multiple ways to do it.

Why is map network drive not showing up in Windows 10?

  • You have the wrong settings – In the Control Panel, Network Discovery must be turned on otherwise, the drives won’t appear.
  • UAC is blocking the network drive – User Account Control, or UAC, has been known to block what it thinks is malicious, so you may need to disable it.

How can I map my network drive on Windows 10?

Before you go on and map your network drive on Windows 10, there are a couple of things you should do first:

1. Map a network drive via File Explorer

  1. Launch the File Explorer, which you can do by either selecting the taskbar icon or by hitting the Windows and E keys at the same time.
  2. Click This PC on the left-hand side.
  3. Select the Computer tab at the top, and in the drop-down menu that appears, click Map network drive.
  4. In the Drive list, choose a letter for the new drive. Any available letter will work just fine.
  5. In the Folder box, you can either type in the path or click Browse to locate the folder.
  6. Once you’ve added a folder, click Finish.

2. Map a network drive via Command Prompt

  1. Type cmd into the Windows 10 search bar. Click Run as administrator when Command Prompt appears.
  2. To map a drive, you will need to follow a net use DRIVE: PATH command where DRIVE indicates the drive letter and PATH indicates the folder. For example net use Z: \\vmware\Shared
  3. You can add your credentials by adding your drive username and password to the command. For example, you can enter net use Z: \\vmware\Shared /user:Cesar Password1
  4. You should also enter the persistent swtich to make sure the connection is constant such as net use Z: \\vmware\Shared /user:Cesar Password1 /persistent:Yes
  5. To remove a connection, run the following command: net use Z: /delete

3. Map a network drive via PowerShell

  1. Type in powershell into the Windows 10 search bar. Select Run as administrator.
  2. In the command line, enter the following: New-PSDrive -Name "DRIVE-LETTER" -PSProvide "FileSystem" -Root "\\PATH" -Persists
  3. Replace DRIVER-LETTER with the actual letter of your drive and PATH with the drive you want to add. In the image below is an example.

4. Use the Group Policy Editor

  1. Press Windows + R to open the Run console.Gpedit.msc Run command
  2. Type gpedit.msc and click OK to open Group Policy Editor.
  3. Navigate to this path: User Configuration\Preferences\Windows Settings\Drive Maps
  4. Right-click the space in the right pane, choose New, then Mapped Drive.map network drive windows 10
  5. In the New Mapped Drive Properties window, choose the drive letter, network location, and other options accordingly.
  6. Click OK to save the changes.

And that’s pretty much the gist of it. Once you’re done, the newly mapped drive will appear in the File Explorer under the This PC section.

You can remove the mapped drive by right-clicking the drive in File Explorer and then selecting Disconnect. If you have any suggestions or guides you’d like to see, comment below.

More about the topics: hard drive, windows 10