You can share files and folders across computers in a few minutes using the built-in networking tools that ship with Windows, macOS, and Linux, or by using a cloud service if the machines are never on the same network. The fastest method for two computers on the same Wi-Fi or Ethernet network is a shared folder: on Windows, right-click the folder, choose Properties > Sharing > Advanced Sharing, tick "Share this folder," and set permissions; on macOS, open System Settings > General > Sharing and turn on File Sharing, then add folders under Shared Folders. The other computer then connects to the share by its network name or IP address. The steps below walk through the Windows and macOS methods in detail, plus the cross-platform and cloud alternatives, and cover the permissions, firewall, and account issues that cause most failed shares.

What You'll Need

  • Two computers connected to the same local network (same router, Wi-Fi, or Ethernet switch) for the direct share method.
  • The name or IP address of the computer hosting the files.
  • An account with permission to access the shared folder on the host machine.
  • File and printer sharing enabled in the operating system's firewall.
  • For cloud sharing: a free account with a service such as OneDrive, Google Drive, or Dropbox, and internet access on both machines.
  • For cross-platform sharing (Windows to Mac or vice versa): SMB file sharing enabled on both machines.

Step-by-Step

  1. Confirm both computers are on the same network. Open the network settings on each machine and check that the Wi-Fi network name or the wired connection is identical. If one is on a guest network and the other on the main network, they usually cannot see each other.
  2. Find the host computer's name and IP address. On Windows, open Settings > System > About and note the device name; then open Command Prompt and type ipconfig to read the IPv4 address. On macOS, open System Settings > General > Sharing and read the Local hostname, or open Terminal and type ipconfig getifaddr en0 for the Wi-Fi address.
  3. Create or choose the folder to share. Put the files in a dedicated folder rather than sharing an entire drive, so permissions are easier to manage. Note the folder's exact path.
  4. Enable sharing on Windows. Right-click the folder and choose Properties > Sharing > Advanced Sharing. Tick "Share this folder," click Permissions, and give the account you will use Read or Read/Write access. Click OK twice. Then open Control Panel > Network and Sharing Center > Advanced sharing settings and turn on network discovery and file and printer sharing for the current profile.
  5. Enable sharing on macOS. Open System Settings > General > Sharing and switch on File Sharing. Click the info button next to File Sharing, then click the plus button under Shared Folders to add your folder. Under Users, set each account to Read Only, Read & Write, or Write Only (Drop Box). Note the smb:// address shown for the share.
  6. Allow the share through the firewall. On Windows, the first time you share, the firewall usually prompts you to allow File and Printer Sharing on private networks; choose Allow. On macOS, the firewall (System Settings > Network > Firewall) normally permits File Sharing automatically, but confirm it is not set to block all incoming connections.
  7. Connect from the second computer. On Windows, open File Explorer, type \\HOSTNAME\SHARENAME in the address bar, and press Enter; sign in with the host's username and password if prompted. On macOS, open Finder, choose Go > Connect to Server, type smb://HOSTNAME/SHARENAME, and authenticate. On Linux, use the file manager's "Connect to Server" option with the same smb:// address.
  8. Map the share for repeat access (optional). On Windows, right-click the connected share in File Explorer and choose "Map network drive" to assign a drive letter. On macOS, drag the mounted share into the Finder sidebar or add it under Login Items so it reconnects.
  9. For computers on different networks, use a cloud service instead. Install OneDrive, Google Drive, or Dropbox on both machines, sign in with the same account, and place the files in the synced folder. The files then appear on both computers once synchronization completes. Share a link from the service's website if the other person should not have full account access.

Common Mistakes

  • Sharing a folder but forgetting to grant the other user's account permission, so the folder appears but opens empty or is refused.
  • Leaving the network profile set to Public on Windows, which blocks discovery and sharing by default.
  • Typing the share path with the wrong slash direction or a misspelled hostname.
  • Assuming a share works over the internet without a VPN or cloud service; a local share is reachable only on the same network.
  • Using a guest or temporary account that has no password, which many systems refuse for network sign-in.
  • Sharing an entire drive or user profile, which exposes personal files and makes permissions hard to control.

Tips

  • Give the shared folder a short, simple name with no spaces to avoid path errors.
  • Use Read Only permissions for folders that only need to be viewed, and Read & Write only where editing is required.
  • Keep the host computer awake and connected; sleep mode drops the share.
  • For frequent transfers between the same two machines, map the drive or add it to the sidebar so you do not retype the path.
  • For large files, a wired Ethernet connection is more reliable than Wi-Fi.

Troubleshooting

If the second computer cannot see the share, first confirm both machines are on the same network and that the host is awake. Restart both computers, then check that network discovery and file sharing are enabled on the host. If you can see the computer but not open the folder, recheck the folder's permissions and sign in with the host's account credentials rather than a local guest account. If Windows refuses the connection, open Credential Manager and remove any saved credentials for that host, then reconnect and re-enter the password. If macOS cannot connect, confirm File Sharing is on and that the SMB address is typed exactly. If the share worked before and stopped, check whether the host's IP address changed after a router restart; use the hostname instead of the IP to avoid this. As a last resort, temporarily disable the firewall on the host to test whether it is blocking the connection, then re-enable it and add an exception for File and Printer Sharing rather than leaving it off.

Frequently Asked Questions

Can I share files between Windows and Mac?

Yes. Enable File Sharing on the Mac and connect from Windows using the smb:// address, or share a folder from Windows and connect from the Mac's Finder using Go > Connect to Server.

Do both computers need to be on at the same time?

For a direct local share, yes: the host must be on and awake for the other computer to reach the folder. A cloud service avoids this because files sync to each machine.

Is a local share safe over public Wi-Fi?

It is risky. On public networks, turn off sharing or use a VPN, because other devices on the same network may attempt to access the share.

Why does the share ask for a password I do not have?

The host requires an account with access to the folder. Use the host computer's username and password, or create a dedicated account for sharing.

Can I share a folder over the internet without a cloud service?

Only through a VPN or a secure tunnel; a plain local share is not reachable across the internet. A cloud service is the simpler option for remote sharing.