How to map a network drive on macOS to access shared office files
Summary
This guide helps you troubleshoot and resolve: How to map a network drive on macOS to access shared office files. Follow the steps below to fix the issue.
Common Causes
Map a Network Drive on macOS to Access Shared Office Files
Mapping a network drive on your Mac allows you to access shared office files stored on a network attached storage (NAS) device or office server directly from Finder. Once connected, you can browse, open, and save files to the shared drive just as you would with any local folder.
Before You Begin
Ensure your Mac is connected to the same local network as the NAS or server. If you are working remotely, you must connect to your company VPN before attempting to map the drive. Network shares are not accessible from outside the office network without an active VPN tunnel.
If you are using a shared or public Mac, do not save your credentials to the keychain. Saving passwords on a shared computer allows other users to access your network files.
Quick Fix Steps
If you already have your server address and just need to connect quickly, follow these steps:
- Open Finder.
- Press
Command + Kto open Connect to Server. - Enter the server address in the format
smb://server-name-or-ip/share-name. - Click Connect.
- Enter your network username and password when prompted, then click Connect again.
If you don't know your server address or share name, check with your office IT administrator or the person who set up your network storage. You can also try browsing for available servers by opening Finder, selecting Go → Network from the menu bar, and looking for your server in the list.
Detailed Instructions
Step 1: Verify Network Connectivity
Before attempting to connect, confirm that your Mac is on the same subnet as the NAS or server. For example, if the server IP is 192.168.1.50, your Mac should have an IP address starting with 192.168.1.x. If you are working from home or another remote location, connect to your company VPN first.
Step 2: Find Your Server Address
Before connecting, you need the network address of the shared drive. This is typically provided by your IT administrator and will look something like smb://192.168.1.50/SharedFiles or smb://nas.local/OfficeData. Common formats include:
smb://192.168.1.50/shared-files(using an IP address)smb://office-nas/accounts(using a hostname)smb://fileserver.local/public(using a local hostname with.localdomain)
Share names can be case-sensitive. Enter the share name exactly as provided by your administrator.
Step 3: Connect to the Server
- Click on the Finder icon in your Dock.
- From the top menu bar, click Go then select Connect to Server, or press
Command + K. - In the Server Address field, type the address starting with
smb://followed by the server name or IP address and the share name. For example:smb://192.168.1.50/SharedFiles. - Click the Connect button.
If the server name cannot be resolved, try using the IP address instead of the hostname. DNS resolution issues can prevent the Mac from finding the server by name.
The smb:// protocol is the modern standard for macOS. Only use cifs:// if you are connecting to very old legacy devices that do not support SMB. Older protocols like afp:// are deprecated in recent macOS versions.
Step 4: Enter Your Credentials
- After clicking Connect, you may be prompted to enter a username and password.
- Enter the username and password for the network drive. These are typically your office network credentials, not your Mac login details.
- If prompted, select Registered User and enter your network credentials:
- Name: Your network username (usually in the format
usernameororganization\username) - Password: Your network password
- Name: Your network username (usually in the format
- Tick the box next to Remember this password in my keychain only if this is your personal Mac.
- Click Connect.
Tick Remember this password in my keychain so you don't have to enter your credentials each time you reconnect.
Depending on the Windows Server security settings, administrator credentials may be required to mount certain shares. If you receive an access denied message, contact your IT administrator to confirm your account has the necessary permissions.
Step 5: Verify the Drive Appears in Finder
Once connected, the shared drive should appear in Finder under the Locations section in the sidebar. It may also appear on your Desktop.
To ensure the drive appears on your Desktop:
- Open Finder.
- From the menu bar, select Finder → Settings… (or Preferences… on older macOS versions).
- Under the General tab, tick the box for Connected servers.
Step 6: Pin the Drive to Finder Sidebar
Once connected, the network drive will appear in Finder under Locations in the left sidebar. To make it easier to find in future:
- Open a new Finder window.
- Locate the shared drive under Locations in the left sidebar.
- Click and drag the shared drive icon from Locations into the Favourites section of the sidebar.
You can also create a desktop alias for quick access. Click on the shared drive in the sidebar, press Command + Option, and drag the drive icon to your desktop.
Step 7: Keep the Drive Accessible After Restart
On macOS Ventura and later, adding a network drive to Login Items may not mount the drive reliably. Instead, follow these steps:
- Open System Settings from the Apple menu.
- Click General in the sidebar, then select Login Items.
- Under Open at Login, click the + button.
- Locate the network drive from the sidebar or Desktop, select it, and click Open.
To ensure the drive reconnects automatically when you restart your Mac, go to System Settings > General > Login Items > Open at Login. Click the + button, select your network drive from the list, and click Add. Alternatively, you can drag the network drive icon directly into this list.
On macOS Ventura, Sonoma, Sequoia, and later versions, System Settings Login Items primarily accepts applications rather than mounted volumes. If adding the network drive directly does not work reliably, create a simple AppleScript that connects to the server, save that script as an application, and add the application to Login Items instead. Alternatively, you can manually reconnect the drive after logging in.
If your Mac is not connected to the office network at startup, the drive will fail to mount. Connect to the VPN or office network first, then reconnect the drive manually.
If you use a laptop outside the office, the drive will attempt to connect at login and show an error when it can't reach the server. This is normal — the drive will reconnect automatically when you're back on the office network.
Step 8: Eject or Disconnect the Drive Properly
When you are finished using the network drive, eject it properly to avoid potential data loss if the connection drops during a file transfer:
- In Finder, locate the network drive under Locations in the sidebar.
- Click the Eject button next to the drive name, or right-click the drive and select Eject.
Troubleshooting
Check If the Drive Is Already Mounted
Before attempting to connect again, check whether the network drive is already mounted. Look under Locations in the Finder sidebar. If the drive is already listed, click it to access your files instead of creating a duplicate connection.
The Server Will Not Connect
- Check that you are connected to the correct office network via Wi-Fi or Ethernet.
- If working remotely, ensure your VPN is connected.
- Verify you are on the same subnet as the server or NAS.
- Confirm the server address format is correct. It must start with
smb://and include the share name, for examplesmb://192.168.1.50/SharedFiles. - Try using the IP address instead of the server name if DNS resolution fails.
- Verify the server address is correct. Try pinging the IP address in Terminal using
ping 192.168.1.50to confirm the Mac can reach the server. - Ensure the
smb://prefix is included.
SMB Protocol and Firewall Issues
- Check that the SMB protocol is enabled on the server or NAS device. Contact your IT administrator if you are unsure.
- A firewall may be blocking SMB ports. Common SMB ports include 445 and 139. Your IT team can verify whether these ports are open between your Mac and the server.
Authentication Fails or Credentials Not Accepted
- Confirm your username and password are correct for the network share, not your Mac account.
- Try using the format
DOMAIN\usernameif your office uses Active Directory. - Clear any saved, outdated passwords by opening Keychain Access (in Applications > Utilities), searching for the server address, and deleting the stored entry.
"The share does not exist" Error
This error usually means the specific folder name in your path is incorrect. Remove the folder name from the path and connect to just the server address (e.g., smb://192.168.1.50), then select the correct share from the list that appears.
"There was a problem connecting to the server" Message
This error often appears when the Mac can't resolve the server name. Try the following:
- Replace the hostname with the server's IP address, e.g.
smb://192.168.1.50/share-name - Ensure the
.localsuffix is appended if using a Mac hostname, e.g.smb://nas.local/data - Check if another device on the network has the same hostname, which can cause conflicts
The Drive Disconnects Frequently
- Check your network connection stability. Wi-Fi dropouts are a common cause of disconnections. If possible, connect via Ethernet for a more stable connection.
- Ensure your Mac's sleep settings are not turning off the network adapter. Go to System Settings > Battery > Options, and ensure Prevent automatic sleeping on power adapter when the display is off is enabled. On older versions of macOS, this setting may be found under System Settings > Energy Saver.
- On macOS Ventura and later, go to System Settings → Battery → Options and disable Put hard disks to sleep when possible if applicable. On older macOS versions, check System Preferences → Energy Saver for similar settings.
- Keep the Finder window for the share open in the background, as active use helps maintain the connection.
- Check that your Mac's sleep settings aren't putting the network adapter to sleep too aggressively.
The Drive Connects But Folders Are Empty
This usually indicates a permissions issue. Your user account may not have access to the contents of the share. Confirm with your IT administrator that your account has been granted read or read/write permissions for the specific folder you are trying to access.
Slow Connection Speeds
- Check available disk space on the network share. A nearly full NAS or server can cause slow performance.
- If working over Wi-Fi, try connecting via Ethernet for a more stable connection.
- If connected via VPN, encryption overhead may reduce transfer speeds. Disconnect the VPN if you are back on the office network.
The Drive Disappears After Restarting
Network drives do not always remount automatically after a restart, especially on macOS Ventura and later. If the drive is missing, open Finder and check under Locations. If it is not there, reconnect using Command + K.
If the drive doesn't remount automatically after rebooting your Mac:
- Open System Settings → General → Login Items.
- Check the network drive is still listed under Open at Login.
- If it's missing, remove any old entries and re-add the drive using the + button.
- Make sure you ticked Remember this password in my keychain when you last connected — without this, macOS can't authenticate silently at login.
On macOS Ventura and later, you may also need to grant Files and Folders permission in System Settings → Privacy & Security for certain network scenarios. Full Disk Access is rarely required for standard network shares.
If your office network requires a VPN to access the shared drive, ensure the VPN is connected before attempting to map the drive. Disconnecting from the VPN will immediately sever the connection to the network drive.
Avoid disconnecting the network drive or shutting down your Mac while files are being copied or saved. A dropped connection during a file transfer can result in data loss or file corruption.
Avoid storing sensitive credentials on a shared or public Mac. If multiple people use the computer, untick Remember this password in my keychain and enter credentials each time.
If you continue to experience issues connecting to your network drive, Open a Ticket for assistance from our IT support team.
Still Having Issues?
💻 Open a Ticket