Posted on 08-29-2014 03:59 PM
Can we block About This Mac menu from the main system Apple icon menu
Posted on 08-29-2014 05:02 PM
I don't believe so, but… just curious about what the need is here? I don't think I've ever heard of anyone wanting to block that, until now.
Posted on 08-29-2014 05:35 PM
We have blocked the System Preferences from MCX --> Black List folder.
When the user try to access the About This Mac and then click on More Info... then the permission denied message keep recurring on the screen. May be the other way would be to open the Preferences and block the items inside System Preferences one by one.
Posted on 08-30-2014 04:51 AM
Does not appear to make much sense - why would you even want to do that.. ??
This leads to useful diagnostic info..
Unless you are trying to hide facts from some users
-- that they have a differently specified Mac, then other users have..
I can see no other reason for doing this...
Posted on 07-21-2015 08:52 AM
@khurram In 10.9.5 you can remove it by editing /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/StandardMenus.nib/objects.xib and removing the following lines:-
<object class="IBCarbonMenuItem" id="220">
<string name="title">About This Mac</string>
<boolean name="dynamic">TRUE</boolean>
<boolean name="updateSingleItem">TRUE</boolean>
<ostype name="command">abtm</ostype>
</object>
and the related reference later in the file:
<reference idRef="220"/>
Make a backup of the file before you edit it and be prepared to ssh back into the Mac to copy it back in place if you make a mistake. Making a mistake one time left me with a loginwindow that constantly refreshed and wouldn't let me enter any text.
I am looking at using the same technique to remove other options from the Apple menu.
Posted on 07-21-2015 09:08 AM
This technique (editing files in /System/Library/*) will stop working in El Capitan, so I would not build anything new based on this technique, and would be actively looking to disentangle myself from any existing uses of this technique.
Apple has been saying for years not to make changes in /System; now they will enforce that.
Posted on 07-21-2015 09:28 AM
Even before Apple drops the hammer on this kind of stuff come 10.11, I don't think I would ever even consider doing this. Editing nib files directly in the OS? That's kind of crazy and asking for trouble, or destabilizing your systems at the least.
If management asked me to do something like this and the only way to accomplish it was editing /System/Library/ files directly, I believe my answer would be 'its not possible. Sorry'
Posted on 07-21-2015 04:01 PM
Simple Finder removes System Preferences (and many other things) from the Apple Menu. You may want to go down that route if you want to stay on the support reservation.
Posted on 07-21-2015 04:52 PM
The query was that user shouldn't have access to System Preferences. Now how would we block it from the Dock and then from the Apple menu --> System Preferences. I know that even inside System Preference it asks users to enter admin password to make changes but not for everything, for instance energy saver, language, display settings etc. Such settings (if disturbed) can bring the macbook into unusable state.
@nigelg Thanks for providing the script. I might not be using it because I think there should be some other appropriate option available.
Posted on 07-21-2015 05:14 PM
If that's the end goal, to stop students from using System Preferences, there are much better options.
Any of the above options would make far more sense than trying to somehow kill the Apple menu.
Posted on 07-21-2015 11:40 PM
Or add the "System Preferences.app" to restricted software.
Posted on 07-22-2015 08:56 AM
I have been trying to offer the user an option to quit the logout process and return to the desktop based on the results of a script to work out their file quota. Best option I found so far was to remove the logout button and create a logout app to for them to run instead.
Im open to suggestions if theres an alternative.
@gregneagle Assuming you are referring to System Integrity, i read that you can opt to turn it off. Not ideal I agree but its not impossible to carry out this kind of modification in 10.11?
Posted on 07-29-2015 10:30 PM
@nigelg It appears at the moment that the computers have to be rebooted into Recovery mode to turn off SIP. This will cost you about 5 minutes of time per machine. And besides, you're opening them up to a whole host of security risks.
It's better to use Configuration Profiles and Restricted Software.