Used Enabled System Preference Panes template to grey out the Security & Privacy and Desktop & Screen Saver Preference Panes. I removed <string>com.apple.preference.desktopscreeneffect</string> and <string>com.apple.preference.security</string> from the list to accomplish this. It worked fine, but also greyed out iCloud and Flash Player preference panes in Lion, since they are not included in the template. I was able to reactive the security and Screen Saver prefs pane by using the original template again, but iCloud and Flash Player are still greyed out. Can anyone tell me how to reactivate those two pref panes?
Solved
How do I re-activate greyed out System Preferences?
Best answer by mm2270
Yes, that's "InternetAccounts.prefPane", also located at /System/Library/PreferencePanes.
$ defaults read /System/Library/PreferencePanes/InternetAccounts.prefPane/Contents/Info
BuildMachineOSBuild = 11E29;
CFBundleDevelopmentRegion = English;
CFBundleExecutable = InternetAccounts;
CFBundleIdentifier = "com.apple.preferences.internetaccounts";
CFBundleInfoDictionaryVersion = "6.0";
CFBundleName = "Mail, Contacts & Calendars";
CFBundlePackageType = BNDL;
CFBundleShortVersionString = "1.1";
CFBundleSignature = "????";
CFBundleVersion = 2;
DTCompiler = "";
DTPlatformBuild = 11E29;
DTPlatformVersion = GM;
DTSDKBuild = 11E29;
DTSDKName = "";
DTXcode = 0410;
DTXcodeBuild = 11E29;
NSMainNibFile = InternetAccountsPref;
NSPrefPaneIconFile = "InternetAccounts.icns";
NSPrefPaneSearchParameters = InternetAccounts;
NSPrincipalClass = InternetAccountsPref;
Note the CFBundleName = "Mail, Contacts & Calendars"; line. You still need to use the CFBundleIdentifier to add it back in to the enabled prefPanes though.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
