How to Fix File Sharing When It Stops Working on Windows
Published 2026-10-16 · Marion Remote Fix
Windows file sharing lets computers on the same network access each other's shared folders and printers. When it stops working, you cannot see other computers in File Explorer's Network section, you get access denied errors when trying to open a shared folder, or shared folders just disappear from the network. Here is how to fix it.
Check that network discovery is on
Network discovery must be enabled for your computer to see other computers and for them to see you:
- Open Control Panel (search for it in the Start menu — the Settings app does not have the full network sharing options)
- Go to Network and Sharing Center
- Click Change advanced sharing settings on the left
- Under your active network profile (Private or Public), make sure these are enabled:
- Turn on network discovery (check the box for Turn on automatic setup of network connected devices as well)
- Turn on file and printer sharing
Under All Networks at the bottom, check:
- Turn on sharing so anyone with network access can read and write files in the Public folders (if you want Public folder sharing)
- Password protected sharing: If this is on, people connecting to your shared folders need a Windows user account and password on your computer. If you want easier access on a trusted home network, turn it off
Click Save changes. Repeat these steps on every computer that needs to participate in file sharing.
Make sure you are on a Private network
Windows applies different sharing rules depending on whether the network is set to Private or Public. Public networks disable network discovery and file sharing by default for security.
- Windows 11: Settings, Network and internet, click your network connection (Wi-Fi or Ethernet), and change the Network profile type to Private
- Windows 10: Settings, Network and Internet, click Properties under your active connection, and select Private
If you are on a work or school network that is managed by IT, you may not be able to change this setting. The network administrator controls sharing policies.
Check required Windows services
Several Windows services must be running for network discovery and file sharing to work. If any are stopped or disabled, sharing breaks:
- Press Windows+R, type
services.msc, press Enter - Find and check the status of each service below. If it is not running, right-click it and select Start. If it is set to Disabled, right-click, select Properties, and change the Startup type to Automatic:
- Function Discovery Provider Host — required for network discovery
- Function Discovery Resource Publication — publishes your computer on the network so others can find it
- SSDP Discovery — discovers networked devices using the SSDP protocol
- UPnP Device Host — allows UPnP devices to be hosted on the computer
- Server (also called LanmanServer) — provides SMB file sharing. If this service is stopped, no one can connect to your shared folders
- Workstation (also called LanmanWorkstation) — allows your computer to connect to other computers' shared folders
- TCP/IP NetBIOS Helper — provides NetBIOS name resolution, which older file sharing relies on
Enable SMB in Windows Features
SMB (Server Message Block) is the protocol Windows uses for file sharing. Windows 10 and 11 can have SMB partially or fully disabled, especially after feature updates:
- Press Windows key, type Turn Windows features on or off, open it
- Find SMB 1.0/CIFS File Sharing Support. If you need to connect to older devices (NAS drives, older Windows versions like XP or 7, older printers), check this box. Note: SMB 1.0 has known security vulnerabilities and should only be enabled if needed for legacy devices
- Find SMB Direct — make sure it is checked for modern SMB 3.0 connections
- Click OK and restart if prompted
Most modern file sharing uses SMB 2.0 or 3.0, which is enabled by default. SMB 1.0 is only needed for compatibility with older devices.
Check Windows Firewall
Windows Firewall can block file sharing traffic:
- Open Windows Security, Firewall and network protection
- Click Allow an app through firewall
- Click Change settings
- Find File and Printer Sharing in the list. Make sure it is checked for Private networks. Check Public only if you specifically need sharing on public networks (not recommended)
- Also check Network Discovery — it should be allowed for Private networks
If you use a third-party firewall or security suite, check its settings as well. Some security software blocks SMB traffic by default.
Access shared folders by IP address
If you cannot see computers in the Network section of File Explorer but know the computer is sharing folders, try connecting directly by IP address:
- On the computer you want to connect to, open Command Prompt and type
ipconfig. Note the IPv4 Address (for example, 192.168.1.105) - On your computer, open File Explorer and type
\\192.168.1.105in the address bar and press Enter - If the shared folders appear, the sharing itself works but network discovery (the browsing part) is not functioning. This is a common situation on Windows 10 and 11 because Microsoft removed the Computer Browser service that older Windows versions used for network browsing
If accessing by IP also fails with access denied or a connection error, the sharing configuration or firewall on the target computer is the issue.
Fix permissions on shared folders
If you can see the computer on the network but get Access Denied when opening a shared folder, the sharing permissions or NTFS permissions are blocking you:
- Sharing permissions: On the computer with the shared folder, right-click the folder, Properties, Sharing tab, Advanced Sharing, Permissions. Make sure the user or Everyone (for open sharing) has at least Read permission. Add Full Control if the user needs to write files
- NTFS permissions: On the Security tab of the same folder properties, check that the user or Users group has appropriate permissions. Both sharing and NTFS permissions must allow access — the most restrictive of the two applies
- Credential issue: If the remote computer has password-protected sharing enabled, you need to enter a username and password that exists on that computer. Windows may cache old credentials. Open Control Panel, Credential Manager, Windows Credentials, and remove any stale entries for the target computer. Then try connecting again and enter current credentials
Reset network components
If individual fixes have not worked, resetting the network stack can clear corruption:
- Open Command Prompt as administrator
- Run these commands one at a time:
netsh int ip resetnetsh winsock resetipconfig /flushdns
Restart the computer after running these commands. These reset the TCP/IP stack, Winsock catalog, and DNS cache to their defaults.
Workgroup name
All computers that need to share files should be in the same workgroup. The default is WORKGROUP. To check and change it:
- Right-click This PC (or My Computer), select Properties
- Click Advanced system settings, then the Computer Name tab
- The workgroup name is shown. Click Change to modify it if needed
- All computers on the network should use the same workgroup name
Remote file sharing troubleshooting
If Windows file sharing is not working after trying these steps, there may be a deeper configuration issue with network adapters, group policy settings, or a software conflict blocking SMB traffic. Marion Remote Fix provides remote diagnosis of Windows networking and file sharing issues, including service configuration, firewall rules, permission troubleshooting, and SMB protocol settings.