How to block specific Wi-Fi networks on macOS?Solved

Participant
Discussion
5 days ago

Hi, everyone!

Our organization uses Hexnode for device management, and I was wondering if there’s a way to block specific Wi-Fi networks from being accessed on our team’s macOS devices. Is this something that can be done via macOS system settings, or does Hexnode offer a solution for this?

Replies (3)

Marked SolutionPending Review
Hexnode Expert
2 days ago
Marked SolutionPending Review

Hi @otis! While macOS doesn’t provide a built-in option to block specific Wi-Fi networks, Hexnode can help you achieve this using a custom script. You can push the following shell script through Hexnode’s Execute Custom Script remote action. Simply replace the SSID values with the names of the networks you want to block. You can also block multiple networks at once with this script.

Let us know if you encounter any issues while executing the script. And just a heads-up – we always recommend testing scripts in a controlled environment before deploying them organization-wide.

Regards,
Ben Clarke
Hexnode UEM

Marked SolutionPending Review
Participant
1 day ago
Marked SolutionPending Review

Hi Ben! Just to confirm, will this script work on macOS Sequoia? Are there any limitations I should be aware of?

Marked SolutionPending Review
Hexnode Expert
1 day ago
Marked SolutionPending Review

Absolutely, @otis. This script is fully compatible with macOS Sequoia. You can safely deploy it to devices running on that OS without any issues.

Save