Hi
I am trying to hide some System Preferences in Yosemite. I have been using the same login script from 10.7 and I cannot figure out why it stopped working in Yosemite. I also tried using a configuration profile but because it blocks 3rd Party preferences I cannot use it because it would be a huge task to manage.
Does anyone have a way to hide the preferences in Yosemite ? We are using it as a deterrent for iCloud, Mail and Notifications.
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