How to lock dock using ARD

I am wanting to lock down the dock on the iMac's in the computer lab's I manage so that students can't make changes to the dock, I know the terminal command to lock it but I'm wanting to find a way that I can run the command using ARD so that I can hit all the machines at once instead of having to do each computer at a time.
When I put the terminal commands to do this in the ARD Unix Command and ran it, it just errors out. These are the commands I run:
defaults write com.apple.Dock contents-immutable -bool yes
defaults write com.apple.Dock size-immutable -bool yes
defaults write com.apple.Dock position-immutable -bool yes
Is there a way to make that execute on multiple machines using ARD?

mv /Applications/iChat.app ~/.Trash
should do it - you may want to run as root to prevent it being stored in the logged-in user's Trash.
Matt

Similar Messages

  • How to lock transaction using function module or something like that

    Hi, all
    I'd like to know the way to lock transacitons using function module or something like that.
    I know this would be possible if calling transaciton SM01, but I want to know other ways like calling function module  (BAPI ) or method.
    Thank you for your cooperation In advance.
    Regards,
    Hideki Kozai

    Hi,
           Try the following FM
    BRF_NETWORK_GRAPHICS           BRF: Network Graphics for BRF Objects
    BRF_INITIALIZE_GRAPHICS_NGR    BRF: Initialize Network Graphics
    BRF_NETWORK_GRAPHICS_NGR       BRF: Network Graphics: Start
    BUSG                           SAP Business Graphics
    GRAPH_2D                       Calling up the 2D business graphics
    GRAPH_2D_MENUE                 DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
    GRAPH_3D                       Calling up the 3D presentation graphics
    GRAPH_BUSG_COLOR_SET           Definition of color pallets for business graphics
    GRAPH_BUSG_MENU_SET            Pushbutton menu (tool bar) for all BUSG modules
    GRAPH_MATRIX                   Calling up SAP Business Graphics (2D, 3D and 4D)
    GRAPH_MATRIX_2D                Calling up the 2D graphics (user-friendly version)
    GRAPH_MATRIX_3D                Structure of 3D graphics (user-friendly version)
    GRAPH_MATRIX_4D                Calling up a 3D graphic (4th dimension stacked representation)
    Regards,

  • How to lock keypad using security code in nokia C6...

    Can any help me out to lock keypad using security code for Nokia C6??

    bobby_33353 wrote:
    Can any help me out to lock keypad using security code for Nokia C6??
    Can any help me out to lock keypad using security code for Nokia C6??

  • Deploying Microsoft Office Preferences using ARD

    I've been working on deploying MS Office to a lab of iMacs. Mactopia has a really vague explanation of how to deploy preferences using ARD. I've gone through and created several packages that contain the necessary files and folders, permissions set, etc, but don't know how to run the package each time a new user logs into a machine.
    Our machines are bound to AD, running MS Office 2008, 10.6, ARD 3.3 and Faronics DeepFreeze.
    I've gone through and configured http://www.entourage.mvps.org/exchange/exchangesetupv3.html for Entourage as well as collected the necessary files each user will be designated to use.
    So my question is, how to I get my MS Office preferences and Microsoft User Data files deployed for each user that logs in? The package files will deploy to ~/Documents and ~/Library/Preferences.
    Please help!! I'm going to lose my mind!!

    Credit goes to MS for core script (its to long to post here).
    Credit goes to the guy who wrote the cleaner script.  Whoever packaged it and didn't build in silent switches gets zero points.
    Please note that this will only work for C2R installs of Office 2013.
    This is not true.  There are scrub scripts specific to C2R as well as MSI.
    I extracted the scrub vbs from O15CTRRemove.diagcab
    This is what worked for me.  Use 7-zip to extract the entire package to a directory.  Then run "OffScrub_015msi.vbs all".

  • Using ARD to send UNIX command to add item to dock

    The ARD 3 Admin Guide, page 132, says the following command sequence will install an item in the dock of the target computer(s):
    4) Type or paste the following UNIX command (replace /PathToApplication with your own path to the desired application, and be sure to include the application file extension, .app):
    defaults write com.apple.dock persistent-apps -array-add '<dict><key>tiledata</
    key><dict><key>file-data</key>
    <dict><key>CFURLString</key><string>/Path_ToApplication
    </string><key>_CFURLStringType</key><integer>0</integer></dict>
    </dict></dict>';killall -HUP Dock
    Use “persistent-others” instead of “persistent-apps” if the item is anything other than an application.
    I am unable to make it work. Could anyone help with the correct syntax or suggestions as to how to perform a remote addition to the target computer dock.

    Do you have JSS? I ask because your script contains the word JAMF allot.. if you do have a jss, is there a reason your trying to use ARD instead of your JSS to run this script?
    When issuing the script from ARD as a send unix command, Have you cosnidered using the option to run command as user "root" ?
    are you sure you want to do this? the script look like it dose more then just disable the isite. And do you know how to undo this if you change your mind?

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • How to lock a form (all fields read only) using a button (JavaScript)

    Hi guys,
    I have a form with several input fields, check boxes. Using a button in the form, I would like to lock it using a JavaScript. Locking means in my case that all input fields, checkboxes, etc. are read only (cannot be changed anymore).
    I already use the following approach:
    data.form.MyInputField.access = "readOnly";
    The problem is, that this approach is not comforable from maintenance perspective. I would like a more generic or more simple way.
    Generic:
    loop over all fields and set them to "read only"
    Simple:
    xfa.form.lock; // but this does not work
    Do you have any ideas how to solve this requirement in another way as I currently do?
    Thanks,
    Thomas

    Now I used the following script:
    // set the whole form as container
    var objContainer = data.Report;
    // call the method to set all fields to read only (recursion)
    disableAllFields(objContainer);
    function disableAllFields(objContainer) {
         for (var i=0; i < objContainer.nodes.length; i++) {          
              switch (objContainer.nodes.item(i).className) {
                   case "field" :
                   case "exclGroup" :
                        objContainer.nodes.item(i).access = "readOnly";
                        break;
                   case "subform" :
                        disableAllFields(objContainer.nodes.item(i));
                        break;
                   default:
    It works but is there another possibilitiy such like
    form.lock;
    Thanks,
    Thomas

  • Plug_in:how to unlock a locked document use acrobat API

    how to unlock a locked document use acrobat API.in acrobat plug_in

    how to unlock a locked document use acrobat API.in acrobat plug_in(Which API can enter a password to unlock the locked document)

  • How to use ARD to access a PC running Windows 7?

    Hi,
    I just want to VNC my PC in the office. How do I access Windows 7 from my Mac using ARD 3.6.1?
    My PC has RealVNC server running but they dont' seem to talk well with my Mac's ARD.

    Hi
    Try using this instead:
    http://www.microsoft.com/mac/downloads?pid=Mactopia_RDC&fid=68346E0D-44D3-4065-9 9BB-B664B27EE1F0#viewer
    Less hassle and far quicker.
    HTH?
    Tony

  • How to lock a row by using 'for update'?

    how to lock a row by using 'for update'?

    Hi,
    SELECT * FROM <TABLE> WHERE <PK_COLUMN>=<VALUE> FOR UPDATE NOWAITThis will help in locking the row with the primary key value that you provide
    cheers
    VT

  • How to measure PLL lock time using LabView?

    Hi.
    I have to measure PLL, especially PLL lock time, using LabView.
    How can I do it?
    Is there is some dedicated LabView Toolkit that can do PLL lock time measurement?
    Thanks :-)

    Hi Igor,
    you want to measure the time it takes the PLL to lock in to a change in the source frequency?
    So you need to measure the frequency and you need to know the state of the PLL. Then you can calculate the time the PLL needs to work.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • First time storing iphone to icloud.  says screen must be "locked" to use.   how do i lock?

    first time storing iphone to icloud.  says screen must be locked to use.  How do I lock screen?

    Press the sleep/wake button on the top of the phone.

  • How to lock warehouse of a item using DTW ?

    hi all,
    I tried to lock warehouse using templates oItems,oItemsWarehouseInfo in DTW,
    at end log messages Item code updated successfully,but when i checked with item master
    warehouse exists,What could be problem ?
    Fields filled in oItems are RecordKey,ItemCode
    Fields filled in oItemsWarehouseInfo.are RecordKey,Locked(tYes),WarehouseCode
    Warehouse have no stock linked to items / items linked with warehouse have transactions in
    previous fiscal year.
    Jeyakanthan

    hi,
    What is enumerator to set warehouse as Locked in Itemwarehouseinfo template ?
    what are mandatory fields to be filled in both items & itemwarehouseinfo template ?
    Jeyakanthan

  • How do you automatically run software update using ARD?

    Is there a way to automate running software update and downloading all updates using ARD? My current option is to log into each machine and do it manually. (I am also using a OSX server 10.6 if that helps.)
    Thanks

    Use the the Send UNIX Command option. There's a template in the Miscellaneous section to have the workstations download and install updates; run it as the root user in the Send Command as field so you don't have to worry about a user being logged into each workstation. You can set the command as a task to run on a schedule if you wish.
    Since each workstation will download each update, it's most efficient if you can run a Software Update Server and point your workstations to that instead of directly to Apple. Then you don't have multiple downloads taking up your Internet bandwidth. If you have on a few workstations and/or a really big pipe to the Internet, that may not be a concern for you.
    Regards.

  • How to update App Store apps using ARD?

    I run a tech desk for a middle school with over 400 computers. I can use ARD to update all Apple OS updates, but cannot update all apps from the Apple App Store. So far, I can only see a method to do this at each individual computers, which is time consuming and can lead to errors. Is there a method, besides running Apple Server, that Apple Remote Desktop can perform updates for Apple Store apps?

    Hi,
    I did develop an Applescript that downloaded outstanding updates from the Mac App store, then placed it on the host machine and Launched it from ARD.
    Worked fine when there was only one update, then it broke when there were two as the buttons moved around. I eveltually gave up as it was too much work trying to figure it for my small number of 'puters.
    Regards,
    Shawn

Maybe you are looking for

  • How to use a timer together with an event.

    Dear All, Today I tried all day to accomplish someting with labview, but I didn't succeed. Perhaps you can help me. The problem is as follows.  I have an event structure inside a while loop. The events are all triggered by booleans. Those booleans in

  • Constantly having kernel panics on Macbook Pro

    Hi all, For the last couple of weeks I'm having kernel panics on my MBP. The last couple of days I'm having more and more of these panics. It's starting to drive me crazy and was wondering if someone could help me with my last rapport. Is it a third

  • I lost my iPhone and now my Mac is also showing offline even when I am accessing Find my Iphone from my Mac! IS my account hacked??

    Just want to check if account is hacked as I see both my apple devices as offline even when I am accessing it from my own Mac! Does this mean my account has been hacked ?

  • IPhone Strange Deployment Behavior

    Hi all, Im creating a game on iPhone, I compile in release for the device, checked for leaks, memory usage etc... everything is clean. As long as I start the application with Xcode everything is fine, no bug, no crash, but as soon as I take out the c

  • Modifying standard BSP pages

    Hello, I would like to add some functionality (precisely some Javascript code) to a standard BSP page. As it is a SAP standard, the system doesn’t allow to modify it as normal BSP page. Is there any possibility to attach some code or functionality to