Resolve Windows 10 local network sharing issues by ensuring Network Discovery and File Sharing are enabled in Advanced Sharing Settings, verifying that the Network Profile is set to Private rather than Public, and confirming that the SMB 1.0 protocol is disabled while checking for firewall conflicts. These steps typically restore connectivity between devices on the same LAN.
Verify Network Profile Settings
One of the most common reasons for failed local sharing is an incorrect network profile assignment. Windows treats networks differently based on whether they are classified as Public or Private. A Public network is designed for untrusted environments like coffee shops and automatically blocks file sharing and device discovery for security reasons. If your computer is connected to a home or office LAN but Windows identifies it as Public, sharing will fail immediately. To correct this, navigate to the Settings menu and select Network & Internet. From the left-hand pane, choose Wi-Fi if you are wireless or Ethernet if you are wired. Click on the properties of the currently connected network. Under the "Network profile" section, ensure that Private is selected. This setting tells Windows to trust devices on this network and allows it to turn on network discovery and file sharing features automatically. If you are using an older version of Windows 10, you may need to use the Control Panel method by opening Network Connections, right-clicking the adapter, and selecting Properties to adjust the profile type through the network location awareness settings.Configure Advanced Sharing Settings
Even with the correct network profile, the specific sharing protocols must be enabled. Open the Control Panel and go to Network and Internet, then click on Network and Sharing Center. On the left side, select Change advanced sharing settings. You will see three main sections: Private, Guest or Public, and All Networks. In the Private section, ensure that Turn on network discovery is active and check the box for Turn on automatic setup of network connected devices. Below that, make sure Turn on file and printer sharing is selected. In the All Networks section, which is often overlooked, verify that Password protected sharing is configured according to your security needs. Disabling password protected sharing allows guests to access shared folders without credentials, which is convenient for simple home labs but less secure. Conversely, enabling it requires users to have valid Windows accounts on the host machine. It is also critical to check the Guest or Public section. Ensure that network discovery and file sharing are turned off here to prevent accidental exposure when connecting to untrusted networks. If you are experiencing intermittent connectivity, refer to our guide on Troubleshooting LAN Connection Issues on a Brand New Windows 11 Machine, as the underlying principles for network interface stability apply across both operating systems.Check Services and Protocols
Windows relies on specific background services to manage network shares. If these services are stopped or disabled, sharing will not function. PressWin + R, type services.msc, and hit Enter. Look for the following services and ensure their status is Running and startup type is Automatic:
- Function Discovery Provider Host
- Function Discovery Resource Publication
- SMB Direct
- SSDP Discovery
- UPnP Device Host
- Web Client
Get-SmbServerConfiguration | Select EnableSMB1Protocol. If you absolutely must use legacy hardware, you can enable SMB 1.0 via Control Panel > Programs > Turn Windows features on or off, but this is strongly discouraged for modern security standards. Instead, ensure that SMB 2.0 and SMB 3.0 are enabled, which they are by default on all current versions of Windows 10.
Firewall and Antivirus Interference
Third-party antivirus software often includes its own firewall modules that can block incoming connections even if Windows Defender Firewall is configured correctly. If you have third-party security software installed, check its settings to ensure that file and printer sharing is allowed through its firewall. Temporarily disabling the third-party firewall can help isolate whether it is the cause of the issue. For Windows Defender Firewall, open it from the Control Panel and click on Allow an app or feature through Windows Defender Firewall. Ensure that File and Printer Sharing is checked for both Private and Public networks. If you have created custom rules, verify that they are not blocking traffic on ports 139 (NetBIOS) and 445 (SMB).Test Connectivity and Permissions
Once configurations are updated, test the connection using the IP address rather than the hostname to rule out DNS resolution issues. Open Command Prompt and ping the target machine's IP address. If the ping succeeds but sharing fails, the issue is likely application-layer related. Right-click the folder you wish to share, select Properties, go to the Sharing tab, and click Advanced Sharing. Ensure Share this folder is checked. Click Permissions and verify that the user group or individual account has at least Read permissions. It is also wise to check the Security tab to ensure NTFS permissions align with Share permissions. The most restrictive permission applies, so if Share permissions allow Full Control but Security permissions only allow Read, the user will only see read-only access.Frequently Asked Questions
Why can I ping a device but cannot access its shared folders?
This usually indicates that network layer connectivity is fine, but the SMB application layer is blocked or misconfigured. Check that the "File and Printer Sharing" exception is enabled in your firewall settings and verify that the necessary Windows services are running. Additionally, ensure that the shared folder has proper NTFS and Share permissions assigned to your user account.
How do I fix "You don't have permission to access this resource" errors?
This error occurs when there is a mismatch between Share permissions and NTFS Security permissions. Navigate to the folder properties, go to the Security tab, and ensure your user account or the Everyone group has the appropriate read/write rights. Also, verify that Password Protected Sharing is either disabled or that you are entering valid credentials for an account existing on the host machine.
Is SMB 1.0 safe to enable for older printers or NAS devices?
No, SMB 1.0 is considered insecure and vulnerable to ransomware attacks such as WannaCry. Modern Windows versions disable it by default. Instead of enabling SMB 1.0, try updating the firmware on your legacy device or configuring it to support SMB 2.0 or 3.0. If you must connect, consider isolating the device on a separate VLAN or subnet.
What should I do if Network Discovery shows no other computers?
Ensure that the Function Discovery Resource Publication service is running, as it advertises your PC to the network. Verify that your network profile is set to Private, not Public. If the issue persists, restart the Computer Browser service and reboot the network adapters on both the host and client machines to refresh the discovery cache.
Can I share files without a password on a home network?
Yes, you can disable password protected sharing in the Advanced Sharing Settings. Go to the Control Panel, open Network and Sharing Center, select Change advanced sharing settings, and under All Networks, choose "Turn off password protected sharing." Be aware that this allows anyone on the local network to access your shared folders without authentication.