Hey guys, do we have the option to hide the profile tab on mac. Some of my apple devices are not under dep so the employees are able to remove the hexnode profile. If I can hide the profiles section then they wont be able to remove it.
Hide profile tab – macSolved
Tags
Replies (3)
Hey @antonia,
Thanks for reaching out to us.
To hide the Profiles pane under System Preferences on Mac, execute a simple set of commands using the Execute Custom Script action in Hexnode UEM. To configure this, navigate to Manage > Devices > select your devices > Actions > Execute Custom Script. Execute the below Bash script.
1 2 3 |
#!/bin/sh Defaults write “/Library/Preferences/com.apple.systempreferences” HiddenPreferencePane –array “com.apple.preferences.configurationprofiles” |
The above scripts are obtained from third-party open-source sites, and hence, Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.
For DEP-enrolled macOS devices, restrict removal of the Hexnode profile while configuring the DEP profile.
Hope that helps your query.
Cheers!
Johan Blake
Hexnode UEM
Can we also hide the bluetooth and network panels using this method.
Hi @felix-samuel,
You can hide all panes in the System Preferences using the above script. Find the bundle identifier of the pane and substitute it in the code.
To hide the Bluetooth and Network panes in the System Preferences, execute the command given below.
1 2 3 4 5 |
#!/bin/sh Defaults write “/Library/Preferences/com.apple.systempreferences” HiddenPreferencePane –array “com.apple.preferences.Bluetooth” Defaults write “/Library/Preferences/com.apple.systempreferences” HiddenPreferencePane –array “com.apple.preference.network” |
To hide the system preference panes according to your requirement, change the bundle identifier that is enclosed inside the double quotes after the -array
command.
Hope that helps you.
Cheers!
Johan Blake
Hexnode UEM