Hiding Wi-Fi Icon from Menu Bar

chobee
New Contributor II

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.

7 REPLIES 7

shaquir
Contributor III

I haven't tried modifying it this, but the preference is located in the user's library:
~/Library/Preferences/com.apple.systemuiserver.plist

baseem
New Contributor

Do you mean besides using System Preferences -> Network -> Deselecting 'Show Wi-Fi status in menu bar'?

chobee
New Contributor II

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!

jchen1225
New Contributor III

This worked for me.
00cd518fc9034d479ba767ac55998a98

MacJunior
Contributor III

@jchen1225 it doesn't work on Monterey, do you have an updated method?

jchen1225
New Contributor III

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.

 

jchen1225
New Contributor III

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>