[Casper] Menubar Items

Ryan Harter rharter at uwsp.edu
Tue Feb 10 07:09:51 PST 2009


Incase you don't have WGM, here is a script I use to make Time Machine  
go the way of the dodo.

#!/bin/sh

# killTimeMachine.sh
#
#
# Created by Harter, Ryan on 11/12/08.
# Copyright 2008 UWSP. All rights reserved.

# Disable Time Machine
/usr/bin/defaults write /Library/Preferences/com.apple.TimeMachine  
DoNotOfferNewDisksForBackup -bool YES
/usr/bin/defaults write /Library/Preferences/com.apple.TimeMachine  
AutoBackup -bool NO

# Stop putting it in the dock
/usr/libexec/PlistBuddy -c "Delete :add-app:0:path" /Library/ 
Preferences/com.apple.dockfixup.plist

# Get it out of the menu
/bin/mv "/System/Library/CoreServices/Menu Extras/TimeMachine.menu" "/ 
System/Library/CoreServices/Menu Extras/TimeMachine.menu.bac"


The menu portion should be similar for any other menu items you want  
to remove.  I think this was inspired by something in the Resource  
Kit, but can't quite remember.

Ryan Harter
UW - Stevens Point
Workstation Developer
715.346.2716
Ryan.Harter at uwsp.edu

On Feb 10, 2009, at 8:30 AM, Criss Myers wrote:

> Hi Thomas
>
> I just emailed him a copy of my mcx file to edit as he pleased and  
> then suggested he put it in /Library/Managed Preferences/
>
> in case he didnt have WGM,
>
> would that work?
>
> Criss
>
>
> Criss Myers
> Senior Customer Support Analyst (Mac Services)
> Apple Certified Technical Coordinator v10.5
> LIS Business Support Team
> Library 301
> University of Central Lancashire
> Preston PR1 2HE
> Ex 5054
> 01772 895054
>
> >>> On Tue, Feb 10, 2009 at  2:21 PM, in message <49913901.7141.0039.0 at kckps.org 
> >, "Thomas Larkin" <tlarki at kckps.org> wrote:
> Ron
>
> I went through the same thing last year.  What I do is create a  
> nested group of all my groups that I need to manage the menu bar for  
> in WGM.  Then, select your nested group and select preferences.   
> Once the preferences pane opens, you need to click on the details  
> tab.  Add the following application by hitting the plus sign, / 
> System/Library/CoreServices/Managedclient/.app.  Once you add that  
> you can manage the menu items.  For example I got rid of TimeMachine  
> on every mac in our network because i did not want to support it.   
> So, I used this method.  You should create a new key, and say  
> always, then choose your menu item of choice you wish to manage,  
> choose boolean for the type and choose false for the value.  Linked  
> is what it should look like once you add in the proper settings.
>
> http://i120.photobucket.com/albums/o189/tlarkin80/Picture1-3.png
>
> Then MCX will push this out to every machine on your network and you  
> can then manage menu items.  I already put in a request to Apple to  
> actually just make a menu items menu in WGM instead of doing it this  
> way.
>
> I also submitted this as a hint on OS X Hints website found here:
>
> http://www.macosxhints.com/article.php?story=20080801104313882
>
> This should do what you want.
>
>
>
>
> ___________________________
> Thomas Larkin
> TIS Department
> KCKPS USD500
> tlarki at kckps.org
> blackberry:  913-449-7589
> office:  913-627-0351
>
>
>
>
>
> >>> Ron Prue <ron.prue at mynoahs.com> 02/09/09 9:06 PM >>>
> Hello,
>
> I have deployed an image for 11 iMacs but have had a tough time  
> getting rid of menubar items.  They are removed when I am booted  
> from an external drive containing the partition I image, but after  
> that image is deployed to all the iMacs I get Time Machine, Airport  
> and other unwanted menubar items again.
>
> I have searched for a script to run after imaging to solve this with  
> no success.  Do any of you have a script you use or another solution  
> to remove unwanted menubar items?
>
> Thanks in advance.
>
> Ron Prue
> Technical Services
> Noah Corporation
> 435.214.2928
> ron.prue at mynoahs.com
>
>
> <IMAGE.png>
>
> <ATT00001.txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090210/ade5bcc1/attachment.htm 


More information about the Casper mailing list