I am trying to use a configuration profile to restrict access to 3 system preferences. I am successfully able to restrict iCloud, Mail and Notifications, however, it also restricts my 3rd Party preferences for Java, Flash and Y-Soft.
Any ideas on how to correct this ? Or an alternate way, my old script isn't working any more.
defaults write /Users/$3/Library/Preferences/com.apple.systempreferences.plist HiddenPreferencePanes -array "com.apple.preferences.icloud" "com.apple.preferences.internetaccounts" "com.apple.preference.notifications"
chown $3:staff /Users/$3/Library/Preferences/com.apple.systempreferences.plist
Thanks
Jeff