Reply To: Hide profile tab – mac

#14439
AvatarJohan Blake
Moderator
1 pt

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.

#!/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