What mapping a drive means and why you'd do it
Mapping a network drive means assigning a letter (on Windows) or a name (on Mac) to a shared folder on your network so it appears in your file browser like a regular hard drive. Instead of typing a network path every time you need a file, you click the mapped drive and it opens directly to the shared folder.
You map a drive when you access the same network location regularly — a shared project folder, a backup location, or a department resource. Once mapped, the drive stays in your file browser and reconnects automatically when you restart your computer (on most systems). This saves you from hunting down the network path or typing it manually each time.
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 NAS device. The core idea is the same: you're telling your computer "remember this network location and give it a shortcut."
Key Takeaways
- On Windows, you right-click "This PC," select "Map network drive," and enter the network path in the format \\servername\foldername or \\ipaddress\foldername.
- On Mac, you open Finder, click "Go," select "Connect to Server," and enter the path in the format smb://servername/foldername or afp://servername/foldername depending on the server type.
- You will need the exact network path or IP address of the shared folder and valid login credentials for that network location.
- Once mapped, the drive reconnects automatically on restart if you check "Reconnect at sign-in" (Windows) or "Remember this password in my keychain" (Mac).
- If the connection fails, the most common causes are a typo in the path, incorrect credentials, or the shared folder not being accessible from your network.
Mapping a drive on Windows 10 and 11
Open File Explorer and right-click on "This PC" in the left sidebar. Select "Map network drive" from the menu. A dialog box opens with a "Drive" dropdown (defaulting to Z) and an empty "Folder" field.
In the "Folder" field, type the network path. For a Windows share, use the format \\servername\foldername — for example, \\fileserver\projects. If you're connecting to a computer by IP address instead, use \\192.168.1.100\foldername. Check the box labeled "Reconnect at sign-in" if you want the drive to reconnect every time you log in. Then click "Finish."
Windows will prompt you for a username and password. Enter the credentials for the account that has access to that shared folder — this might be your domain account, a local network account, or credentials specific to that shared resource. Check "Remember my credentials" if you don't want to enter them again. Click "OK" and the mapped drive appears in File Explorer with the letter you selected.
If you see an error like "The network path was not found," double-check the spelling of the server name and folder name. If the server is offline or the folder has been moved, the path will fail. If you see "Access denied," the credentials you entered don't have permission to that folder — contact the person who manages the shared folder to confirm your access.
Mapping a drive on Mac
Open Finder and click "Go" in the menu bar at the top. Select "Connect to Server." A dialog box opens with a text field labeled "Server Address."
Type the network path. For a Mac shared folder or a Windows share accessed from Mac, use smb://servername/foldername — for example, smb://fileserver/projects. For older Mac servers using AFP (Apple Filing Protocol), use afp://servername/foldername. If you're connecting by IP address, use smb://192.168.1.100/foldername. Then click "Connect."
Mac prompts you to select how you want to connect. Choose "Registered User" if you have a username and password for that server, or "Guest" if the folder allows guest access (rare on find networks). Enter your credentials and click "Connect." The shared folder mounts on your desktop and appears in Finder's sidebar. You can drag it to the sidebar's Favorites section to keep it easily accessible.
If you see "Connection failed," the path may be incorrect, the server may be offline, or the folder may not be shared. If you see a permission error, your credentials don't have access — ask the server administrator to confirm. Unlike Windows, Mac doesn't automatically reconnect mapped drives on restart; you'll need to reconnect manually or use a script to automate it if you need it to persist.
Finding the network path if you don't have it
If you don't know the server name or path, ask the person who manages your network or the shared folder. They can give you the exact path in the format your system needs.
If you're on a Windows network and the shared folder is on another Windows computer, you can sometimes find it by opening File Explorer, clicking "Network," and browsing for the computer. Right-click the shared folder and select "Map network drive" — Windows will fill in the path for you. On Mac, you can click "Browse" in the Connect to Server dialog to see available servers on your network, though this only works if the servers are broadcasting their presence.
If you're connecting to a NAS device (network-attached storage), check the device's documentation or admin panel for the exact path and whether it uses SMB, AFP, or another protocol. Most modern NAS devices support SMB, which works on both Windows and Mac.
Troubleshooting a failed connection
Start by verifying the network path is spelled correctly — server names and folder names are case-sensitive on some systems. Copy and paste the path from a document if you have it written down, rather than typing it from memory.
Confirm your credentials are correct. If you've recently changed your password on the network, the old password stored on your computer won't work. On Windows, you can remove the stored credentials by going to Settings > Accounts > Credential Manager, finding the entry for that server, and deleting it. Then try mapping the drive again and enter the new password. On Mac, open Keychain Access, search for the server name, and delete the entry, then reconnect and enter the new password.
Check that the shared folder actually exists and that your account has permission to access it. If the folder was deleted, moved, or renamed, the path will fail. If your account doesn't have read or read-write permission, you'll get an access denied error. Contact the person who manages the shared folder to confirm it exists and that your account has the right permissions.
Verify the server is online and reachable. If it's a computer that's turned off or a NAS that's powered down, the connection will fail. If it's a server on a different network or behind a firewall, you may not be able to reach it from your current location. Test by pinging the server (on Windows, open Command Prompt and type ping servername or ping ipaddress) to see if it responds.
Unmapping a drive you no longer need
On Windows, right-click the mapped drive in File Explorer and select "Disconnect." The drive disappears from your file browser. If you want to remove it permanently and prevent it from reconnecting on restart, make sure you've disconnected it before restarting.
On Mac, click the eject icon next to the mounted folder in Finder's sidebar, or right-click it and select "Eject." The folder unmounts. Unlike Windows, Mac doesn't automatically reconnect on restart, so you won't see it again unless you manually reconnect using the same steps.
When to use mapped drives versus other options
Mapped drives work well for regular access to a shared folder on your local network or a VPN. They're straightforward to set up and appear in your file browser like any other drive.
If you need to access a shared folder only occasionally, or if you're outside your office network, you might use a cloud storage service (OneDrive, Google Drive, Dropbox) instead, which syncs files to your computer and works over the internet. If you need to access a shared folder from multiple devices or locations, cloud storage is often easier than mapping drives on each device.
If the shared folder is on a server that requires VPN access, connect to the VPN first, then map the drive using the same steps. The VPN makes the network location reachable from outside the office.
Frequently Asked Questions
Can I map a drive to a folder on someone else's computer?
Yes, if that computer has file sharing enabled and you have the network path. On Windows, the computer owner must enable Network Discovery and turn on file sharing in Settings. On Mac, the owner must enable file sharing in System Settings > General > Sharing. You'll need valid credentials for that computer to connect.
What's the difference between SMB and AFP?
SMB (Server Message Block) is the standard protocol for Windows networks and works on Mac too. AFP (Apple Filing Protocol) is older and used mainly on legacy Mac servers. Most modern setups use SMB. If you're not sure which to use, try SMB first — it works on both Windows and Mac and is the default for most shared folders.
Why does my mapped drive disconnect when I restart?
On Windows, you didn't check "Reconnect at sign-in" when you mapped the drive. Remap it and check that box. On Mac, mapped drives don't reconnect automatically — you have to reconnect manually each time. If you need it to reconnect automatically, you can create a script or use a third-party tool, but there's no built-in option like Windows has.
Can I map a drive to a cloud storage folder like OneDrive?
You don't need to map OneDrive or Google Drive — they sync to your computer automatically and appear in File Explorer or Finder without mapping. If you want to access a shared OneDrive folder from another person, you can add it to your OneDrive account through the web interface, and it will sync to your computer.
What if I forget the password I used to map the drive?
On Windows, go to Credential Manager, find the entry for that server, and delete it. Then disconnect and remap the drive — you'll be prompted to enter the password again. On Mac, open Keychain Access, search for the server, delete the entry, disconnect, and reconnect — you'll be prompted for the password again.
