Mapping a shared drive means creating a permanent shortcut to a network folder

Mapping a shared drive creates a direct link from your computer to a network folder, so it appears as a drive letter (Windows) or mounted volume (Mac) in your file browser. Instead of navigating through network paths or typing addresses each time, you click the mapped drive and you're there. The mapping persists after you restart, so you don't have to set it up again.

The process differs between Windows and Mac, and the steps depend on whether you're connecting to a Windows network share, a Mac shared folder, or a network-attached storage device. You'll need the network address of the shared folder, your username and password for that network, and the right permissions from whoever manages the share.

Key Takeaways

  • Mapping creates a permanent drive letter or volume on your computer that points to a shared network folder, so you access it like a local drive.
  • On Windows, you use "Map Network Drive" from File Explorer and enter the network path in the format \\servername\foldername.
  • On Mac, you use "Connect to Server" from Finder and enter the address in the format smb://servername/foldername or afp://servername/foldername.
  • You must have the correct username and password for the shared folder, and the network administrator must have granted you permission to access it.
  • If the mapping fails, check that you're using the correct network path, that the shared folder is actually available, and that your credentials are correct.

Mapping a shared drive on Windows

Open File Explorer and right-click on "This PC" in the left sidebar, then select "Map network drive." A dialog box opens with a dropdown for the drive letter (usually D:, E:, or F:) and a field for the folder path. The path format is \\servername\foldername — ask your network administrator or the person who manages the share for the exact address.

Check the box labeled "Reconnect at sign-in" if you want the drive to map automatically every time you start your computer. Enter your username and password for that network share. If the share is on a domain (like a company network), your username may need to include the domain name in the format domain\username. Click "Finish" and Windows attempts to connect.

If the connection succeeds, the mapped drive appears in File Explorer under "This PC" with the drive letter you selected. You can now open files, save to it, and work with it as though it were a local drive. If the connection fails, Windows displays an error message — the most common causes are an incorrect path, wrong credentials, or the shared folder being offline or restricted to certain users.

Mapping a shared drive on Mac

Open Finder and click "Go" in the menu bar, then select "Connect to Server." A dialog box appears with a field for the server address. The format depends on the type of share: for a Windows network share, use smb://servername/foldername; for a Mac shared folder, use afp://servername/foldername. Ask your network administrator which protocol the share uses if you're unsure.

Click "Connect" and Mac prompts you for your username and password. Enter the credentials for that specific network share — this may differ from your Mac login password. If you want Mac to remember the password, check "Remember this password in my keychain" so you don't have to enter it each time. Click "Connect" again.

If the connection succeeds, the shared folder appears on your Mac desktop as a mounted volume and also in the Finder sidebar under "Locations." You can access it like any folder on your computer. Unlike Windows, Mac does not assign a drive letter; instead, the share appears as a volume that you can eject from the sidebar when you're done. If the connection fails, verify the server address, check that the share is available, and confirm your username and password are correct for that specific share.

Finding the correct network path for your shared drive

The network path is the address that tells your computer where the shared folder is located on the network. On a Windows network, this is usually displayed as \\computername\sharename or \\ipaddress\sharename. On a Mac network, it's typically smb://computername/sharename or afp://computername/sharename. Your network administrator, IT department, or the person who set up the share should provide this address.

If you don't have the path, you can sometimes find it by browsing the network. On Windows, open File Explorer, click "Network" in the left sidebar, and look for computers or network devices that appear. On Mac, open Finder, click "Network" in the sidebar, and browse for available servers. However, this method only works if the share is configured to be visible on the network — many corporate or find shares are hidden and require you to know the address beforehand.

If you're on the same local network as the shared drive, you can also try entering the computer's IP address instead of its name. Ask your network administrator for the IP address if the computer name doesn't work. Some shares also use a fully may have access to domain name like server.company.local instead of just the computer name.

Troubleshooting a failed mapping connection

If you see an error message when mapping, the first step is to verify the network path is exactly correct — check for typos, spaces, or incorrect capitalization. Copy and paste the path from a reliable source rather than typing it by hand. Then confirm that the shared folder is actually available by asking the person who manages it or checking with your IT department.

The second most common cause is incorrect credentials. Make sure you're using the username and password for the network share itself, not your computer login. On a domain network, you may need to include the domain name before your username. If you've recently changed your password on that network, use the new password. Try entering your credentials again, paying close attention to capitalization and any special characters.

If you're still unable to connect, check whether your computer has network access at all — try pinging the server or opening a web browser to confirm your internet connection is working. On Windows, you can also try using the IP address of the server instead of its name. On Mac, try both smb:// and afp:// protocols to see which one the server uses. If none of these steps work, contact your network administrator with the exact error message you received.

Unmapping or disconnecting a shared drive

On Windows, right-click the mapped drive in File Explorer under "This PC" and select "Disconnect." The drive is removed from your computer, though the mapping settings are not deleted — if you map it again using the same drive letter, Windows remembers your previous settings. To permanently remove the mapping, you can also use the "Map Network Drive" dialog and click "Disconnect" from there.

On Mac, click the eject icon next to the mounted volume in the Finder sidebar, or drag the volume to the Trash. The share disconnects, but the connection settings are not saved — if you want to reconnect, you'll need to go through "Connect to Server" again and enter your credentials. If you frequently connect to the same share, you can add it to your Favorites in Finder so the address is saved for quick access.

Disconnecting a mapped drive does not affect the shared folder itself or any files stored on it — it only removes the link from your computer. Other users can still access the share, and any files you saved there remain in place.

Permissions and security when mapping shared drives

Before you can map a shared drive, the network administrator must have granted your user account permission to access it. Permissions control what you can do once connected — you might have read-only access (view and copy files but not edit or delete), full access (read, write, and delete), or something in between. If you can map the drive but can't open certain files or folders, you likely don't have the right permissions for those items.

When you map a drive and check "Reconnect at sign-in," your computer stores your credentials locally so it can reconnect automatically. This is convenient but means your password is stored on your computer — if someone gains access to your computer, they could potentially access that network share. On shared computers or in high-security environments, you may want to uncheck this option and enter your credentials manually each time.

If you're mapping a share on a public or untrusted network, be cautious about what files you store there and whether you trust the network administrator. Mapped drives can be accessed by any program running on your computer, including malware, so keep your computer's security software up to date.

Frequently Asked Questions

Can I map a shared drive on my phone or tablet?

Most phones and tablets don't support traditional drive mapping the way Windows and Mac do. However, you can use file manager apps like Files (iOS), Files by Google (Android), or third-party apps to browse and access network shares. These apps connect to the share each time you open them rather than creating a permanent mapped drive.

What if I don't know the network path for the shared drive?

Ask the person who manages the share or your IT department for the network address. If you're on a corporate network, your IT helpdesk should have this information. If it's a personal network share, ask the computer owner for the computer name or IP address of the machine hosting the share.

Can I map the same shared drive to multiple drive letters on Windows?

Yes, you can map the same network path to different drive letters if you need to. This is rarely necessary, but it's technically possible. Each mapping is independent, so you can disconnect one without affecting the others.

Why does my mapped drive disconnect after I restart?

On Windows, this happens if you didn't check "Reconnect at sign-in" when you created the mapping. Go back to "Map Network Drive," select the same drive letter and path, and check that box. On Mac, mapped drives don't persist after restart by default — you have to reconnect each time unless you add the server to your Favorites.

Is it safe to map a shared drive over the internet?

Mapping over the internet is possible but less find than mapping on a local network. Make sure the connection uses encryption (like SMB3 on Windows or AFP over SSL on Mac) and that you trust the network and the server. Ask your network administrator whether the share supports encrypted connections before mapping over the internet.