If you see “Folder cannot be shared” when right-clicking a folder in Windows 10, the cause is usually a disabled network discovery service, a blocked SMB port, or a missing File and Printer Sharing feature. You can fix it by enabling the required services, turning on network discovery, and checking your firewall rules—most cases resolve in under ten minutes without reinstalling Windows.
Why Windows 10 Blocks Folder Sharing
Windows 10 uses the Server Message Block (SMB) protocol to share folders over a local network. When sharing fails, the operating system is not actually refusing to share the folder itself; it is refusing because one of the dependencies is missing or turned off. The most common culprits are:
- Network discovery is disabled – Windows hides the sharing option when it cannot see other devices.
- File and Printer Sharing is unchecked in the network adapter properties.
- Required services are stopped – especially “Function Discovery Resource Publication” and “SSDP Discovery.”
- Firewall rules block SMB – Windows Defender Firewall normally allows it, but third-party security software can interfere.
- SMB 1.0 is disabled – Windows 10 disables SMB1 by default, and some older devices need it.
Knowing which of these applies to your system is the key to a quick fix. The steps below walk through each one in the order most likely to solve the problem.
Step 1: Enable Network Discovery and File Sharing
The quickest fix is to turn on network discovery and file sharing in the Control Panel. This setting is often switched off on public networks or after a Windows update.
- Open Control Panel and go to Network and Sharing Center.
- Click Change advanced sharing settings on the left.
- Under Private (or All Networks), select Turn on network discovery and Turn on file and printer sharing.
- Click Save changes. If prompted for administrator permission, confirm.
After this, try sharing the folder again. If the option still appears grayed out or the error persists, move to the next step.
Step 2: Start the Required Sharing Services
Windows 10 relies on several background services to advertise and manage shared folders. If any of them are stopped, sharing fails silently. Open the Services console by pressing Win + R, typing services.msc, and pressing Enter. Look for these services and set each one to Automatic and Running:
- Function Discovery Provider Host
- Function Discovery Resource Publication
- SSDP Discovery
- UPnP Device Host
- Server
- Computer Browser (may not exist on all editions)
For each service, right-click it, choose Properties, set the startup type to Automatic, then click Start if it is not already running. Restart your PC afterward to ensure the changes take effect.
Step 3: Check the Network Adapter’s Sharing Option
File and Printer Sharing can be disabled for a specific network adapter, even when the global settings are correct. To verify:
- Open Settings > Network & Internet > Status > Change adapter options.
- Right-click your active network connection (Wi-Fi or Ethernet) and select Properties.
- Make sure File and Printer Sharing for Microsoft Networks is checked.
- If it is unchecked, check it and click OK.
This option must be enabled for any sharing to work. If it is missing entirely, you may need to reinstall the network driver or the feature itself (see Step 5).
Step 4: Allow SMB Through the Firewall
Windows Defender Firewall normally creates rules for SMB when you enable sharing, but those rules can be removed by third-party antivirus or a manual cleanup. To re-add them:
- Open Windows Security > Firewall & network protection > Allow an app through firewall.
- Click Change settings (requires admin).
- Scroll down and ensure File and Printer Sharing is checked for both Private and Public networks.
- If it is not in the list, click Allow another app, browse to
C:\Windows\System32\svchost.exe, and add it with the name “File and Printer Sharing.”
If you use a third-party firewall, check its own settings for SMB or port 445. Blocking port 445 is a common security practice, but it also blocks folder sharing.
Step 5: Reinstall the SMB 1.0 Feature (Only If Needed)
Windows 10 removed SMB 1.0 by default because it is outdated and insecure. However, some older NAS devices, printers, or Windows 7 machines require it. If you are certain you need SMB1, you can enable it via Control Panel > Programs > Turn Windows features on or off. Check SMB 1.0/CIFS File Sharing Support and restart. This is rarely the fix for a modern network, and enabling it reduces security, so only do this if you have a legacy device that cannot connect otherwise.
Common Mistakes and Misconceptions
Many users assume the error means the folder is corrupted or that they lack permission. In most cases, it is a network configuration issue. A few frequent mistakes:
- Sharing on a public network – Windows blocks sharing by default on public networks. Switch to a private network profile in Settings > Network & Internet > Status > Properties.
- Using a Microsoft account without linking the local user – Sometimes sharing permissions get confused. Create a local user account with a password and share with that account instead.
- Forgetting to set NTFS permissions – Sharing permissions alone are not enough. Right-click the folder > Properties > Security tab, and ensure the user or group has read/write access.
- Assuming the error is about the folder path – The error message usually appears before you even set permissions, so it is almost always a service or feature issue.
Frequently Asked Questions
Why does the “Share” option not appear when I right-click a folder?
This happens when network discovery is off or the “File and Printer Sharing” feature is disabled. Enable both as described in Steps 1 and 3, then restart Explorer (via Task Manager) or reboot.
Can I share a folder without a password?
Yes, but it is not recommended. In Advanced sharing settings, under All Networks, you can turn off password-protected sharing. This allows anyone on the network to access the shared folder, which is a security risk.
What does “Folder cannot be shared” mean exactly?
It means Windows could not create the network share. The folder itself is fine; the sharing mechanism is blocked. The error is generic, so you need to check the services, firewall, and network profile.
Will reinstalling Windows fix this?
Usually not. Reinstalling resets network settings, but the same issue can return if a third-party firewall or a Windows update changes defaults. Try the steps above first; they resolve the vast majority of cases.
Is SMB 1.0 required for sharing with Windows 10?
No. Windows 10 uses SMB 2.0 and 3.0 by default, which are faster and more secure. SMB 1.0 is only needed for very old devices. Enabling it is a security risk and should be avoided unless absolutely necessary.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Google Photos Backup Stuck? Fixes That Work
- Record Your Own Alarm Sound on Android
- Transfer Music from ZTE to iPhone: Full Guide
- Angel Investor vs Venture Capitalist: Key Differences
- Sync Apps Between Android Devices Using Google Play
- Find What Drains Your iPhone Battery Fast