Posted on 04-09-2020 09:49 AM
Has anyone ran across a solution to hide the Wi-Fi icon in the menu bar on Catalina? Disabling Wi-Fi was an easily-fulfilled request but hiding the icon is proving to be challenging. I've ran through the suggestions linked below, but nothing has been successful yet:
Hiding the WiFi icon in the menu bar
Removing Wifi Menu Icon
A common suggestion in those threads was editing /Library/Preferences/com.apple.systemuiserver.plist but that doesn't appear to be included in Catalina or Mojave from what I can tell.
Posted on 04-09-2020 10:20 AM
I haven't tried modifying it this, but the preference is located in the user's library:
~/Library/Preferences/com.apple.systemuiserver.plist
Posted on 04-09-2020 01:56 PM
Do you mean besides using System Preferences -> Network -> Deselecting 'Show Wi-Fi status in menu bar'?
Posted on 10-14-2020 10:57 AM
Following up on this. We ended up deploying a script/policy to disable Wi-Fi. That satisfied our requirement.
#!/bin/sh
# Disable-Wi-Fi.sh
#
sudo networksetup -setairportpower Wi-Fi Off
sudo networksetup -setnetworkserviceenabled Wi-Fi Off
Thank you!
Posted on 03-03-2021 01:35 AM
This worked for me.
Posted on 11-08-2022 01:58 AM
@jchen1225 it doesn't work on Monterey, do you have an updated method?
Posted on 11-08-2022 05:35 AM
It still works but not very consistent. I did a profile re-push, reboot the machine and it still hides the airport menu item.
It does not hide it in the loginwindow though.
Posted on 11-08-2022 05:39 AM
This is a reference by gmarnin, they did add a delaySeconds option in there. May need to play around with it a bit.
<key>delaySeconds</key>
<real>2</real>