This guide shows you how to stop your computer from listing nearby Wi-Fi networks you don’t own or use, so you can connect faster and keep your list tidy. You’ll learn the exact steps for Windows and macOS, plus what to do when the hidden networks still appear.
What You’ll Need
- Administrator or owner access to your computer (you’ll need to change system settings).
- Your own Wi-Fi network name (SSID) and password handy, in case you need to reconnect.
- For Windows: the ability to run Command Prompt or PowerShell as administrator.
- For macOS: your login password to unlock system settings.
Step-by-Step
On Windows 10 and Windows 11
- Open Command Prompt or PowerShell as administrator. Click the Start button, type cmd or PowerShell, right-click the result, and choose Run as administrator. Confirm the User Account Control prompt if it appears.
- Type the following command and press Enter:
netsh wlan show profiles
This lists all Wi-Fi profiles your computer has saved. Note the exact name of the network you want to keep visible (for example, “HomeWiFi”). - Type the command below, replacing HomeWiFi with your actual network name, and press Enter:
netsh wlan set profileparameter name="HomeWiFi" connectionmode=manual
This sets the network to connect only when you manually choose it. It doesn’t hide it yet, but it’s a good first step. - To hide all other networks from the list, you need to create a wireless policy. Type the following command and press Enter:
netsh wlan add filter permission=denyall networktype=infrastructure
This blocks every Wi-Fi network except the ones you explicitly allow. - Now allow your own network by typing:
netsh wlan add filter permission=allow ssid="HomeWiFi" networktype=infrastructure
Replace HomeWiFi with your actual SSID. This tells Windows to show only that network. - Close the Command Prompt window. Your Wi-Fi list should now show only your allowed network. If you ever want to undo this, run:
netsh wlan delete filter permission=denyall networktype=infrastructure
On macOS (Ventura and later)
- Open System Settings from the Apple menu.
- Click Wi-Fi in the sidebar, then click Advanced at the bottom of the Wi-Fi settings.
- You’ll see a list of Known Networks. This is the list of saved Wi-Fi networks. To hide a network from the list, you can remove it by selecting it and clicking the minus (–) button. But that only removes it from saved networks, not from the visible scan list.
- To truly hide other networks from the Wi-Fi menu, macOS doesn’t offer a built-in “hide all except” setting. Instead, you can use a third-party tool or manually edit the system configuration. A simpler workaround: turn off Auto-Join for unwanted networks by clicking the info (i) icon next to each network in the Known Networks list and unchecking Auto-Join. This prevents your Mac from connecting to them, but they still appear in the menu.
- If you want the Wi-Fi menu to show only your network, you can use a free app like WiFi Explorer or Hidden Network that filters the list, but those are third-party solutions. For a built-in approach, the only way is to connect to a hidden network: when you set up your own network as hidden (not broadcasting its SSID), it won’t appear in the list at all, and you’ll connect manually by entering the name.
Common Mistakes
- Typing the SSID wrong: The filter commands are case-sensitive. If you type “homewifi” instead of “HomeWiFi”, the filter won’t match and your network will be blocked too.
- Forgetting to run as administrator: Without admin rights, the
netshcommands will fail with an access denied error. - Blocking all networks including your own: If you run the denyall filter before adding your allow rule, you’ll be locked out of Wi-Fi entirely. Always add your allow rule first, or at least have the command ready to undo.
- On macOS, expecting a simple toggle: macOS doesn’t have a built-in “hide all except” feature. Trying to delete every known network won’t stop the Wi-Fi menu from showing all available networks.
Tips
- Before hiding everything, make sure you have your Wi-Fi password saved. If you block all networks and then your allow rule fails, you’ll need to reconnect manually.
- On Windows, you can also use the netsh wlan show profiles command to back up your current settings. It’s a good idea to note down the exact SSID before making changes.
- If you’re in a corporate or school environment, your IT department may already have policies that override your local filters. Check with them before making changes.
- Consider using a Wi-Fi analyzer app to see which networks are actually in range. Sometimes the list is long because of many nearby routers, and hiding them locally won’t reduce interference—only your view.
Troubleshooting
- After running the denyall filter, you can’t see any networks at all. This means your allow rule didn’t apply correctly. Open Command Prompt as administrator and run
netsh wlan show filtersto see the current filters. If your SSID isn’t listed, re-run the allow command with the exact SSID. If you can’t fix it, runnetsh wlan delete filter permission=denyall networktype=infrastructureto restore normal behavior. - The hidden networks still appear after applying filters. On Windows, filters only affect the list shown in the Wi-Fi flyout. If you’re using a third-party Wi-Fi manager, it may ignore Windows filters. Close the third-party app and use the built-in Windows Wi-Fi menu.
- On macOS, the Wi-Fi menu still shows all networks. As explained, macOS doesn’t support hiding networks from the menu. The only reliable way is to make your own network hidden (disable SSID broadcast on your router) and connect manually. That way, your network won’t appear, but neither will others—they’ll still show, but you’ll only see your hidden one if you choose “Join Other Network”.
- You can’t connect to your own network after hiding it. If you hid your network by disabling SSID broadcast on the router, you’ll need to manually enter the network name and password on each device. On Windows, go to Wi-Fi settings, click “Hidden Network”, and enter the SSID and security type. On macOS, click “Other” in the Wi-Fi menu and enter the details.
- Filters work but you lose internet connectivity. This usually means your allow rule has a typo. Double-check the SSID in the filter and ensure it matches exactly (case-sensitive). Also, make sure you didn’t accidentally block the network you’re using.
Frequently Asked Questions
Can I hide other Wi-Fi networks without admin rights?
No. Both Windows and macOS require administrator privileges to modify network policies or system settings. If you don’t have admin access, you can’t change these filters.
Will hiding networks improve my Wi-Fi speed?
No. Hiding networks only changes what you see in the list. It doesn’t affect radio interference or signal strength. For better performance, you’d need to change Wi-Fi channels or use a 5 GHz band.
Is it possible to hide only specific networks, not all?
Yes, on Windows you can add multiple allow filters for the networks you want to keep, and a single denyall filter to block the rest. On macOS, there’s no built-in way to hide specific networks from the menu.
What does “connectionmode=manual” do?
It prevents Windows from automatically connecting to that network. It’s useful if you want to keep the network visible but only connect when you choose. It doesn’t hide the network from the list.
Will these settings reset after a Windows update?
Usually no, but major Windows updates can sometimes reset network settings. If you notice the filters are gone, simply re-run the commands.
Can I hide networks on my phone too?
This guide is for computers. On Android and iOS, you can’t hide other networks from the list without rooting or jailbreaking. However, you can forget saved networks to reduce clutter.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Error 0x8007025d in Windows 10
- Fix Alexa App Stuck on Setup
- Android Camera for 7 Office Tasks: Step-by-Step
- Pair Phone to Pioneer Stereo After Bluetooth Reset
- Fix Windows Not Saving Remote Desktop Credentials
- Windows 11 KB5083769 BitLocker Recovery Bug & Fixes