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.

Network drive map from File Explorer on Windows 10 Network drive map from Command Prompt on Windows 10 Network drive map from PowerShell on Windows 10

Network drive map from File Explorer on Windows 10

To map a network drive on Windows 10 from File Explorer, use these steps: 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.

Network drive map from Command Prompt on Windows 10

To map a network drive from Command Prompt on Windows 10, use these steps: Once you complete the steps, the network-shared folder will map on the device and appear in File Explorer. 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:

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:

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:

Network drive map from PowerShell on Windows 11

To map a network drive from PowerShell on Windows 10, use these steps: Once you complete the steps, the network shared folder will map on the computer and appear in File Explorer. 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:

If you need to map a drive using credentials, follow these instructions. All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.