How to Share Files Over a Network
This guide shares files over a local network so other computers in the home can open, and optionally edit, a shared folder across the same network. The result is a shared folder with set permissions that other Windows computers reach by name or mapped drive. File sharing over a network uses the Windows network discovery and file and printer sharing features to expose a folder on one computer to others on the same local network.
The process moves through six phases: setting the network to Private, enabling network discovery and file and printer sharing, sharing a folder with Read or Read/Write permissions, setting password-protected sharing, accessing the share from another computer by name, and mapping the share as a network drive. Each phase names the exact setting, permission, or path involved.
A folder shared on the Private profile stays inside the home network, while the Public profile blocks discovery for safety. Follow the phases in order, because the Private profile in phase one is required before discovery and sharing will function.
What You Need to Share Files Over a Network
A file sharing setup requires the access and details below before any folder is shared. Confirm each item first so other computers can find and open the share.
- Two or more computers on one network. The computers must connect to the same local network for the share to be reachable.
- The Private network profile. Windows blocks discovery on the Public profile, so the connection must be set to Private.
- An administrator account. Changing sharing settings and folder permissions requires an account with administrator rights.
- The computer name or IP of the host. Other computers reach the share by the host computer name or its local IP address.
- A user account for password-protected sharing. Password-protected sharing requires a valid account on the host computer to connect.
- The folder to share. The folder holding the files must exist on the host computer before it is shared.
Set the Network to Private
Setting the network profile to Private allows discovery between computers on the home network. The Public profile hides the computer from others as a safety default on untrusted networks.
- Open Settings, then Network and Internet, then select the active Ethernet or Wi-Fi connection.
- Find the network profile type setting for the connection.
- Select Private network so the computer becomes discoverable to others on the same network.
- Confirm both the host computer and the computers that access the share use the Private profile.
- Leave the profile as Public on any network outside the home, such as public Wi-Fi.
The Private profile signals a trusted home network, which Windows requires before it allows discovery. A network left on Public is the most common reason a share cannot be found.
Enable Network Discovery and File and Printer Sharing
Enabling network discovery and file and printer sharing makes the computer visible and allows its shared folders to be reached. Both settings live in the advanced sharing settings.
- Open Control Panel, Network and Sharing Center, then Change advanced sharing settings.
- Expand the Private network profile section.
- Turn on network discovery so the computer appears to others on the network.
- Turn on file and printer sharing so shared folders and printers become reachable.
- Save the changes so the settings apply to the Private profile.
Network discovery lets computers see each other, and file and printer sharing exposes the shared resources. The same settings allow a shared printer, covered in the guide to set up a network printer.
Share a Folder and Set Permissions
Sharing a folder and setting permissions exposes the folder to the network and controls whether others can only read or also change the files. The Read and Read/Write levels set what each user can do.
- Right-click the folder to share and select Properties, then open the Sharing tab.
- Select Share and add the user or group that should access the folder, or Everyone for open access on the home network.
- Set the permission level to Read for view-only access, or Read/Write to allow changes and new files.
- Select Share to apply, then note the network path shown, such as \\PCNAME\\FolderName.
- Open Advanced Sharing for finer control over the share name and the maximum number of simultaneous users.
Read permission lets others open and copy files without changing them, while Read/Write lets them edit, add, and delete. The lower level is the safe default unless editing is required.
Set Password-Protected Sharing
Setting password-protected sharing requires a valid account on the host before another computer can open the share. The setting controls whether a login is needed or the share is open to all on the network.

- Keep password-protected sharing on for security. Each connection then needs a username and password for an account on the host computer.
- Turn it off only on a fully trusted network. With it off, any device on the network opens the share without a login.
- Create a dedicated sharing account. A separate account with a known password gives other users a clean login without sharing the main account.
- Use the homegroup alternative on older Windows. Older Windows versions offered a homegroup for simple sharing, though current Windows replaces it with these account-based shares.
Password-protected sharing keeps the share limited to people with an account. The setting sits in the same advanced sharing settings as discovery.
Access the Share from Another Computer
Accessing the share from another computer confirms the folder is reachable across the network by name or address. The path uses the host computer name or its local IP.

- Open File Explorer on the second computer.
- Type two backslashes followed by the host computer name into the address bar, such as \\PCNAME, and press Enter.
- Use the host local IP instead, such as \\192.168.1.50, if the name does not resolve.
- Enter the username and password for an account on the host if password-protected sharing is on.
- Open the shared folder from the list to view the files.
The host fixed local address makes the IP path reliable. Fixing that address is covered in the guide to set up a static IP.
Map the Share as a Network Drive
Mapping the share as a network drive assigns it a drive letter so it opens like a local disk. A mapped drive reconnects automatically at sign-in for repeated access.
- Open File Explorer, right-click This PC, and select Map network drive.
- Choose an unused drive letter for the share.
- Enter the full network path to the shared folder, such as \\PCNAME\\FolderName.
- Select Reconnect at sign-in so the drive returns after a restart.
- Enter credentials if prompted and select Finish to mount the drive.
A mapped drive appears under This PC like a local disk, which suits a folder opened often. The wider network these computers share is covered in the guide to set up a home network.
Access the Share from a Mac or Phone
Accessing the share from a Mac or phone reaches the same Windows folder from a non-Windows device on the network. Each system connects to the share through the host name or local IP using the SMB protocol Windows sharing uses.
- On macOS, use the Connect to Server option. Open Finder, select Go then Connect to Server, and enter smb://192.168.1.50 with the host local IP to mount the share.
- On macOS, sign in with the host account. Enter the username and password of the account on the Windows host when password-protected sharing is on.
- On Android, use a file manager with SMB support. A file app that adds a network or SMB location reaches the share by the host IP and account login.
- On iPhone, use the Files app. Open Files, select Connect to Server from the browse menu, and enter the smb address with the host IP and credentials.
Each system uses the SMB protocol that Windows sharing relies on, so the host IP and a valid account open the share across platforms. A fixed host IP keeps these addresses reliable.
Common Mistakes to Avoid
- Leaving the network on Public. The Public profile blocks discovery, so the share cannot be found until the profile is set to Private.
- Granting Read/Write when Read is enough. Full write access lets others delete or change files that should stay view-only.
- Forgetting a sharing account. With password-protected sharing on, a connection fails without a valid account on the host.
- Mistyping the network path. The path needs two leading backslashes before the computer name, such as \\PCNAME.
- Skipping the static IP for the host. A changing host IP breaks an IP-based path the next time the host reconnects.
Key Takeaways
- Set the network to Private. Discovery works only on the Private profile, not Public.
- Enable discovery and sharing. Both advanced sharing settings must be on for the share to appear.
- Match the permission level. Read allows viewing, and Read/Write allows editing and deleting.
- Reach the share by name or IP. The path \\PCNAME or \\IP opens the share from another computer.
- Map a drive for frequent access. A mapped drive opens the share like a local disk and reconnects at sign-in.
How do I share a folder in Windows?
Right-click the folder, open Properties, and select the Sharing tab. Choose Share, add the user or Everyone, set Read or Read/Write permission, and apply. The folder is then reachable on the network.
Why can other computers not see my shared folder?
The most common cause is the network set to Public, which blocks discovery. Set the profile to Private, then enable network discovery and file and printer sharing in advanced sharing settings.
What is the difference between Read and Read/Write?
Read permission lets others open and copy files without changing them. Read/Write lets them edit, add, and delete files. Use Read as the safe default unless editing is required.
How do I access a shared folder from another PC?
Open File Explorer, type two backslashes and the host computer name, such as \\PCNAME, and press Enter. Use the host local IP if the name does not resolve, then open the shared folder.
What is password-protected sharing?
Password-protected sharing requires a valid account on the host computer before another device can open the share. Turning it off lets any device on the network connect without a login.
How do I map a network drive?
Open File Explorer, right-click This PC, and select Map network drive. Choose a drive letter, enter the network path such as \\PCNAME\\Folder, and select Reconnect at sign-in.
Does file sharing need both PCs on the same network?
Yes. Both computers must connect to the same local network for the share to be reachable. Reaching a share across the internet requires a VPN or other remote access method.
Last Thoughts on Sharing Files Over a Network
Files are shared over a network by setting the profile to Private, enabling network discovery and file and printer sharing, sharing a folder with Read or Read/Write permissions, setting password-protected sharing, and reaching the share from another computer by name or as a mapped drive. The Private profile sits at the start of this process because discovery does not function without it. The network these computers share is set up in the guide to set up a home network.
A fixed host address that keeps an IP path valid is covered in the guide to set up a static IP, and sharing a printer over the same settings is covered in the guide to set up a network printer. The collected setup guides sit on the PC tutorials hub.


