Mapping a Network Drive Windows 11: 3 Effective Ways Guide

CTVXNovember 6, 2025 19:01

Discover how to turn shared folders into local drives on Windows 11 using File Explorer, Command Prompt, and PowerShell for quick and convenient data access.

Mapping a network drive is a useful feature in Windows 11 that allows users to connect and access a shared folder over the network as a local drive on their computer. This simplifies remote data retrieval and optimizes workflow. Once set up, the network drive will appear in the "This PC" section of File Explorer, providing a seamless experience.

This article will guide you through three methods to map and disconnect network hard drives on Windows 11, including using the File Explorer graphical interface, Command Prompt command line tool, and PowerShell.

Instructions for mapping network hard drives on Windows 11

Depending on your needs and usage habits, you can choose one of the following three ways to set up a network drive on your Windows 11 computer.

1. Using File Explorer: The most intuitive method

This is simple and suitable for most users thanks to the familiar graphical interface.

  1. OpenFile Explorerand chooseThis PCfrom the left navigation bar.
  2. Click the three dots (...) icon on the toolbar and selectMap network drive.
  3. cach anh xa o cung mang map network drive tren Windows 1112
    how to map network drive on windows 1112
  4. In the new window, select a letter for the drive from the drop-down menu.Drive.
  5. At the cellFolder, enter the network path of the shared folder in the format\\SERVER-NAME\FOLDER-NAME. You can also clickBrowseto search manually.
  6. cach anh xa o cung mang map network drive tren Windows 1111
    how to map network drive on windows 1111
  7. Check the boxReconnect at sign-inif you want the drive to automatically reconnect after each computer startup.
  8. If you need to use an account other than your current Windows account, selectConnect using different credentials.
  9. PressFinishto complete. If prompted, enter your network account credentials.

2. Using Command Prompt: The choice for advanced users

Command Prompt provides a quick method through command lines, suitable for automation or system administration.

  1. Open menuStart, search for "Command Prompt" and open the application. Note that it does not need to run with administrator rights.
  2. Use the following command and pressEnter:

    net use Z: \\DEVICE-NAME\SHARE-FOLDER

    In there, replace "Z:" with the drive letter you want to assign, "DEVICE-NAME" with the server's name or IP address, and "SHARE-FOLDER" with the name of the shared folder.

  3. cach anh xa o cung mang map network drive tren Windows 118
    how to map network drive on windows 118
  4. To permanently map and provide credentials, use a more complex command:

    net use Z: \\DEVICE-NAME\SHARE-FOLLOWER PASSWORD /user:USERNAME /persistent:yes

3. Using PowerShell: A Powerful and Flexible Tool

PowerShell is a more modern command line tool that provides many advanced options for system management.

  1. Open menuStart, search for "PowerShell" and launch the application.
  2. Type the following command to map the drive and pressEnter:

    New-PSDrive -Name "Z" -PSProvider "FileSystem" -Root "\\DEVICE-NAME\SHARE-FOLLOWER" -Persist

    Replace "Z" with the corresponding drive letter and network information.

  3. cach anh xa o cung mang map network drive tren Windows 116
    how to map network drive on windows 116
  4. To use private credentials, you need to create a variable containing the credentials before executing the mapping command.

How to disconnect a mapped network hard drive

When you no longer need to use it, you can easily disconnect the network drive using the corresponding tools.

1. Disconnect from File Explorer

  1. OpenFile Explorerand accessThis PC.
  2. Under "Network locations", right-click the network drive you want to disconnect.
  3. SelectDisconnectfrom the context menu.
cach anh xa o cung mang map network drive tren Windows 113
how to map network drive on windows 113

2. Disconnect using Command Prompt

Use the following command, replacing "Z:" with the drive letter you want to delete:

net use Z: /Delete

3. Disconnect using PowerShell

Use the following command, replacing "Z" with the drive letter you want to delete:

Remove-PSDrive -Name Z

Important notes when performing

  • Using IP address:If connecting using the computer name fails, try using the remote device's IP address. Note, however, that dynamic IP addresses can change.
  • Passwordless account:If the device sharing the resource uses a Microsoft Account with passwordless sign-in, you may need to create a local account on that device to make the connection.
  • Administrator rights:When using Command Prompt or PowerShell, it is not recommended to run them with administrator privileges as the mapped drive may not show up in File Explorer.

Featured Nghe An Newspaper

Latest

x
Mapping a Network Drive Windows 11: 3 Effective Ways Guide
POWERED BYONECMS- A PRODUCT OFNEKO