Update of ARD "Info" Field  w/ Serial#

Trolling through the forums I was able to find a true ARD gem. Placing the Serial # of a machine into one the the info fields of the sharing console.
Below is a code snippet from Joel. D. Reid which is excellent on the 10.5.8 machines, but does not run on 10.4.11 (tiger) Can anyone offer a 10.4.11 solution that is similar?
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/ki ckstart -configure -computerinfo -set2 -2 "$(system_profiler SPHardwareDataType | awk '/Serial Number/{print $NF}')" && sleep 2 && /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -restart -agent -console ;
Any help would be much appreciated.

Just have a couple thoughts. I've had better luck with using kickstart proper than defaults for changing ard info fields and actually having the agent recognize the change. Also, if you're able to get it to update via kickstart, you could just append that to your script. I routinely send the following via Send UNIX Command as root for at-a-glance access to the serial number:
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/ki ckstart -configure -computerinfo -set2 -2 "$(system_profiler SPHardwareDataType | awk '/Serial Number/{print $NF}')" && sleep 2 && /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -restart -agent -console ;
The 'sleep 2' was tacked in as sometimes kickstart apparently exits before it's actually done. The consecutive commands are appended using && rather than ; so the agent restart step isn't done unless the -setX -X one succeeds. Also note that if all works as planned, the ARD task never actually finishes as you're interrupting the remote ARD agent mid-stream; just wait for the clients to all return "Starting..." twice and then hit stop on that active task.
In any case, you can change the -set2 -2 to choose an info field, then substitute in your Foo commands in place of "$(system_profiler SPHardwareDataType | awk '/Serial Number/{print $NF}')"
Hope that helps some. Let us know how you've made out.
Cheers, Joel

Similar Messages

  • Live Update of ARD "Info" Fields ?

    Hello I am using a script to update the 4 "info" fields available in ARD like so:
    defaults write /Library/Preferences/com.apple.RemoteDesktop Text1 "Foo"
    My issue is that the update doesn't get reflected until one of two things happens:
    A. I restart ARD using kickstart.
    B. Open and Close the "Computer Settings" panel in the Remote Management pane of sharing.
    Doing one of these two things every time I update this field is going to be impractical.
    Is there an elegant way to nudge ARD into updating the "info" columns like the "Computer Settings" pane is able to do?
    Thanks in advance for any help.

    Just have a couple thoughts. I've had better luck with using kickstart proper than defaults for changing ard info fields and actually having the agent recognize the change. Also, if you're able to get it to update via kickstart, you could just append that to your script. I routinely send the following via Send UNIX Command as root for at-a-glance access to the serial number:
    /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/ki ckstart -configure -computerinfo -set2 -2 "$(system_profiler SPHardwareDataType | awk '/Serial Number/{print $NF}')" && sleep 2 && /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -restart -agent -console ;
    The 'sleep 2' was tacked in as sometimes kickstart apparently exits before it's actually done. The consecutive commands are appended using && rather than ; so the agent restart step isn't done unless the -setX -X one succeeds. Also note that if all works as planned, the ARD task never actually finishes as you're interrupting the remote ARD agent mid-stream; just wait for the clients to all return "Starting..." twice and then hit stop on that active task.
    In any case, you can change the -set2 -2 to choose an info field, then substitute in your Foo commands in place of "$(system_profiler SPHardwareDataType | awk '/Serial Number/{print $NF}')"
    Hope that helps some. Let us know how you've made out.
    Cheers, Joel

  • Document info fields in Word won't update when placed in document header-section

    Dear all,
    I have a document library using 3 Content Types with metadata columns and a Word-template.
    The values of these metadata columns should be displayed within the Word-documents created from content type.
    So I've inserted document info fields into the Word-template to display them.
    But unfortunately the placeholders are not updated when opening the document again, after metadata values had been changed e.g. by using the edit-form within the list.
    From what I have seen so far, this only refers to document info fields resident in header or footer sections. 
    But this is where I need to place them.
    Does anybody know this issue and has an idea of how to fix it?
    Could VBA be of use here?
    Best regards,
    Ben

    Hi,
    Based on your description, document info fields in Word won't update when placed in document header-section.
    Per my test, document info fields in Word will update when placed in document header-section.
    Refer to the following article about Add SharePoint Metadata to Word Documents:
    http://whitepages.unlimitedviz.com/2011/02/using-document-templates-with-lists-and-content-types-in-sharepoint/
    https://www.premierpointsolutions.com/training/help-and-how-to-articles/add-sharepoint-metadata-to-word-documents/
    If I misunderstanding the issue, Please offer a screenshot about your issue.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Last Data Update Info field not showing in Web Template

    Last Data Update Info field does not show up in the Web Template. This Web Template is for a MultiProvider on top a single cube.
    Greatly appreciate if anyone has any insight into this issue.

    Hi Suma,
    if other queries work fine using exactly the same (customized) template the problem is most likely not the template. Does the appropriate query does display figures? Is your data binding done correctly within the template?
    What happens if you execute the customized template which does not display Last Data Update Info field with another (i.e. a different) query? Does it display the Last Data field? What happens the other way round: you execute a different template with the appropriate query (which does not display Last Data Update). Does it show the Last Data Update?
    Just give it a try, this sometimes help
    Brgds,
    Marcel

  • BO Advance analysis 1.1.4,  Info Field like Last Data Update Table

    Hi Experts,
    I am using BO Advance analysis 1.1.4 for reporting output. There we have option to show Info Field like Last Data Update.
    It is using this function to get that info :
    =SAPGetSourceInfo("DS_1", "LastDataUpdate")
    Anybody have idea what BW table it is refering to get that info.
    As per my understanding, since these workbook of Adv. Analysis are refering Query which are built on MultiProviders, it go and find out the last cube/dso successful data load.
    Also I manually checked the date and time of last successful update in cube, but it is not matching as far as time is concern. Date is matching.
    Please help me to get the correct table which gave that info (date and time).
    Thank-You.
    Regards,
    Vinod

    Hi Tammy,
    I was trying for the similar requirement to get the "Last refreshed time" of the table used in the calculation  view  in HANA.
    It uses the same formula : =SAPGetInfoLabel("LastDataUpdate")
    But since Analytic View actually doesn't store any data, it is virtual. The date am seeing is the last changed date. i.e if i do any changes on the model, am seeing the last date when I changed it.
    Is there any function which we can use to get the Last refreshed date of the table in the model am using?
    Regards,
    Krishna Tangudu

  • Unwanted updation of purchase info record

    Hi All,
    We have an issue where the field "Vendor Mat. No." is getting updated automatically from somewhere ininfo record. We delete this value and keep the field as blank. But after some days the old value appears again.
    In the change log I can see the entries as old value "XYZ" and new value blank for several dates. But I do see an entry as blank to "XYZ".
    Can someone give me an idea what could be going wrong here?
    Regards,
    V S

    It is finally clear now that the vendor material number is updated in the info record from the PO. But now the user does not want this to happen.
    So I tried by maintaining default values for buyers in configuration at IMG --> Materials management --> Purchasing --> Environment dat --> Define default values for buyers
    We have default values mainatined here with info record update indicator as blank for purchase order. I have maintained the same default value in user master parameters as EVO.
    Now when I create the PO I still get the info record update indicator ticked. How do I get this unticked as default?
    Also please let me know what could be the other problems arising if the info update indicator in not ticked in the Po in future?
    Regards,
    V S

  • 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.

  • Info Field does not work

    Hi Experts,
    I would like to display the "last update" information for certain InfoProviders within a BEx Web Template. If I add the web item "Info Field" and save the web template, the icon of the web item is being displayed within the designer. When executing the template the web item is being "deleted" automatically and nothing is being displayed within the portal. Any clues on that? Is this a known bug in WAD?
    Many thanks in advance.
    Best regards
    Tobias

    Hi,
    Info field only displays about the Global filters, Local filters and Variables. When you assign the info field in the template you need to give the data provider to that webitem otherwise you will not get any data when you execute your template.
    Use text web item, You have several options available such as last refreshed, executed by, changed by, last data upload and so on.
    Thanks
    Srikanth

  • Update-S &D Info structures

    Hi
    In Updating-Sales &Distribution Info structures (OMO1) what are the importance of the controlling fields
    1. period split
    2. updating
    Regards
    Debasish

    Hi,
    Period split: info structure
         Period, or time unit, in which the information structure is updated. That means here you can set the info structure sholud be updated Daily, weekly, monthly.
    Indicator for U1/U2/U3 updating of info structures
         Indicator that defines the type of updating. i,.e No update, update in V1, V2, V3 Info structure.
    Thanks,
    Raja

  • Please help! My iPad isn't downloading any apps. When I try to down load a free app it prompts me too update my billing info. I update my billing info and it say invalid! It just starting doing this about two days ago . Can some one help! Thx

    My ipad2 isn't allowing me to download any apps. When I try to download a app it prompts me too update my billing info. I did that and it said invalid security code for my credit card. It just started this two days ago, before I had no problems. Please help my apple friends

    See Here  >  http://support.apple.com/kb/TS1646

  • HT204053 How do I remove my credit card from my account? Right now I have debit or credit card and when I try to download a free app like Facebook, it tells me to update my billing info and won't accept it blank. It says I owe for a previous purchase.

    How do I remove my credit card from my account? Right now I have debit or credit card and when I try to download a free app like Facebook, it tells me to update my billing info and won't accept it blank. It says I owe for a previous purchase.

    Sorry- edited:
    How do I remove my credit card from my account? Right now I have no* debit or credit card and when I try to download a free app like Facebook, it tells me to update my billing info and won't accept it blank. It says I owe for a previous purchase. So take it back and unlock my ability to DL free apps.

  • Im trying to update my billing info but apple wont accept my debit card

    I spent 5 dollars on a app on my phone. It didnt ask me for anything about my debit card then. Now one of my apps needs to be updated. It asked me to sign in and update my billing info. I go i change my security code and the experation. I also made sure everything else was correct and it was. When i pressed done it said "your payment method was declined". I checked my bank to see if i have money and i do lol but it wont accept my new debit card and im about to do some stupid **** because im ******

    Debit cards are no longer accepted in the iTunes Store, it seems. The current valid payment methods are listed here:
    http://support.apple.com/kb/HT5552
    Using a debit card in any online service where it stores your card is a bad idea in any case since if someone gains access to your account in the service, they can quickly drain your bank account. Credit cards limit your liability, as do prepaid iTunes cards. But if you insist, you can contact the iTunes Store and ask if they can help:
    http://www.apple.com/emea/support/itunes/contact.html
    Regards.

  • My apple account won't let me download any apps, but when I try to update my billing info it tells me to contact apple support ?

    My account won't let me update my billing info. What's the quickest way to fix this ?

    Click here and request assistance. That message means to contact the iTunes Store staff and not to post in these boards.
    (97806)

  • How do I update my billing info to resume subscription?

    Please help me- I have a very specific problem. I have been trying to get answers for months but no one has helped me. I am at my wits end and I reallly need my creative cloud back right now. I have left work an hour early to ring customer serive. I have been on hold for 55 minutes and I am also waiting to 'chat' to someone and I am also asking for help on here.
    Please please please somebody help me.
    I purchased creative cloud on 29th March 2013- student edition- one year. I bought it when there was an offer on for a reduced monthly price. I have been paying £15.88 a month on 29th of each month, I then recieved an email on 30th September 2013 saying 'your account has been suspended' and 'please update your payment info'. I did not see this straight away.
    I then received an email on 4th October 2013 saying that attackers had entered the Adobe network and my password had been reset, etc.
    I tried to ring Adobe several times to ask what to do but I could not get through to anyone.
    I then recieved another email on 20th October 2013 saying my membership had been suspendded and I needed to update my payment information.
    I STILL did not update my payment information as I had been informed that my account had been attacked so I did not want to enter any new payment information until I knew if it was Adobe asking and not the hackers (as the Adobe website warned of email fishing asking for details).
    My father- whose bank card was paying for my subscription- then recieved an email on 23/10/13 saying that the hackers may have accessed his bank information. He rang his bank to make sure things were OK and they said they would keep an eye on things. VERY WORRYING OBVIOUSLY!
    I then recieved an email on 29th )ctober 2013 saying my adobe membership would soon expire- 'on 29th September 2013' and that I needed to update my billing information. For one thing this did not make sense and STILL no one had answered the phone so I could find out what was happened.
    On 18/11/13 I gave up and braved going on my account- I reset my password. I did not update my billing info obviously as STILL no one told me what was going on. Eventually I got hold of someone- they were very unhelpful and did not know what had happened. I was put on hold several times but I was not helped in the slightest. I was then referred to another phone number which did not work and I beleive was for the US. Then Adobe said that they had closed their phoneline and online chat. So I had no way of knowing what to do. No one replied to my question on a forum.
    (by the way I just hung up the phone after being on hold for one hour and ten minutes)!!!
    I did not have the chance to speak to anyone for a long time until last week, then no one answered the phone and the phone line is only open mon-fri 9-5 when I work!! Like everyone else?!!! On Saturday 7th December I talked to two people on chat- one of them (Devika- chat reference no. 0212030953) said that I could resume my subscription, from the point I left off, at the same rate of £15.88 a month, despite it being past the 30 day trial period (because of all the reasons above!!) and that if I update my payment details this would happen straight away. I tried to do this but there was no option to update my payment information on my account. So she told me to ring customer service and quote this number.
    As I said- I rang customer service after I left work an hour early to do so- no one answered. I am trying to 'chat' to someone right now. But I fear they will not be able to help me either. I REALLY need my Adobe back up and running again as I am working at A WALLPAPER DESIGNER COMPANY!! I NEED TO USE THE PRODUCT I PURCHASED!
    I have never in my life been so disatissfied with customer service. I have been seriously let down.
    PLEASE SOMEBODY HELP ME

    We are fellow users on here, you're not talking to iTunes Support or Apple.
    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPad then you can tap on your id in Settings > iTunes & App Store and select 'View Apple ID' on the popup - that alos also give a payment information link on your account's page.

  • HT201209 Want to set up my children's IPad's with their own Apple ID.  Trying to set up yahoo accounts and it will not allow me to do this.  I wan them only to be able to purchase from rdeemed gift cards but it keeps asking me to update credit card info

    Want to create Apple ID for both my children's IPad's.  Tried creating new email account for my son and it will not let me.  I want them to be only able to purchase from redeemed gift cards and everytime it asks me to update credit card info on their Ipad.

    Look, I understand I still need a card attached to the account. The problem is, it won't accept my card because I only have 87 cents in my bank account right now.
    If I had known there would be so much trouble with the iTunes card, I would have just put the cash in my bank account in the morning instead of buying an iTunes card (I didn't expect the banks to be open on Thanksgiving of course).
    Apple will only accept cards that have a balance. The balance is so small in my account that it won't accept it as a valid card.
    I'm going to have to contact Apple anyway to reset the security questions. That's obvious. Your answers were not exactly helpful. You didn't tell me anything I don't already know, but thanks for trying to be helpful.

Maybe you are looking for

  • Windows XP Media Center Edition FAQ

    What is a Media Center PC? It is basically a regular PC, but designed to fit into your home entertainment system to replace your DVD player, Hi-Fi, TV set-top box, as well as allowing other functions as email, web browsing and more, all from the comf

  • Unable to access iPhoto after installing iLife 06

    I installed iLife 06. After doing so, my iPhoto folder cannot be accessed. I get a message saying "There is a problem accessing 1 or more files in iPhoto library folder. In the Finder, select iPhoto library folder. Choose File >Get Info. Make sure yo

  • Getting a error while running creating a sample page on sharepoint 2013 and visual studio 2013

    hi,    When i trying to create a sample web service for create page dynamically to sharepoint 2013 using visualstudio 2013 getting a error message while consume  the web service browser itself. so i have tried to change the target platform but to 32

  • IMG HPF Area Page Customizing not reflecting in Portal

    Hi, I'm near to smashing my keyboard, but before I do so, maybe someone is able to help me: In IMG Homepage Framework I've got a custom Area Page which has a Headline Area Description and an Area Description Longtext. I need to change the contents of

  • Weird behaviour in preview

    Since updating to OSX 10.10.3 when i try and open files in illustrator the coloum view is oversized and to the right, I cannot see the mage correctly. is anyone else having this issue with CS6? I refuse to upgrade and pay £17 a month when I don't nee