Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Enable Network Discovery and File Sharing in Windows 11

· 6 min read · Home Networking

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Network Discovery and File Sharing in Windows 11 let your PC see other devices on the same local network—and let them see yours—so you can transfer files, stream media, or access shared folders without a USB drive or cloud service. This guide walks you through turning both on, configuring the right sharing settings, and fixing common issues. You’ll need administrator access to your PC and, ideally, all devices connected to the same Wi‑Fi or Ethernet network.

What You'll Need

  • An administrator account on your Windows 11 PC.
  • All devices (PCs, laptops, NAS) connected to the same local network.
  • For sharing with other Windows PCs, they should be on the same network profile (Private vs. Public).
  • Optional: a folder you want to share, with files already in it.

Step-by-Step

  1. Open Settings. Press Windows + I, or click the Start button and select the gear icon.
  2. Go to Network & internet. In the left sidebar, click Network & internet.
  3. Check your network profile. Click Wi‑Fi or Ethernet (depending on your connection), then click your connected network. Under Network profile type, select Private network. This is essential—Network Discovery and File Sharing are often disabled on Public networks for security.
  4. Turn on Network Discovery. Go back to Network & internet and click Advanced network settings. Then click Advanced sharing settings. Under Private networks, toggle Network discovery to On. When prompted, choose Yes, turn on network discovery and file sharing for all public networks if you want it to apply to public networks too (not recommended).
  5. Turn on File and Printer Sharing. In the same Advanced sharing settings page, under Private networks, toggle File and printer sharing to On.
  6. Apply the changes. Click Save changes at the bottom of the page.
  7. Share a specific folder. Open File Explorer (Windows + E), navigate to the folder you want to share, right-click it, and select Properties. Go to the Sharing tab and click Share….
  8. Choose who to share with. In the drop-down, select Everyone (or a specific user) and click Add. Set the permission level to Read or Read/Write, then click Share.
  9. Note the network path. After sharing, Windows shows a network path like \\YourPCName\FolderName. Copy this if you need to access it from another device. Click Done.
  10. Verify from another device. On another PC on the same network, open File Explorer, click Network in the left sidebar, and look for your PC’s name. Double-click it to see shared folders. If you don’t see it, try typing the network path directly in the address bar.

Common Mistakes

  • Leaving the network profile as Public. Windows disables discovery and sharing on public networks by default. Always switch to Private for trusted home or office networks.
  • Forgetting to turn on both Network Discovery and File Sharing. They are separate toggles; you need both for folder sharing to work.
  • Sharing a folder but not setting permissions. If you don’t add “Everyone” or a specific user, the folder won’t be accessible.
  • Using the wrong network path. The path uses the PC’s name, not the IP address, unless you’ve changed it. Check the path in the Sharing tab.
  • Antivirus or firewall blocking. Some security software can block SMB (file sharing) traffic. Temporarily disable it to test, but re-enable it afterward.

Tips

  • Use a static IP for your PC if you frequently access it by IP address, so it doesn’t change.
  • Set up a HomeGroup alternative. Windows 11 removed HomeGroup; use the built-in sharing or set up a network drive mapping instead.
  • For easier access, map a network drive on other PCs: right-click “This PC” in File Explorer, select “Map network drive,” and enter the shared folder path.
  • Keep your network password-protected. When sharing with “Everyone,” anyone on the network can access those files. For sensitive data, share with specific users instead.
  • Check the “Password protected sharing” setting. In Advanced sharing settings, under “All Networks,” you can turn this on to require a username and password for access.

Troubleshooting

I turned everything on, but other PCs still can’t see mine.

  • Confirm all devices are on the same network (same router, same subnet). Check IP addresses—they should start with the same three numbers (e.g., 192.168.1.x).
  • Make sure the network profile is set to Private on all PCs.
  • Restart the “Function Discovery” services: Press Windows + R, type services.msc, and press Enter. Find Function Discovery Provider Host and Function Discovery Resource Publication. Set their startup type to Automatic and start them.
  • Check Windows Firewall: In Control Panel, go to Windows Defender Firewall → Allow an app or feature through Windows Defender Firewall. Ensure File and Printer Sharing is checked for Private networks.

I can see the other PC, but I get an “Access denied” error when opening a folder.

  • Verify the folder’s sharing permissions include your user account or “Everyone.”
  • Check the NTFS permissions on the folder’s Security tab (right-click folder → Properties → Security). Add your user if missing.
  • If you’re using a Microsoft account, try using the email address and password for that account when prompted.

Network Discovery keeps turning off.

  • This often happens when the network profile is set to Public. Change it to Private as described in Step 3.
  • Some third-party VPN or firewall software can override these settings. Disable them temporarily.
  • Run the network troubleshooter: Settings → System → Troubleshoot → Other troubleshooters → Network Adapter → Run.

I can access shared folders from my PC, but not from my phone or tablet.

  • Make sure the device’s file manager supports SMB (most do). Use the network path in the format smb://PCName/Folder or \\IPAddress\Folder.
  • Check that your router doesn’t have “AP isolation” enabled, which blocks device-to-device communication.

Frequently Asked Questions

Q: Do I need to enable Network Discovery if I only want to share a printer?
A: Yes, Printer Sharing also relies on Network Discovery. Turn on both Network Discovery and File and Printer Sharing for the Private network profile.

Q: What’s the difference between Network Discovery and File Sharing?
A: Network Discovery lets your PC see other devices and be seen. File Sharing is the actual permission to share files and folders. You need both for folder sharing to work.

Q: Can I share files with a Mac or Linux computer?
A: Yes, but they use SMB protocol too. On Mac, use Finder → Go → Connect to Server and enter smb://PCName. On Linux, use a file manager that supports SMB (like Nautilus) and enter smb://PCName.

Q: Is it safe to enable Network Discovery on a public Wi‑Fi?
A: No. Public networks are untrusted; enabling discovery can expose your files to strangers. Keep it off for Public networks and only enable it on Private, trusted networks.

Q: Why is my PC not showing up in the Network list even after enabling everything?
A: This can be due to network discovery being blocked by the router, firewall, or because the “Function Discovery” services are stopped. Follow the troubleshooting steps above, and try typing the network path directly (e.g., \\PCName) instead of relying on the list.

Q: Can I share a folder without turning on Network Discovery?
A: Yes, you can still share a folder and access it by typing the network path directly (e.g., \\PCName\Folder). Network Discovery only makes it appear in the Network list.