Smart Systems for Home

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

Network Discovery and File Sharing Windows 11

· 6 min read · Home Networking

In this article
  1. Background and Purpose
  2. How It Works
  3. How to Enable and Configure
  4. Network Profiles: Private vs Public
  5. Common Problems and Fixes
  6. Safety and Security Considerations
  7. Frequently Asked Questions

Network discovery and file sharing in Windows 11 allow your computer to see other devices on the same network and let those devices access shared folders, printers, or files. Enabling these features is essential for home and small office networks where users need to collaborate or transfer files between PCs, laptops, and servers.

Background and Purpose

Network discovery and file sharing are core components of Windows networking that have evolved over decades, originating from early versions of Windows that supported basic peer-to-peer file exchange. In Windows 11, these features are built on modern networking protocols like SMB (Server Message Block) and use components such as Function Discovery, SSDP (Simple Service Discovery Protocol), and WS-Discovery to detect devices. The primary purpose is to simplify resource sharing without requiring complex server infrastructure.

When enabled, network discovery allows your PC to appear in the Network section of File Explorer and to detect other computers, printers, and media devices. File sharing builds on this by letting you designate specific folders as shared, assigning permissions, and controlling access. These features are especially useful in home environments where users might want to share photos, music, or documents across devices, or in small offices where employees need access to common files.

How It Works

Network discovery in Windows 11 relies on a combination of services and firewall settings to function properly. When you turn on network discovery, Windows activates several background services, including:

  • Function Discovery Resource Publication – advertises your computer’s presence on the network
  • SSDP Discovery – detects UPnP devices like smart TVs and printers
  • UPnP Device Host – enables control of UPnP-capable devices
  • Computer Browser – maintains a list of computers on the network (used in older networks)

These services work in conjunction with the Windows Firewall, which must allow specific inbound rules for network discovery (e.g., 'Network Discovery (LLMNR-UDP-In)', 'File and Printer Sharing (SMB-In)'). Without these rules, even if discovery is turned on, other devices won't be able to see your PC or connect to shared resources.

File sharing uses the SMB protocol, currently SMB 3.1.1 in Windows 11, which provides encryption, performance improvements, and better security. When you share a folder, Windows assigns a network path (e.g., \\COMPUTERNAME\SharedFolder) and allows you to set permissions for specific users or groups.

How to Enable and Configure

To enable network discovery and file sharing in Windows 11, follow these steps:

  1. Open Settings → Network & internet → Advanced network settings → More network adapter options
  2. Right-click your active network connection and select Properties
  3. Click Sharing → Advanced sharing settings
  4. Under the current profile (Private or Guest/Public), choose:
    • Turn on network discovery
    • Turn on file and printer sharing
    • Choose whether to allow Windows to manage homegroup connections (deprecated but still present)
  5. Click Save changes

To share a folder:

  1. Right-click the folder → Show more options → Give access to → Specific people
  2. Select a user (e.g., Everyone, your Microsoft account, or a local user)
  3. Set permission level: Read or Read/Write
  4. Click Share and note the network path provided

For more granular control, use the Properties → Sharing tab and click Advanced Sharing to set share permissions and combine them with NTFS permissions under the Security tab.

Network Profiles: Private vs Public

Windows 11 uses network location profiles to determine the default behavior for network discovery and sharing. When you connect to a new network, you’re prompted to choose whether it’s a Private or Public network.

  • Private: Intended for trusted networks like your home or office. Enables network discovery, file sharing, and device visibility by default.
  • Public: Designed for untrusted environments like coffee shops or airports. Disables network discovery and sharing to protect your PC from unauthorized access.

You can change the profile later via Settings → Network & internet → Wi-Fi or Ethernet → select the network → Network profile type. Switching to Private enables the necessary firewall rules and services automatically.

Common Problems and Fixes

Even with settings enabled, users often encounter issues with network discovery or file sharing. Common problems include:

  • Can’t see other computers in File Explorer: Ensure all devices are on the same subnet and use the Private network profile. Restart the Function Discovery services or reboot the router.
  • Access denied when opening a shared folder: Verify the user has proper permissions. Try accessing via IP address (e.g., \\192.168.1.10\Share) and ensure password-protected sharing is configured correctly.
  • Network discovery keeps turning off: Check Group Policy (if on Pro/Enterprise) or registry settings. Some third-party security software may disable it.
  • SMB not working after Windows update: Ensure SMB 1.0/CIFS support is disabled (in Turn Windows features on or off) unless absolutely needed for legacy devices, as it’s a security risk.

To troubleshoot, run the built-in Network Troubleshooter (Settings → System → Troubleshoot → Other troubleshooters) and use Command Prompt commands like ipconfig /all to verify IP settings and ping to test connectivity.

Safety and Security Considerations

While network discovery and file sharing are convenient, they expose your system to potential risks if misconfigured. On public networks, leaving discovery enabled could allow nearby devices to detect your PC. Even on private networks, improperly set permissions can lead to unauthorized access.

Best practices include:

  • Only enable network discovery on trusted networks
  • Use strong passwords for user accounts, especially if password-protected sharing is on
  • Limit sharing to specific users instead of 'Everyone'
  • Regularly review shared folders and disable sharing when no longer needed
  • Keep Windows and antivirus software updated to protect against SMB-based exploits (e.g., EternalBlue)

Windows 11 disables SMBv1 by default, which is good because it’s vulnerable to attacks. Ensure it remains disabled unless required for old hardware or software.

Frequently Asked Questions

Why can’t I see other computers on my network?
Make sure all devices are set to the Private network profile and that network discovery is turned on. Also, check that the Function Discovery services are running and that firewalls aren’t blocking the necessary ports.

How do I share files between two Windows 11 PCs?
Enable network discovery and file sharing on both PCs, place files in a folder, right-click it, choose 'Give access to' → 'Specific people', and add the user or 'Everyone' with the desired permission level.

Is network discovery safe on a home network?
Yes, if your router uses WPA2/WPA3 encryption and your devices have strong passwords. Avoid enabling it on public networks where others could exploit open shares.

What is the difference between file sharing and network discovery?
Network discovery lets your PC find and be found by other devices. File sharing allows actual access to folders and files. Discovery must be on for sharing to work properly.

Why does file sharing stop after a reboot?
This can happen if services are set to manual start or if third-party software interferes. Check that 'Function Discovery Resource Publication' and related services are set to 'Automatic' in Services (services.msc).

Can I share files over the internet using this?
No, network discovery and file sharing in Windows 11 are designed for local networks only. For remote access, use cloud services like OneDrive, or set up a secure remote desktop or VPN connection.