Tips for Windows XP, Vista, 7, 8, 10 and even via the command prompt
A mapped drive is a shortcut to the specific drive on a different device that enables you to access resources shared on a local network, or files on a FTP server or website.
It looks just like the shortcut on your local hard drive with its own letter, even opening as though it were on the drive, but the files are physically stored on a different computer or device altogether.
Mapping is different from mounting a drive as it allows you to open remote files as though they were stored on your own computer, while mounting allows you to open a file as if it were a folder.
The main limitation with using a mapped network drive is that it depends on a working network, so if it’s down, or the connection isn’t working properly, you can’t access the files in the mapped drive.
How To Map a Network Drive On Windows 10
We’ll show you two ways of mapping a network drive in Windows 10: Using File Explorer and using Command Prompt.
Using File Explorer to Map Network Drive Windows 10
- Connect your network drive to your router.
- Click Start on the taskbar and select Settings>Network & Internet.
- Go to Change Advanced Sharing options.
- Click Turn on network discovery.
- Click Save changes. If the Save Changes button is grayed out, it means Network Discovery is already enabled, so you can ignore this step.
- Next, open File Explorer by pressing the Windows logo key+E.
- Click This PC and go to the Computer tab. Alternatively, search for This PC with Cortana.
- In the main window, check the letters for each drive you see and note them down so that you don’t create duplicate ones. Avoid using letters C, D and F as these are usually assigned to the local storage and removable media like USB drives and discs. This also ensures you don’t encounter complications down the line.
- Click the Map Network Drive button (helps you connect to a new remote resource on the network).
- Select a Drive letter in the drive list, and search for the network drive. To navigate to the drive itself, click Browse in the popup menu.
Note: If this is your first network drive, you’ll see one on the drive list. If you have several network drives, you’ll see several of them when you click the Browse button.
- In the Folder box, type the folder or computer path, or click Browse to find it.
- Select Reconnect at sign-in to connect each time you log into your computer. It ensures the mapped drive is available to you every time, but if you don’t want this, uncheck the box.
- Find the shared folder in the drive or create a new one, where you can drop files into for access from any location. To create a folder, right-click New Folder, and give it a name you can remember when you need to find it on a different device.
- If you need to access the shared network folder using credentials for a different account, tick Connect using different credentials.
- You’ll get a prompt to enter the shared network login information i.e. username and password of the computer you want to connect to. Use a password you can remember in case other colleagues or family members need to use it.
Note: If your NAS device has a username and password, you may need to enter it to access the drive.
- Click Finish. You’ll see a new window for the drive denoted by the drive letter you assigned earlier. It’ll also display the shared folders, from which you can view and open files on the network drive.
Note: If you’re unable to map a network folder or drive, check whether the computer you’re trying to connect to is turned off, or check whether you have the correct permissions. You can also check with your network administrator.
You’ll see the network drive listed on the sidebar in File Explorer under This PC. From here, you can open it and drag files such as documents, media or others to it. You can also copy/cut and paste as you would with other files and folders.
When you’re done with the mapped drive and don’t need it anymore, just right-click on it and select Disconnect.
Using Command Prompt to Map a Network Drive Windows 10
An advanced way of working with a mapped drive in Windows is by using the net use command in Windows, or in PowerShell if you prefer.
- Click Start and type CMD in the search bar.
- Click Open under Command Prompt.
- In the Command Prompt window, type net use DRIVE: PATH and press Enter. (DRIVE represents the drive letter you’ll use and PATH represents the UNC path for sharing. So it would look something like: net use g: \\tower\entertainment
- You can add your username and password to the command if the share you’re connecting to is protected with a password or other authentication and you don’t want to keep typing the credentials each time you open the network drive.
For example, if our username is OTT and password is bringthatbeatback, the command will look something like: net use g: \\tower\entertainment /user:OTT bringthatbeatback
- When you restart your computer, the mapped drive may disappear, as they’re not persistent by default. In this case, you can add the /persistent switch to make sure they stick around.
To create a persistent connection, type /persistent:Yes so future connections made using this command will be persistent until you turn it off using the /persistent:No toggle. - It will look something like this: net use g:\\tower\entertainment /user:OTT bringthatbeatback /persistent:Yes
- To delete the mapped network drive in command prompt, specify the drive letter and add/delete switch as follows: net use DRIVE: /delete. For example, we used drive letter g, so you’ll type the command net use g: /delete
How To Map a Network Drive On Windows 7, 8 & XP
Microsoft stopped supporting Windows 7 as of January 2020, but you can upgrade to Windows 10 so you can get regular security updates and tech support.
- Mapping a network drive in these older Windows versions is simpler. On the Start menu or desktop, click Computer and then select Map network drive.
- Select the drive letter for the network drive you want to map. In the Folder field, enter the UNC path and then click Finish. Windows XP has several different methods to map a network drive, but the above steps use Windows Explorer to map the drive.
Were you able to map your network drive using the steps we’ve covered in this guide? Tell us in a comment below.