Windows

7 Best Ways to Fix Windows 10 File Sharing When It Stops Working

Learn seven practical ways to fix Windows 10 file sharing when shared folders, PCs, or network devices can’t see each other or connect properly.

Andrew Miller
Andrew Miller
Technology Writer  •  Sep 21, 2026  •  6 min read

When Windows 10 file sharing stops working, the problem is usually caused by a network setting, permission issue, or a service that is turned off. The good news is that most sharing problems can be narrowed down with a few checks instead of guessing at random fixes.

This guide walks through seven practical ways to fix file sharing in Windows 10, from simple network checks to more advanced settings such as sharing permissions, discovery, and firewall rules.

7 Best Ways to Fix Windows 10 File Sharing When It Stops Working

1. Make Sure Both PCs Are on the Same Network

File sharing only works properly when the computers can see each other on the same local network. If one PC is on Wi-Fi and the other is connected to a guest network, different VLAN, or a separate router network, Windows may block access even if both machines have internet.

Why It Matters If the devices are not on the same local network, Windows sharing settings will not help. This is one of the most common reasons a shared folder appears to be missing or unreachable.

2. Turn On Network Discovery and File Sharing

Windows 10 can hide your PC from other devices if Network discovery or File and printer sharing is turned off. These settings control whether Windows can detect nearby computers and whether shared folders can be accessed at all.

  1. Open Control Panel and go to Network and Sharing Center.
  2. Select Change advanced sharing settings.
  3. Under the Private profile, turn on Network discovery.
  4. Turn on File and printer sharing.
  5. If needed, also turn on Public folder sharing for the correct profile, though this is usually not necessary for normal file sharing.
  6. Click Save changes.
Warning Be careful with the Public network profile. If Windows thinks your connection is public, sharing features may be limited for security reasons. Make sure you are changing the correct profile for your network type.
Note The exact labels can vary slightly depending on your Windows 10 version and installed updates.

3. Check the Folder’s Sharing and Security Permissions

A folder can be shared on the network but still be blocked by permissions. In that case, other users may see the folder name but get an access denied message when they try to open it.

  1. Right-click the folder and choose Properties.
  2. Open the Sharing tab and click Share or Advanced Sharing.
  3. Confirm the folder is actually shared with the correct user or group.
  4. Open the Security tab and check that the same user or group has the needed NTFS permissions.
  5. If you are testing, add a temporary permission for Everyone with read access to see whether the problem is caused by account permissions.
Key Fact Sharing permissions and Security permissions both matter. If either one blocks access, Windows file sharing can fail even when the network connection itself is working.
Quick Tip If a share works for one account but not another, the issue is usually account permissions rather than the network.

4. Turn On Password-Protected Sharing or Use the Right Credentials

Windows 10 may block access if password-protected sharing is enabled and the remote PC is not using the correct username and password. This often happens when the computer expects a local account login but the user tries to connect as a guest.

Warning Turning off password-protected sharing makes network access easier, but it also reduces security. Only use it if you trust everyone on the network and you understand the risk.

5. Restart the Windows Sharing Services

Several Windows services help network discovery and file sharing work in the background. If one of them is stopped or disabled, shares may disappear or connections may fail even though the settings look correct.

  1. Press Windows + R, type services.msc, and press Enter.
  2. Find Function Discovery Provider Host and Function Discovery Resource Publication.
  3. Make sure both are running and set to Manual or Automatic as appropriate.
  4. Also check Server and Workstation services.
  5. If one of the services is stopped, start it and test sharing again.
Key Fact The Server service is especially important for hosting shared folders. If it is stopped, other devices may not be able to connect to your shares at all.
Note Some services may start only when Windows needs them, so what matters most is whether they are disabled or failing to run when sharing is attempted.

6. Allow File Sharing Through Windows Firewall

Windows Defender Firewall can block local sharing traffic even when the folder permissions are correct. This is especially likely after a Windows update, security tool installation, or a network profile change.

  1. Open Windows Security and go to Firewall & network protection.
  2. Select Allow an app through firewall.
  3. Make sure File and Printer Sharing is allowed on Private networks.
  4. If you use a third-party firewall or antivirus suite, check its own network protection settings too.
  5. Temporarily disable the third-party firewall only if you are testing on a trusted home network and you know how to turn it back on immediately.
Warning Do not leave a firewall disabled after testing. Re-enable it as soon as you finish checking whether it is the cause.
Best For Situations where sharing stopped working after a security change, software install, or Windows update.

7. Reset the Network Adapter or File Sharing Stack

If the earlier fixes do not help, the Windows network configuration itself may be corrupted or misconfigured. Resetting the adapter or refreshing the network stack can clear stubborn issues without changing your files.

  1. Open Settings and go to Network & Internet.
  2. Open Status and select Network reset, or use the network troubleshooter if you want a lighter first step.
  3. After the reset, reconnect to the network and test file sharing again.
  4. If you prefer a more targeted repair, open Command Prompt as administrator and run ipconfig /flushdns, netsh winsock reset, and netsh int ip reset, then reboot if required.
Quick Tip Use the full network reset only if simpler fixes fail, because it removes saved network adapters and can require you to reconnect to Wi-Fi afterward.

How to Narrow Down the Problem Faster

If file sharing still fails, use the error message and the symptom to identify where the failure is happening. That can save a lot of time.

Note If you can access the shared folder by IP address but not by name, DNS or network discovery is often the weak point.

Which Fix Should You Try First?

For most Windows 10 file sharing problems, the best order is: confirm both PCs are on the same network, enable Network discovery and File and printer sharing, verify permissions, then check credentials and firewall rules. If those do not solve it, move on to the Windows services and network reset steps.

That order works because it starts with the most common causes and avoids more disruptive changes until they are actually needed.

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows