Sharing a folder over your network lets other computers on the same Wi‑Fi or Ethernet network view and edit files without sending them by email or using a USB drive. This guide covers the built-in sharing tools in Windows and macOS; you’ll need both computers to be on the same network and, for most setups, to know the username and password of the computer that hosts the shared folder.
What You’ll Need
- Two or more computers on the same local network (same router or switch).
- Administrator access on the computer that will share the folder.
- The host computer’s username and password (or a dedicated sharing account) to enter on the client.
- Network discovery and file sharing enabled (usually on by default for private networks).
Step-by-Step
On Windows (Host Computer)
- Right-click the folder you want to share and select Properties.
- Go to the Sharing tab and click Advanced Sharing.
- Check the box Share this folder. You can change the share name (this is what others will see) and add a comment if you like.
- Click Permissions. By default, everyone can read. To allow others to add or edit files, select Everyone and check Change and Read under Allow. Then click OK.
- Click OK on the Advanced Sharing window, then close the Properties window.
- Make sure your network profile is set to Private (not Public). You can check this by going to Settings > Network & Internet > Wi‑Fi or Ethernet, clicking your connection, and selecting “Private network.”
- Verify that network discovery and file sharing are on: go to Control Panel > Network and Sharing Center > Advanced sharing settings, and turn on Network discovery and File and printer sharing for your current profile.
On macOS (Host Computer)
- Open System Settings and go to General > Sharing.
- Turn on File Sharing. The shared folders list appears; by default, your Public folder is already shared.
- To share a specific folder, click the + under the shared folders list, choose the folder, and click Add.
- Set permissions for each user or group: click the user and choose Read & Write, Read Only, or No Access. You can also add users by clicking the + next to Users.
- Note the address shown under File Sharing (e.g., smb://your-computer-name.local). You’ll need this to connect from another computer.
On the Client Computer (Accessing the Shared Folder)
- Open File Explorer (Windows) or Finder (macOS).
- In Windows, go to the Network section in the left sidebar. You should see the host computer listed. Double-click it, enter the host’s username and password when prompted, and then double-click the shared folder.
- If you don’t see the computer, type its network path directly in the address bar:
\computername\sharename(Windows) orsmb://computername/sharename(macOS). - In macOS, press Cmd+K to open “Connect to Server,” type the address from the host, and click Connect. Enter the host’s credentials, then choose the folder.
- Once connected, you can copy files, or if you have write permission, edit and add files directly.
Common Mistakes
- Using a Public network profile: Windows blocks sharing on public networks by default. Switch to a private profile.
- Wrong permissions: Even if you share the folder, the underlying NTFS permissions (Windows) or POSIX permissions (macOS) may still block access. Make sure the user account you’re using has at least read permission on the folder itself.
- Forgetting the password: If the host computer has no password set, Windows may refuse to share. Set a password for the account you’re using.
- Firewall blocking: The built-in firewall may block file sharing. Allow “File and Printer Sharing” through the firewall (Windows) or enable the appropriate option in Security & Privacy (macOS).
- Typing the wrong path: Share names are case-sensitive on some systems. Use exactly what you set.
Tips
- Use a dedicated share folder rather than sharing your entire hard drive – it’s safer and easier to manage.
- Set a strong password for the account that has write access, especially on a home network with guests.
- If you only need read access, don’t grant “Change” permissions – it prevents accidental edits.
- For frequent access, map the shared folder as a network drive (Windows) or add it to your Finder sidebar (macOS) to get to it quickly.
- If you’re sharing between Windows and macOS, use SMB (the default) – it works on both.
Troubleshooting
- Computer not visible in Network: Check that both computers are on the same subnet (e.g., both connected to the same router). Restart the router if needed. Also, make sure network discovery is on and the firewall is not blocking it.
- “Access denied” or login prompt fails: Double-check the username and password. On Windows, you may need to use the Microsoft account email and password if you’re using an online account. On macOS, ensure the user account is allowed to share files (System Settings > Sharing > File Sharing > Users).
- Can see the computer but not the folder: The folder may not be shared, or the share name is different. Recheck the sharing settings on the host.
- Slow transfer speeds: This is normal for large files over Wi‑Fi. Try connecting both computers via Ethernet for faster transfer.
- Folder disappears after reboot: Some setups require re-sharing after a restart if the folder was on a removable drive. If it’s on an internal drive, it should persist.
Frequently Asked Questions
Can I share a folder with a computer that is not on the same network?
Yes, but you’d need to use cloud storage or a VPN. The steps in this guide only work for computers on the same local network.
Is it safe to share a folder on a public Wi‑Fi network?
It’s risky because other users on the same network might see your shared files. Avoid sharing sensitive folders on public networks, or use a VPN and set strong permissions.
How do I stop sharing a folder?
On Windows, go to the folder’s Properties > Sharing > Advanced Sharing and uncheck “Share this folder.” On macOS, turn off File Sharing or remove the folder from the shared list.
Why can I see the folder but not open it?
You likely have read-only permission. Ask the host to grant you “Read & Write” permission, or copy the files to your own computer first.
Can I share a folder with a Linux computer?
Yes, Linux can connect to Windows/macOS shares using SMB. You may need to install Samba client software, but the host settings are the same.
What is the difference between sharing and the Public folder on Windows?
The Public folder is a special shared location that is accessible to all users on the computer and, if you enable it, to the network. Sharing a specific folder gives you more control over who can access it.