Fix Network Discovery Is Turned Off Error in Windows
In this article
If you see “Network discovery is turned off” in Windows, it means your PC cannot see other devices on your local network, and other devices cannot see it. This usually happens because the Network Discovery feature is disabled, the network profile is set to Public, or required services are stopped. Here’s how to fix it in a few minutes.
What You'll Need
- Administrator access to your Windows PC (you’ll need to approve User Account Control prompts).
- Your network connection (Wi-Fi or Ethernet) should be active.
- If you’re on a domain network, you may need network admin rights—but these steps work for most home and small office networks.
Step-by-Step
- Turn on Network Discovery via Settings
Open Settings (Windows key + I) and go to Network & Internet > Advanced network settings > Advanced sharing settings. (In older Windows versions, it’s under Network and Sharing Center > Change advanced sharing settings.) Expand the profile that matches your current network (Private or Public). Turn on Network discovery and check the box Turn on automatic setup of network connected devices. Also turn on File and printer sharing if you need to access shared files. Click Save changes. If you don’t see the option, you may be on a Public network—switch to Private first (see step 2). - Set Your Network Profile to Private
Network Discovery is often disabled on Public networks for security. To change it, go to Settings > Network & Internet > Wi-Fi (or Ethernet). Click on your connected network. Under Network profile type, select Private. This is safe for home or trusted networks. If you’re on a public Wi-Fi (coffee shop, airport), keep it Public and skip this step—you shouldn’t enable discovery there. - Start Required Services
Press Windows key + R, typeservices.msc, and press Enter. Find these services, double-click each, set Startup type to Automatic, and click Start if they’re not running:- DNS Client
- Function Discovery Provider Host
- Function Discovery Resource Publication
- SSDP Discovery
- UPnP Device Host
- Check Firewall Rules
Windows Firewall can block Network Discovery even if it’s enabled. Open Control Panel > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall. Click Change settings (admin required). Scroll down and make sure Network Discovery is checked for both Private and Public (or at least Private). Also check File and Printer Sharing. If you don’t see them, click Allow another app and browse toC:\Windows\System32\svchost.exe(but that’s not recommended). Better: reset firewall rules via command line (see step 5). - Reset Network Settings (if still broken)
Open Command Prompt as Administrator (right-click Start > Windows Terminal (Admin) or Command Prompt (Admin)). Run these commands one by one, pressing Enter after each:netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
Then restart your PC. This force-enables the built-in firewall rules for discovery. - Disable IPv6 (if you don’t need it)
Some networks have issues with IPv6 that break discovery. Go to Control Panel > Network and Internet > Network Connections. Right-click your active adapter, choose Properties, uncheck Internet Protocol Version 6 (TCP/IPv6), and click OK. Then restart. This is a common fix for discovery errors on mixed networks.
Common Mistakes
- Enabling discovery on a Public network – Windows hides the option for a reason; it exposes your device to others on the same network. Only use Private.
- Forgetting to save changes in Advanced sharing settings—clicking the X without hitting “Save changes” does nothing.
- Stopping at the firewall checkbox – Even if Network Discovery is allowed, the services must be running. Check both.
- Not restarting after changes – Some settings only take effect after a reboot.
- Turning on discovery but not file sharing – If you only want to see devices, discovery is enough; but to access shared folders, you need file sharing enabled too.
Tips
- Use Private network profile only for home or office networks you trust.
- If you have a laptop that switches networks often, set discovery per profile: enable it for Private, disable for Public.
- Keep your Windows updated—some discovery bugs are fixed in cumulative updates.
- If you use third-party firewall/antivirus, check its own network protection settings; it may block discovery independently of Windows.
- For quick access, you can type
\computernamein File Explorer to reach a specific device even if discovery is off.
Troubleshooting
If the error persists after following the steps:
- Restart your router – Sometimes the network itself needs a refresh. Unplug it for 30 seconds and plug it back.
- Run the Windows Network Troubleshooter – Go to Settings > System > Troubleshoot > Other troubleshooters > Network Adapter and run it. It may auto-fix issues.
- Check if other devices are on the same subnet – If your PC is on a different IP range (e.g., 192.168.1.x vs 192.168.0.x), discovery won’t work. Check your router’s DHCP settings.
- Disable and re-enable your network adapter – In Device Manager, right-click your Wi-Fi/Ethernet adapter and choose Disable, then Enable. This resets the network stack.
- Check if the network is set to Public again – Windows may revert to Public after a reboot if you haven’t connected to that network before. Re-set it to Private.
- If you’re on a domain network – Group Policy may force discovery off. Contact your IT admin; you can’t override it locally.
Frequently Asked Questions
Why is Network Discovery turned off by default?
For security. On Public networks, discovery is disabled to prevent unauthorized access. On Private networks, Windows still asks before enabling it.
Can I enable Network Discovery without admin rights?
No. Changing network profile type and firewall rules require administrator privileges. If you’re on a work computer, ask your IT department.
Does Network Discovery work across different Windows versions?
Yes, generally. Windows 10 and 11 support it, but older versions like Windows 7 also do. However, the settings location differs slightly.
Why can I see other devices but they can’t see me?
Your discovery is on, but the other device’s discovery is off, or its firewall blocks it. Ensure both sides have discovery enabled and are on the same Private network.
Is it safe to enable Network Discovery on a home network?
Yes, if you trust all devices connected. It allows sharing files and printers. Just keep your network password strong.
What if I still get the error after resetting firewall rules?
Try the Windows Network Reset option: Settings > Network & Internet > Advanced network settings > Network reset. This reinstalls network adapters and resets all network settings to default. You’ll need to reconnect to Wi-Fi afterward.