How to Share a Folder in Windows 10: Step-by-Step Guide
In this article
You can share folders in Windows 10 to allow other users on your local network to access, view, or edit files without needing to copy them manually. This is achieved by enabling Network Discovery and configuring folder permissions through the Settings app. Before starting, ensure both computers are connected to the same Wi-Fi or Ethernet network and that you know the username and password of the account on the computer hosting the folder.
What You'll Need
- A Windows 10 PC acting as the host (the computer with the files)
- A second device (PC, Mac, or mobile) to access the shared folder
- Administrator privileges on the host computer
- The IP address or computer name of the host machine
Step-by-Step
- Enable Network Discovery: Open the Start menu and type "Network and Sharing Center." Click the result to open it. In the left sidebar, select "Change advanced sharing settings." Expand the section for "Private" networks (or "Guest or Public" if your network profile is set incorrectly). Turn on "Network discovery" and check the box for "Turn on automatic setup of network connected devices." Click "Save changes." Note: Menu labels may vary slightly depending on your Windows 10 version.
- Select the Folder: Navigate to the folder you wish to share using File Explorer. Right-click on the folder and select "Properties" from the context menu.
- Access Sharing Settings: In the Properties window, click the "Sharing" tab. If the tab is grayed out, ensure you have administrator rights. Click the button labeled "Advanced Sharing." A new window will appear.
- Enable Sharing: Check the box that says "Share this folder." You can leave the "Share name" as the default folder name or change it to something more recognizable for network users. Click "Permissions."
- Read: Users can view and copy files but cannot modify or delete them.
- Change: Users can modify, add, or delete files.
- Full Control: Users can do everything, including changing permissions.
- Configure Security Permissions: Back in the main Properties window, switch to the "Security" tab. Click "Edit..." to adjust who can access the folder at a system level. Ensure the group "Users" or "Everyone" is listed. If not, click "Add," type "Everyone," and click "Check Names" to verify it exists. Select the user group and assign the corresponding permissions (Read, Write, etc.) under the "Allow" column. Click "Apply" and "OK." This step is crucial; sharing permissions alone are insufficient if the security tab blocks access.
- Note Your Computer Name: To access the folder from another device, you need the host's location. Press the Windows key + R, type "cmd," and press Enter. Type "hostname" and press Enter. Note the name displayed. Alternatively, go to Settings > System > About to find your "Device name."
- Access from Another Device: On the client computer, open File Explorer. In the address bar, type two backslashes followed by the hostname (e.g., \\MyComputerName) and press Enter. If prompted, enter the username and password of an account on the host computer. The shared folder should now be visible.
Common Mistakes
One of the most frequent errors is neglecting the "Security" tab after setting up the "Sharing" tab. Windows uses a dual-layer permission system; even if you grant "Everyone" read access in the Sharing tab, the Security tab might still block access if "Users" or "Authenticated Users" are denied access there. Always check both tabs.
Another common mistake is assuming the folder is accessible immediately after turning on Network Discovery. Windows often defaults to password-protected sharing. If you try to access the folder without credentials, it will fail. Ensure you know the exact username and password of the host account, or disable password protection in the Advanced Sharing settings (though this reduces security).
Tips
If you frequently access the shared folder, map it as a network drive. Once you have accessed the folder via \\Hostname, right-click it in File Explorer and select "Map network drive." Choose a drive letter (like Z:) and check "Reconnect at sign-in." This makes the folder appear as a permanent hard drive in This PC, simplifying future access.
For better performance and stability, use a wired Ethernet connection for the host computer rather than Wi-Fi. Wireless interference can cause intermittent disconnections, especially when transferring large files.
Troubleshooting
If you cannot see the shared folder, first verify that both computers are on the same subnet. Ensure the host computer is not in Sleep mode, as networking features are disabled during sleep. Restart the "Function Discovery Provider Host" and "Function Discovery Resource Publication" services in Services.msc, as these often handle network visibility.
If you receive an "Access Denied" error, double-check the Security tab permissions. Ensure the user account you are logging in with has at least Read permissions. If you are using a Microsoft Account on the host, you must use the full email address as the username when connecting from another device.
If the network is not detected, ensure your network profile is set to "Private." Go to Settings > Network & Internet > Wi-Fi (or Ethernet), click your connected network, and select "Private." Public networks hide your PC from other devices for security reasons.
Frequently Asked Questions
Can I share a folder with someone outside my home network?
No, standard Windows folder sharing works only within the same local network (LAN). To share with people over the internet, you must use cloud storage services like OneDrive, Dropbox, or Google Drive, or configure port forwarding on your router, which is complex and less secure.
Why do I need to enter a password if I turned off password-protected sharing?
Turning off password-protected sharing allows guests to access shares without a password, but only if the folder permissions explicitly allow "Everyone" or "Guest" access. If the Security tab restricts access to specific users, you will still be prompted for credentials. Ensure the folder permissions include the "Everyone" group with the desired access level.
Is it safe to share folders on a public Wi-Fi network?
No. Never enable file sharing on public or untrusted networks. Attackers on the same network can easily scan for shared folders and exploit vulnerabilities. Always set your network profile to "Public" on coffee shops, airports, or libraries, which disables discovery and sharing automatically.
How do I stop sharing a folder?
To stop sharing, right-click the folder, go to Properties > Sharing > Advanced Sharing, and uncheck "Share this folder." Additionally, go to the Security tab and remove any specific user groups you added, reverting to default permissions.
Can I share a folder between Windows 10 and macOS?
Yes, but it requires additional configuration. Windows uses SMB (Server Message Blocks), which macOS supports. However, you may need to enable SMB 1.0 support on Windows (not recommended due to security risks) or use third-party software on the Mac to bridge the gap. It is generally easier to use a cross-platform cloud service for mixed-OS environments.