Direction Software

Networks & Internet / / 6 min

Make Shared Folders Easier to Reach

Mapping a shared folder as a network drive gives it a familiar drive letter in File Explorer, making network files easier to locate, open, and save. This guide explains what you need before starting, including the correct UNC path, permissions, and network connection. It walks through the Windows File Explorer method, outlines the command-line alternative with net use, compares the two approaches, and covers practical troubleshooting for sign-in credentials, unavailable shares, name resolution, and access-denied errors. It also explains when to reconnect automatically and how to remove a mapping safely.

A mapped network drive turns a shared folder on another computer, server, or network-attached storage device into a drive letter in Windows. Instead of repeatedly entering a long network address, you can open the location from File Explorer as easily as a local disk. The setup is straightforward, but it depends on having the correct shared-folder path, network access, and permission to use the share.

What mapping a network drive does

Windows identifies network shares with a UNC path, usually written as \\ServerName\ShareName. Mapping that path assigns it a letter such as Z:, so it appears under This PC in File Explorer. The mapping is a shortcut to a remote location; it does not copy the folder or make its files local.

This is useful for household file servers, small-office shared documents, NAS devices, and managed workplace storage. It can also reduce mistakes when an application expects a drive letter rather than a UNC path.

  • Use a meaningful drive letter when your team has a convention, such as S: for Shared.
  • Map the share itself, not a folder that has not been shared by its owner.
  • Use the server name when possible; an IP address can work, but may become invalid after network changes.
  • Keep sensitive shares protected with appropriate account permissions.

What you need before you begin

First, confirm that the computer or storage device hosting the folder is powered on and connected to the same network or reachable through an approved VPN. Ask the owner or administrator for the exact share path and the username and password if the share requires separate credentials.

A path such as \\OFFICE-NAS\Projects is a share path. By contrast, C:\Projects is a local path on the host computer and cannot normally be used directly from another device. If you are unsure whether the path is correct, paste the UNC path into File Explorer's address bar and press Enter. If it opens, it is ready to map.

Map a shared folder in File Explorer

For most people, File Explorer is the clearest and safest way to create a network drive mapping. The exact wording may vary slightly across current Windows versions, but the core process is the same.

  1. Open File Explorer and select This PC in the left navigation pane.
  2. Select Map network drive from the toolbar or the menu shown by the three-dot button.
  3. Choose an unused drive letter from the Drive list.
  4. In the Folder field, enter the shared-folder path, such as \\OFFICE-NAS\Projects.
  5. Select Reconnect at sign-in if the drive should be restored whenever you sign in to Windows.
  6. Select Connect using different credentials only when the share needs a different account from your current Windows sign-in.
  7. Select Finish, then provide credentials if Windows requests them.

After the connection succeeds, the new drive appears under This PC. You can pin it to Quick access, create a shortcut to a frequently used subfolder, or use the drive letter in compatible desktop applications.

Choose the right connection method

File Explorer works well for one-time or individual setup. The net use command is useful when you need a repeatable method, are documenting support steps, or want to include the mapping in a sign-in script.

Method Best for Example Persistence option
File Explorer Everyday manual setup Select Map network drive and enter \\OFFICE-NAS\Projects Enable Reconnect at sign-in
Command Prompt Repeatable or documented setup net use Z: \\OFFICE-NAS\Projects /persistent:yes Use /persistent:yes
Temporary command mapping Short-term access or testing net use Z: \\OFFICE-NAS\Projects /persistent:no Ends when disconnected or signed out

Use the net use command

Open Command Prompt and enter a command similar to the following:

net use Z: \\OFFICE-NAS\Projects /persistent:yes

Windows may prompt for a password. If you must use a different account, an administrator can provide the required username format, which may be a local account on the server or an organization-managed account. Avoid placing passwords directly in commands, scripts, or shared documentation.

A mapped drive improves convenience, not authorization. The share and file-system permissions on the host still determine what each user can view, change, or delete.

Reconnect at sign-in and use credentials carefully

Automatic reconnection is convenient for a stable home or office network. However, it can produce a red X or a delayed connection if Windows signs in before Wi-Fi, VPN, or the remote server is available. In many cases, opening the drive after the network connection is established causes Windows to reconnect.

When connecting to a personal NAS or another PC, Windows might save credentials in Credential Manager. This can be helpful, but stored credentials should be reviewed if a password changes, an employee leaves, or a shared computer is reassigned. On managed work devices, follow the organization’s IT policies rather than storing personal or unapproved accounts.

Troubleshoot common mapping problems

The network path cannot be found

Check the spelling of the server and share names. Confirm that the host is online, that your device is connected to the right network or VPN, and that you can open the UNC path directly in File Explorer. If a hostname does not resolve, try the server’s current IP address only as a diagnostic step. A successful IP-based connection suggests a DNS or local name-resolution issue.

Access is denied

This message generally means the path is valid but your account lacks permission. Verify that you are using the intended credentials and ask the share owner to check both sharing permissions and the folder’s security permissions. Do not try to bypass access controls by using another person’s account.

Multiple connections use different credentials

Windows usually cannot maintain separate usernames to the same server in one user session. Disconnect existing mappings to that server, clear outdated saved credentials if appropriate, and reconnect using the correct account. To see active mappings, run net use in Command Prompt.

Remove or change a mapped drive

To remove a mapping in File Explorer, open This PC, right-click the network drive, and select Disconnect. This does not delete remote files; it only removes the drive-letter connection from your computer. To remove it from Command Prompt, use:

net use Z: /delete

If the shared folder has moved, disconnect the old mapping before creating a new one. Reusing the same letter is fine once the earlier connection has been removed.

References

Also in

About the author

Stefano BarcellosEditor in chief

Journalist and editor. Writing about technology, culture and everyday life for over a decade.