Network discovery

On this page 7

Network discovery is the Windows setting that controls whether a computer finds other devices on the local network and whether it announces itself so that those devices can find it. When it is on, File Explorer shows nearby PCs, network-attached storage, printers and media devices in the Network folder; when it is off, the computer neither browses for nor advertises itself to its neighbors.

In Windows networking, network discovery is tied to the network profile: Windows turns it on by default for Private networks and keeps it off for Public networks. It is a visibility feature, not an access feature, so seeing another computer does not grant permission to open its files, which is the job of file and printer sharing and share permissions.

How network discovery finds devices

Network discovery relies on multicast discovery protocols that send announcements and queries within the local subnet. Modern Windows primarily uses WS-Discovery (Web Services Dynamic Discovery) on UDP port 3702 and the Simple Service Discovery Protocol (SSDP) used by UPnP devices on UDP port 1900. Name resolution for discovered hosts is assisted by LLMNR and mDNS.

Two Windows services do the work. The Function Discovery Provider Host sends queries and collects responses, while the Function Discovery Resource Publication service announces the local computer and its shares. Supporting services such as SSDP Discovery and UPnP Device Host handle media renderers and similar devices.

The table below lists the main protocols and what each contributes.

ProtocolTransport and portRole in discovery
WS-DiscoveryUDP 3702, multicastFinds Windows PCs and WSD printers
SSDP / UPnPUDP 1900, multicastFinds media devices, routers and NAS units
LLMNRUDP 5355, multicastResolves names without DNS
mDNSUDP 5353, multicastResolves .local names and announces services
NetBIOS over TCP/IPUDP 137 and 138Legacy name service and browsing
Protocols behind network discovery

Because these are link-local multicast protocols, discovery normally stops at the router boundary. Devices on another subnet or VLAN do not appear in the Network folder even when they are reachable by name or IP address.

Network discovery and network profiles

Windows assigns every connection a network profile, and the profile decides the default discovery state and the Windows Defender Firewall rules that apply. The firewall rule group named Network Discovery opens the required ports only for the profiles where discovery is enabled.

The following table shows the default behavior for each profile.

Network profileDefault discovery stateTypical setting
PrivateOnHome or trusted small office
PublicOffCafe, hotel, airport or unknown network
DomainControlled by Group PolicyCorporate network with a domain controller
Default discovery behavior by profile

The setting lives in Settings, Network and internet, Advanced network settings, Advanced sharing settings, where it can be switched separately for Private and Public profiles. The option set up network connected devices automatically lets Windows install drivers for discovered printers and similar devices on Private networks.

Network discovery is often confused with neighboring features because they appear on the same settings page. The essential distinction is that discovery controls who can see whom, whereas sharing features control who can use what.

FeatureWhat it controlsNeeded for access to files
Network discoveryVisibility of devices in the Network folderNo
File and printer sharingInbound SMB access to shares and printersYes
Shared folder permissionsWhich accounts can read or write a shareYes
Mapped network driveA drive letter pointing to a known shareYes, but not discovery
HomeGroupFormer simplified sharing, removed in 2018No longer available
Network discovery compared with related features

A user can therefore open a share by typing its UNC path, such as \\server\share, even when discovery is off, provided file sharing and permissions allow it. Conversely, a visible computer may still refuse access.

Troubleshooting devices that do not appear

Most discovery problems come from a wrong network profile, stopped services or filtered multicast traffic. Since Windows 10 version 1709, the SMB1 protocol and the Computer Browser service are not installed by default, so older devices that announce themselves only through NetBIOS browsing no longer appear in the Network folder.

SymptomLikely causeFix
No computers in Network folderProfile set to PublicChange the network to Private
Discovery switches itself offDependent services stoppedStart Function Discovery and SSDP services
Old NAS missingDevice relies on SMB1 browsingUpdate firmware or connect by UNC path
Devices visible only sometimesWi-Fi isolation or multicast filteringDisable client isolation on the access point
Setting grayed outGroup Policy or domain profileAsk the administrator to adjust policy
Common symptoms and fixes

Useful command-line checks include netsh advfirewall firewall show rule name=all filtered for the Network Discovery group and Get-NetConnectionProfile in PowerShell to confirm the active profile. Windows Network Diagnostics can also flag a disabled service.

Security considerations

Discovery exposes device names, operating system details and available services to anyone on the same network segment. On untrusted networks this information helps attackers map targets and can enable name-poisoning attacks against LLMNR and NetBIOS responses.

  • Keep public networks Public, which leaves discovery off by default.
  • Disable LLMNR and NetBIOS through Group Policy on managed networks where DNS is reliable.
  • Never treat discovery as access control; protect shares with accounts and permissions.
  • Segment guest and IoT devices on separate VLANs so that discovery stays within trusted groups.

In everyday language

Network discovery is like a nameplate on your door in a shared building. When it is on, your computer shows its name to neighbors and can see theirs. When it is off, your computer stays quiet and ignores the others.

Seeing a neighbor does not mean you can walk in. Opening files still needs sharing and the right permissions. The key point is simple: turn discovery on at home and keep it off in public places.

Seen in the real world

A small architecture office with eight Windows PCs and a network-attached storage unit reports that a new laptop cannot see the storage device or the shared plotter. The laptop shows an empty Network folder, although it can browse the internet without problems.

The office administrator runs Get-NetConnectionProfile and finds that the laptop classified the office Wi-Fi as Public, which kept network discovery and its firewall rules off. After the administrator switches the profile to Private, the storage unit and plotter appear within a minute, and Windows installs the plotter driver automatically.

The outcome is a two-minute fix instead of a support call. The administrator also confirms that file sharing permissions on the storage unit remain unchanged, so visibility improved without widening anyone’s access.