Why PCs vanish from the Network folder
You open File Explorer, go to Network, and the other computers on your home network are gone. Sometimes a yellow bar says the feature is disabled. If network discovery turns off on Windows 11, Windows is usually treating your connection as public, or a required service has stopped.
Table of Contents
Network discovery is not a single switch. Windows first assigns a network profile (Private or Public). On a Public profile, discovery stays off on purpose so the PC is not visible on a coffee-shop or hotel network. On a Private profile, a short list of services advertises this PC and looks for others, and the firewall must allow that traffic.
Typical causes include:
- The network profile is Public. Public profiles hide the PC and turn discovery off on purpose.
- Required services are set to Manual and do not start at boot. Discovery then works until the next restart.
- Firewall rules for Network Discovery are blocked. A third-party firewall can do the same thing.
- The adapter was reset by a driver or Windows update. Ethernet especially can come back as an “unidentified” or public network.
Microsoft’s guides to file sharing over a network in Windows and essential network settings walk through private profiles and sharing. Use the fixes below when the setting will not stay on.
Before you start
A few quick checks tell you whether this is a profile problem, a service problem, or a firewall problem.
- Confirm you are on a trusted home or work LAN, not guest Wi-Fi. Discovery should stay off on public networks.
- In Settings > Network & internet, open the current Wi-Fi or Ethernet connection and note the Network profile type. If it is Public, start with Fix 1.
- See whether other PCs can still reach the internet. Discovery can fail even when the web works, because browsing does not use these services.
- If you are about to reset the network stack or change service startup types on a work PC, ask IT first, and create a restore point. Search for Create a restore point, select the system drive, and choose Create.
Work through the checklist below in order. After each fix, restart or reopen File Explorer > Network and see whether this PC and the others appear before you move on.

Fixes when network discovery turns off
1. Set a private network profile
A private network profile is the setting Windows expects on a trusted home or work LAN. On a public profile, discovery stays off, and no amount of toggling the Advanced sharing switches will make it stay on.
- Press Windows key + I and go to Network & internet.
- Select Wi-Fi or Ethernet, depending on how you are connected, then select the current network.
- Under Network profile type, choose Private.
If you use both Wi-Fi and Ethernet, set each one to Private. After a driver update, check this page again, because Windows may have switched the profile back to Public. An “unidentified network” often lands on Public as well, which is why discovery can fail after you plug into a dock or a new switch.
You can confirm the profile in Terminal with Get-NetConnectionProfile. If the NetworkCategory is Public on a trusted LAN, set it to Private and then continue with the sharing switches in Fix 2.
2. Turn Network discovery on in Advanced sharing settings
- Go to Settings > Network & internet > Advanced network settings > Advanced sharing settings.
- Expand Private networks.
- Turn on Network discovery.
- Turn on File and printer sharing if you want to share folders or printers.
- Turn on Set up network connected devices automatically if you see that switch.
Confirm the same page after a restart. If the private network profile is correct but the switches have flipped back, continue with the service and firewall checks. Leave the Public networks section off unless you have a specific reason to advertise the PC on an untrusted network.
3. Start Function Discovery Resource Publication and related services
Network discovery depends on a short list of services. Function Discovery Resource Publication is the one that advertises your PC to the rest of the network. If that service is stopped or set to Manual, other PCs will not see you after a reboot, even when the Settings switches still look correct.
- Press Windows key + R, type
services.msc, and press Enter. - Find these services, set each Startup type to Automatic, and start any that are stopped:
- FDResPub (the publication service named above)
- Function Discovery Provider Host (
fdPHost) - SSDP Discovery (
SSDPSRV) - UPnP Device Host (
upnphost)
- Close the window and reopen Network in File Explorer.
You can start them from an elevated Terminal if you prefer:
Start-Service FDResPub, fdPHost, SSDPSRV, upnphost
Set-Service FDResPub, fdPHost, SSDPSRV, upnphost -StartupType Automatic
After the services are running, wait a few seconds and refresh the Network folder. Your PC should appear, and other devices that use these services should start to show up as well.
4. Stop it when network discovery keeps turning off after a restart
If network discovery keeps turning off after every reboot, the services in Fix 3 are usually still set to Manual, or a firewall or policy is stopping them again.
- Reopen
services.mscand confirm all four services are Automatic and Running. - If Function Discovery Resource Publication stops on its own, check Windows Security and any third-party firewall (Fix 5).
- On a laptop, do a full Restart, not just Shut down, then check the Private profile again. Fast startup can leave an adapter in an odd state after Shut down.
A work or school account can also apply a policy that turns discovery off at logon. If this is a managed PC, ask IT before you change service startup types for good. If the services are Automatic but still stop, note the time and check Event Viewer, which the deeper repair section covers.
5. Allow Network Discovery through the firewall
Windows Firewall has a rule group for this feature. A blocked group looks exactly like discovery “just turning off.”
- Open Windows Security > Firewall & network protection.
- Confirm the firewall is on for each profile, then select Allow an app through firewall.
- In the list, tick Network Discovery for the Private profile. Select Change settings first if the boxes are greyed out.
- You can also restore Windows Firewall to defaults from that page if a custom rule is in the way. Re-allow any app you still need afterward.
Microsoft describes these controls in Firewall and network protection in the Windows Security app. Do not leave the firewall off as a permanent fix. If a third-party security suite is installed, use its own network or “LAN sharing” option instead of fighting two firewalls at once.
6. Fix the Network discovery is turned off banner
When File Explorer shows that Network discovery is turned off, the yellow bar is offering to turn it back on for the current profile. That banner is a shortcut, not a separate setting. If the profile is Public, the banner may appear again after a refresh.
- Open File Explorer and select Network.
- If the banner appears, choose the option to turn discovery on and make the PC visible.
- If Windows asks whether this is a private network, confirm that it is a trusted network.
If the banner comes back immediately, the profile is probably Public again, or a service from Fix 3 stopped while the window was open. Fix those first, then reopen the Network folder. Seeing the message Network discovery is turned off after every reboot is a sign to set the services to Automatic rather than clicking the banner again.
7. Reset the adapter or the network stack
A broken or “unidentified” network can keep switching the profile, which makes it look as if discovery failed.
- Go to Settings > Network & internet > Advanced network settings, select your adapter, and choose Reset or disable then enable it.
- As a deeper reset, open Terminal (Admin) and run:
netsh winsock reset
netsh int ip reset
ipconfig /flushdns
- Restart, reconnect, set the profile to Private, and turn discovery on again.
These commands reset the Windows network stack. They do not erase your saved Wi-Fi passwords in most cases, but you should still be at the PC when you restart so you can reconnect and set a private network profile again.
If radios also get stuck, our guide to airplane mode not turning off in Windows 11 is the better starting point. If the PC is connected but names will not resolve, see DNS_PROBE_FINISHED_NXDOMAIN.
8. Test sharing, a hotspot, and a new user account
Once discovery stays on, confirm the rest of the path works, and rule out a damaged profile.
- From another PC on the same private network, see whether this computer appears under Network.
- Share a folder with Give access to > Specific people if you need file access, as Microsoft’s sharing guide describes. Discovery can work even when a folder is not shared, and a share can fail even when discovery is on.
- If you are trying to share through a phone connection, that is a different feature. Our guide to a mobile hotspot not working in Windows 11 covers that setup.
- Sign in to a new local account and see whether discovery stays on there. If it does, a startup app or a per-user setting on the old account is likely flipping it.
How to prevent it from coming back
After you fix the problem, a few habits stop network discovery turns off issues from repeating after the next reboot or driver update.
Keep every connection you trust on a private network profile, including Ethernet on a dock. After a Windows or driver update, reopen Settings > Network & internet and confirm the profile did not flip back to Public.
Leave Function Discovery Resource Publication and the three related services on Automatic. If a “tweak” or cleanup tool sets them back to Manual, network discovery keeps turning off at the next boot.
Avoid turning Windows Firewall off. Keep the Network Discovery group allowed for the Private profile, and use the same kind of LAN-sharing exception in any third-party security suite. On a laptop that moves between home and public Wi-Fi, switch the profile back to Private when you return home, rather than leaving a public network marked as trusted.
Deeper repair options
If discovery still will not stay on, look at Event Viewer, a clean boot, and a full network reset.
Open Event Viewer and go to Windows Logs > System. Filter for errors from the service names in Fix 3, the firewall, or Network Profile. If Function Discovery Resource Publication stops at logon, the event list often shows which app or policy terminated it.
Run a clean boot to rule out a security suite or VPN client that forces a Public profile. Press Windows key + R, type msconfig, and press Enter. On Services, tick Hide all Microsoft services, select Disable all, disable non-Microsoft startup apps in Task Manager, and restart. Then set the profile to Private and test the Network folder.
As a broader reset, use Settings > Network & internet > Advanced network settings > Network reset. This reinstalls adapters and returns network settings to defaults, so you will need to rejoin Wi-Fi and set a private network profile again. Create a restore point first.
An in-place Windows 11 repair is a last resort when the network stack or policy store looks damaged. Use official Windows 11 install media, start Setup, and choose to keep personal files and apps.
Quick reference
Use this table when network discovery turns off and other PCs disappear from File Explorer.
| Symptom | Most likely fix |
|---|---|
| Discovery is off after joining Wi-Fi | Set a private network profile (Fix 1) |
| Switches flip back after a restart | Set the discovery services to Automatic (Fixes 3 and 4) |
| Banner in the Network folder | Turn it on from the banner, then confirm the profile (Fix 6) |
| Services start, but PCs stay hidden | Allow Network Discovery in the firewall (Fix 5) |
| Profile keeps returning to Public | Reset the adapter or network stack (Fix 7) |
| Works in a new Windows account only | Look for a startup app or a per-user setting (Fix 8) |
| Works until a VPN or security suite starts | Use that app’s LAN-sharing option, or test a clean boot |
FAQ
Why does network discovery turn off in Windows 11?
The most common reasons are a Public profile, the Advanced sharing switches being off, a required service that is not set to Automatic, or a firewall rule blocking the Network Discovery group. Start by setting the connection to a private network profile, then confirm the services in Fix 3 are running.
Why does network discovery keep turning off after I enable it?
A Manual startup type on Function Discovery Resource Publication or a related service will drop discovery at the next boot. A Public profile switch or a firewall policy can do the same thing. Set those services to Automatic and recheck the profile after a restart.
What does it mean that Network discovery is turned off?
It means this PC is not advertising itself and is not looking for other devices on the network. File Explorer shows that message when the feature is disabled for the current profile. Turning it on is safe on a trusted home network, and it does not by itself share any folders.
Should I use a Private or Public network profile at home?
Use Private on a trusted home or work LAN so discovery and sharing can work. Use Public on coffee-shop or hotel Wi-Fi, where you usually want the PC hidden. If network discovery turns off every time you move between networks, check the profile on the home connection when you return.
Do I need to turn off Windows Firewall to make discovery work?
No. Allow the Network Discovery group for the Private profile instead. Leaving the firewall off exposes the PC and is not a required step. If a third-party firewall is installed, add the same kind of exception there rather than disabling both firewalls.
Which service advertises my PC on the network?
Function Discovery Resource Publication (FDResPub) is the service that publishes this PC so others can see it. It works with Function Discovery Provider Host, SSDP Discovery, and UPnP Device Host. If those four are Automatic and running, and the profile is Private, discovery has the services it needs.
Why do I still not see shared folders after discovery stays on?
Discovery only makes PCs visible. A folder still has to be shared, and the account you use on the other PC needs permission. Use Give access to > Specific people as Microsoft’s sharing guide describes, and confirm File and printer sharing is on for private networks.







