-
-
Save star-bob/01773dd4505fa5eac358e981303fe761 to your computer and use it in GitHub Desktop.
re-activate disabled system preferences panes on os x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /Library/Managed Preferences/<login> | |
$ cp com.apple.systempreferences.plist ~/com.apple.systempreferences.plist.backup | |
$ cp complete.plist ~/complete.plist.backup | |
$ /usr/libexec/PlistBuddy -c Print: com.apple.systempreferences.plist | |
Dict { | |
DisabledPreferencePanes = Array { | |
com.apple.prefs.backup | |
com.apple.preferences.configurationprofiles | |
com.apple.preferences.users | |
} | |
PayloadUUID = <uid3> | |
} | |
$ sudo /usr/libexec/PlistBuddy -c 'Delete DisabledPreferencePanes' com.apple.systempreferences.plist | |
$ /usr/libexec/PlistBuddy -c Print: com.apple.systempreferences.plist | |
Dict { | |
PayloadUUID = <uid3> | |
} | |
$ /usr/libexec/PlistBuddy -c Print:com.apple.systempreferences complete.plist | |
Dict { | |
DisabledPreferencePanes = Dict { | |
source = Array { | |
mcx_computer_com.apple.systempreferences_<uid1> | |
mcx_computer_com.apple.systempreferences_<uid2> | |
} | |
mcxdomain = always | |
value = Array { | |
com.apple.prefs.backup | |
com.apple.preferences.configurationprofiles | |
com.apple.preferences.users | |
} | |
} | |
PayloadUUID = Dict { | |
source = Array { | |
mcx_computer_com.apple.systempreferences_<uid1> | |
mcx_computer_com.apple.systempreferences_<uid2> | |
} | |
mcxdomain = always | |
value = <uid3> | |
} | |
} | |
$ sudo /usr/libexec/PlistBuddy -c 'Delete com.apple.systempreferences:DisabledPreferencePanes' complete.plist | |
$ /usr/libexec/PlistBuddy -c Print:com.apple.systempreferences complete.plist | |
Dict { | |
PayloadUUID = Dict { | |
source = Array { | |
mcx_computer_com.apple.systempreferences_<uid1> | |
mcx_computer_com.apple.systempreferences_<uid2> | |
} | |
mcxdomain = always | |
value = <uid3> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment