How to Turn Off Network Discovery on Public WiFi
If you use airports, cafes, hotels, or coworking spaces, your device may expose more than you realize on a shared network.
This guide explains how to turn off network discovery on public WiFi and why it matters for privacy, file sharing, and device security.
Network discovery helps computers and printers find one another, but on an open or semi-open hotspot it can also make your device easier to see.
The right settings depend on your operating system, and a few extra precautions can reduce risk even further.
What network discovery does on shared networks
Network discovery is a Windows and general networking feature that lets your device identify nearby computers, printers, and shared folders.
It is useful at home or in a trusted office, where you want devices to communicate quickly.
On public WiFi, the same convenience can become a privacy issue.
If discovery is enabled, your computer may appear in local network browsing lists, and other users on the same network may be able to detect services you do not want exposed.
- Device visibility: Your computer may be easier to find on the local subnet.
- Shared resources: Printers, folders, and media libraries can become discoverable.
- Attack surface: More visible services can attract unwanted scanning or probing.
Why you should disable discovery on public WiFi
Public WiFi is shared infrastructure.
Even when the hotspot uses a password, other users may still be on the same local network, and the security level is usually lower than at home or in a managed enterprise environment.
Turning off network discovery reduces the chance that strangers nearby can see your device name, open shares, or network-advertised services.
It also complements other protections such as a firewall, encrypted browsing, and a VPN.
When to keep it on
Network discovery can stay enabled on trusted private networks where you actively need file sharing, printer access, or media streaming.
If you regularly connect devices at home, enable it there and disable it again when you leave that environment.
How to turn off network discovery on Windows 11 and Windows 10
Windows still labels discovery as part of advanced sharing settings.
The exact menu wording can vary slightly by version, but the path is similar.
- Open Settings.
- Go to Network & internet.
- Select your active connection, then confirm it is set to Public network rather than Private.
- Open Advanced network settings or Advanced sharing settings.
- Turn off Network discovery.
- Also turn off File and printer sharing if you do not need it.
For older Control Panel-based navigation, open Control Panel, choose Network and Sharing Center, then select Change advanced sharing settings.
Under the Public profile, disable network discovery and file sharing.
Important Windows check
Make sure the WiFi profile itself is set to Public.
If a network is marked Private, Windows may allow more discovery-related features by default.
A public profile is generally the safer choice for airports, hotels, and cafes.
How to turn off network discovery on macOS
macOS handles sharing through several separate options rather than a single “network discovery” switch.
To reduce visibility on public WiFi, review the Sharing pane carefully.
- Open System Settings.
- Go to General and then Sharing.
- Turn off File Sharing, Printer Sharing, Media Sharing, and any other sharing services you do not need.
- Review AirDrop and set it to Contacts Only or Receiving Off when on public networks.
macOS also uses local discovery protocols for services like AirPlay and Bonjour.
Disabling unnecessary sharing features limits what other devices can see.
How to turn off network discovery on iPhone and iPad
iPhone and iPad do not have a Windows-style network discovery toggle, but they can still expose services through sharing-related features.
The safest approach is to reduce broadcast features when using public hotspots.
- Turn off AirDrop or set it to Receiving Off.
- Keep Personal Hotspot disabled unless you are actively using it.
- Review app permissions for local network access in Settings if an app does not need it.
These steps lower the chance that nearby devices can detect your phone as a target for unsolicited transfer requests.
How to turn off network discovery on Android
Android devices vary by manufacturer, but the goal is the same: reduce local visibility and keep sharing tools inactive unless you need them.
- Disable Nearby Share when on public WiFi.
- Turn off Wi-Fi Direct if you do not use it.
- Review app permissions for Nearby devices or local network access.
- Use a lock screen and keep Bluetooth off if it is unnecessary.
Because Android interfaces differ across Samsung, Google Pixel, OnePlus, and other devices, the settings may appear under Connections, Google, or Device connectivity.
How to confirm your device is less visible
After changing settings, verify that you are operating as a private endpoint on the network.
The easiest sign is that your device no longer advertises shared folders or printers to other users on the same hotspot.
You can also check these items:
- Your network profile shows Public, not Private.
- File sharing and printer sharing are disabled.
- AirDrop, Nearby Share, or similar tools are off.
- Remote access tools are not exposed unless you intentionally enabled them.
If you use Windows, you can open the Network and Sharing Center and confirm that discovery is off for the public profile.
On macOS, confirm that the Sharing pane shows no active services you do not need.
Other settings that help on public WiFi
Turning off network discovery on public WiFi is only one layer of defense.
Shared networks are safest when you combine several basic protections.
- Use a VPN: Encrypts traffic between your device and the VPN provider, which helps on untrusted networks.
- Keep your firewall on: A firewall helps block unsolicited inbound traffic.
- Use HTTPS-only browsing: Most modern browsers support secure connections by default, but you should avoid logging into sensitive services on insecure pages.
- Forget the network after use: Prevents automatic reconnection to questionable hotspots.
- Disable auto-join: Stops your device from reconnecting without permission.
Common mistakes people make on public hotspots
Many security problems come from leaving home or office settings enabled in places that are effectively open to strangers.
Common mistakes include using a Private network profile, leaving file sharing on, and allowing device discovery features to run in the background.
Another common issue is assuming a password-protected cafe or hotel WiFi is fully trusted.
In practice, every connected guest may be on the same local network, which is why discovery and sharing controls matter.
Should you use public WiFi at all?
Public WiFi can be convenient, but it is best treated as untrusted.
If you need to access banking, work accounts, or personal data, use a VPN, mobile hotspot, or cellular data when possible.
If you must use public WiFi, minimize what your device advertises and avoid enabling any sharing service you do not specifically need.
Quick checklist for safer public WiFi use
- Set the network profile to Public.
- Turn off network discovery.
- Disable file and printer sharing.
- Turn off AirDrop, Nearby Share, and similar local sharing tools.
- Keep firewall protection active.
- Use a VPN for added privacy.
- Forget the network when you are done.
With these settings in place, your device becomes much less visible to other users on the same hotspot, and you reduce the chances of exposing data or services you never intended to share.