By default, Windows displays all available Wi-Fi networks close to your device. Even if the networks are insecure, don’t have parental controls enabled, or are just named inappropriately, Windows does not make an exception to block or hide them automatically.
If you spot such a network and want to stop it from appearing among available Wi-Fi networks to prevent your children or yourself from viewing or accidentally connecting to it, here’s how you can do that.

How to Hide or Block a Wi-Fi Network on Windows
Follow these steps touse the Windows Command Promptto stop a Wi-Fi network from showing up among the available networks:
If you see the message “The filter is added on the system successfully,” the Wi-Fi network has been blocked, and it’ll no longer appear in your Wi-Fi list. While the above steps will indeed block the Wi-Fi network, it will reappear among the available networks if the owner decides torename the Wi-Fi adapter.

If you change your mind and want to unblock the network you just blocked, enter the following command into the Command Prompt after entering the blocked network name:
Block Suspicious Wi-Fi Networks on Windows
When a network is named inappropriately or looks suspicious owing to the lack of a password or protection, blocking it becomes imperative. Hopefully, now you know how to block and unblock a Wi-Fi network in the Command Prompt by running simple commands.
While blocking other networks is essential, securing your network from prying eyes is equally important in maintaining your security and privacy.