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

Similar Messages

  • 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

  • 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

  • To All IPod Users having Trouble with Live Updating playlists.

    I thought I should share this with other IPod users as there is quite a bit of discussion on the net about it.
    After 3 days trying to get "Smart Playlists"to live update on my IPod touch, reading, researching and reading more, I finally got my Ipod playlist to live update.
    I've discovered that certain rules break live updating.
    OK it is only a basic set of rules, but it is working.
    The 1st thing I did was group all my songs using the "Composer" field. Do not use sorting, it breaks live updating.
    example: All songs were composed by Music, all Soundtracks were composed by Soundtrack. And so on. I did this in ITunes using "Get Info".
    I placed two rules in my playlist:
    Composer is Music
    Last Played is not in the last 6 months.
    I ticked "Live Update"
    Do not use Limit to as this breaks Live Updating as well.
    If your list is in a different order on your IPod then in ITunes just select any other column in ITunes other than the numbered column, e.g. Name. Your list should match now in both ITunes and your IPod.
    Just use shuffle within the playlist to mix things up.
    Once played your track should drop off your playlist.
    Hope this helps.

    I live by my Smart playlist to sort out all my TV shows and Video Podcast but it suddenly stopped updating after I paid $25 for the iTunes Match service.
    It stopped in iTunes. I don't worry to much about my iPhones because I plug them in every day and it will update iTunes.
    If iTunes doesn't work the apple TV, iPads and iPhones don't work.
    Do I need to cancel the iTunes Match service?
    Please someone find a fix.

  • Manually and quickly updating smart playlists with 'Live Updating' off?

    Hi,
    I have a quite large music library (13,000 songs) and use a multitude of nested smart playlists that change often because I don't want to listen to the same song every day and I want to listen to good songs more often than bad songs. I'm also splitting up by genre, because not all my friends appreciate all of my musical tastes, and I myself am not always in the mood for every genre.
    The consequence of this is that from time to time, iTunes stutters when playing a new song, presumably because it's updating all the smart playlists when the previous song ended.
    Now, I had hoped that turning 'Live Updating' off would cause iTunes to update the smart playlists at startup instead of updating continuously. However, it turns out that though the performance improved dramatically, turning off 'Live Updating' caused the smart playlists to never update. Obviously I don't want that, since that means all my smart playlists are static.
    Is there a way to have both good performance and easy updating of the playlists? There are a bit too many playlists to manually update very day by forcing iTunes to update the playlist.
    An 'Update all smart playlists now' button or a 'Update all smart playlists at startup' feature would be nice...
    Any hints, tips, help, suggestions?
    Thank you so much.
    Greetings,
    Tijl Kindt
    Athlon64 3800+ 2GB RAM Windows XP iPod Nano 4GB Black

    Using the SDK, you (well, I) would do something like this:
    1. Get a list of all the playlists in the iTunes Library.
    2. For each playlist, test if playlist is a Smart playlist (Playlist->Smart() returns a boolean)
    2a. If it is a smart playlist, select it by setting a property value for the BrowserWindow object (basically BrowserWindow->SelectedPlaylist(playlist object)) (for example perl code, see http://groups.google.com/group/comp.lang.perl.misc/browse_thread/thread/1248563d 743795d8/be1a88fc6eeab0e4?lnk=gst&q=itunesperlselectedplaylist&rnum=1#be1a88fc6eeab0e4)
    2b. Using keystrokes (Alt-F,G), select "File..Get Info". Then keystroke Alt-U to toggle live updating, then Enter to click OK.
    2c. Repeat above, which should toggle live updating off again. (unfortunately there is no way to be sure whether the starting state was off or on -- I'm assuming it will always be off)

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

  • After 3 years, tried live updating of smart playlist again. Still broken.

    I mean that lists like "Music I haven't listend to recently" do not remove songs on the fly when I listen songs. Last time some special rules were a problem, like "album rating", or "skipped" or "is/not podcast". It worked if I avoided those rules. I did not research the details this time. Although all my rules are really old, so they should have been fixed by now. (Old, but a complex set of ten smart playlists, all live updating and the "main" list built from the others.)
    Here is my speculation from 2009:
    Generally any RECENT iTunes smart playlist RULE TYPES that Apple has introduced in iTunes, but failed to update to iOS Music Player seem to be the problem. The iOS device can not understand a new iTunes rule unless somebody hard codes it to a new iOS version which is then updated to your iPod. And the live update is disabled, if iOS does not recognize a rule that iTunes has.
    Why, oh, why don't they just define a  scripting language to implement the smart lists, with primitives that can read any meta-data fields on a media file, and compare strings, numbers and dates? Then a new rule type would just mean a different script synced to iPhone, not re-programming the Music Player?
    Or what gives, tell me?

    FYI, I've found that Live Updating can SORT OF work. It seems if you only have two rules, live upating works (IE, I have one that is a Rating must be 3-5*'s and last played cannot be within the last 8 weeks). Once the song is played it disapears off the playlist. BUT, as soon as I try to add a third rule, it doesn't work anymore! This is unfortunate because two rules really limits the ability of the playlist...
    Cheers,

  • Live Updating: Can you do it with DW?

    Is there anyway to live update with dreamweaver? For instance, I when I push save I want it to save locally and server-side.
    Normally i wouldnt care and just preview in browser, but Im working on a wordpress site and I'm too lazy to setup mySQL.

    Being too lazy to do something the proper way can lead to disastrous mistakes, but that's a decision you have to make for yourself.
    To answer your question, yes, you can get Dreamweaver to upload files automatically to your remote server when you save them.
    Select Sites > Manage Sites, choose the site where you want this to happen, and click Edit.
    In the Site Definitiion dialog box, click the Advanced tab, and select Remote Info from the Category list on the left.
    Select the checkbox labelled "Automatically upload files to server on save".
    Personally, I would never choose this option, because there's always a danger that you'll make a mistake, not realize it, and before you know it, you have creamed your site. Still, the option is there if you're confident that's what you want.

  • I have been trying to update my cc info and for some reason it has kept saying that the cc info does not match with the bank so the transcation failed every time I was trying to download something even when it's free but my cc got charged $1.- each time.

    I have been trying to update my cc info but for some reason it has kept saying the cc info did not match with the bank info so the transaction failed every time I made an attempt to download something even it was free. However, I saw my cc online got charged $1.00 everything I was trying to update my cc info ...why?

    Im wondering why my post hasn't been answered yet.  I did file a report with the BBB and I had a rude representative from Verizon call me named Steve. He said I can file all of the reports I want and I will just keep getting calls from him.  I can understand why my phone couldn't be replaced because of the small crack.  I guess I have to eat that one (but it sucks because the lollipop update is what caused the problems)  but what about all of the data overage I had to pay for for trying to fix this phone because of a lollipop update.  I dont think it is fair to have to pay that as well. In addition,  because I have an east coast phone number but live on the west coast, I cannot have tech support after 8pm.  Verizon has cut this off.  Im very dissatisfied and I have been a customer of Verizon for 13 years.  Im hoping for a response this time.

  • 890FXA-GD70 bios update via Live Updat & now won't load windows...help pls

    Hi There
    First off, please excuse the fact that I am not very experienced with the tech aspects of a home build (which this is & I bought off the builder), or any build for that matter..
    I was getting a 'keyboard/interface' press f1 to continue error message, when I started my computer, along with most of the usb ports not working when windows 7 ultimate (64) sp1 (build 7601) loads.
    Otherwise it was working fine..
    So I deceided to follow the instructions of the Live Update tool & used the total installer to update the bios from American Megatrends V1.10 06/30/2011 to the latest bios. I know now that wasn't very wise (why is it even an option if it can do soooo much harm?).
    After it updated the bios there was a question (which I don't recall of course), something about ROM I think and not being the same, with 3 choices to correct it and I'm pretty sure I went with the 1st option for it to be corrected.
    So now when I turn the computer on it starts loading everything (I can get in to the bios setup), right after it shows the windows logo it flashes a blue screen with some type on it & goes to windows startup repair which of course doesn't help & tries to do a system recovery which also doesn't work.
    I don't want to do any more damage by fiddling around with things I know little about.
    I was encouraged to read in one of the post answers that if it gets to the point where Windows goes to load than the mobo is ok...hopefully!
    Any assistance would be greatly appreciated.
    Specs: (Copied from a Belarc Advisor scan)
    O/S Windows 7 Ultimate (x64) Service Pack 1 (build 7601)
    Main Board: 890FXA-GD70, Bus Clock: 200 megahertz BIOS: American Megatrends V1.10 06/30/2011
    Processor: 3.30 gigahertz AMD Phenom II X 6 1100T Multi Core Not hyper-threaded
    Drive: ST3500418AS Hard drive 500 gig SMART Status: Healthy
    HL-DT-ST DVDRAM GH24LS50 ATA Device (optical drive)
    Optiarc DVD RW AD-728OS ATA Device (optical drive)
    PSU: Corsair GS500
    12 gigs of RAM 1. 2048, 2. 2048, 3. 4096 4. 4096
    Display adapter: MSI R7850 Twin Frozr 2GD5
    Local Drive Volumes: c: (NTFS on drive 0)
    Hopefully that is the required info on the specs.
    Thanks in advance for any assistance.
    Rob

    yes the BIOS controls the CMOS from that User interface with all the settings menus!
    and yes its in there where you can see what Drive mode its set at!
    if its using the older style BIOS like my board has and not a UEFI then in this heading set:
    1: go into your BIOS (press Delete)
    2: Integrated Perifirals
    3: On-Chip ATA Devices
    4: Raid Mode <--- the options for that should be in there if its the same and may have been set to IDE mode before the update but may be set to AHCI now after you flashed the BIOS via live update which is more then likely why your getting a BSOD as it in the wrong operating mode!

  • My itunes playlist has stopped live updating even though i have set it up to do so... help?

    Hi all, I have restarted, synced, done everything I can think of to make my playlist sync to show only certain rated songs as per my selection but it's not live updating like I want it to! What can I do?

    Ok, thanks that helps. I don't have an external hard drive though. What about backing up through 'the cloud'? I'm just wondering since my husband syncs his iPod to the PC through iTunes and he's worried that he will lose all the songs on his iPod if the library is lost from iTunes and he tries to 'sync' it up again. I'm not exactly sure how to  'copy the entire iTunes folder' either. I kinda suck at this unless I have step by step instructions, which I haven't found yet on iTunes help or other sources.
    The only way I know how to back anything up is by going back to a restore point, etc. (as stated before, we don't have an external hard drive.)
    Thanks for the info.

  • Possible issue with MSI Live Update 5

    Hi guys, purchased a brand new MSI R9 280X Gaming 3G GPU from Scan.co.uk just before Christmas.
    Whilst playing around with GPUz i happened to notice that my card appears to have had at least one new BIOS for it (possibly two) since release. I downloaded MSI Live Update 5 from your site and ran the tool however it reports my GPU BIOS Version as unknown and doesn't find any BIOS updates for my card.
    Just wondering why this would be and if i can get a link to the latest BIOS and instructions on how to manually flash.
    My system specs are as follows
    AMD FX8350 @ 4.8Ghz 1.55v / Corsair H100 Cooler
    ASUS Sabertooth R990FX R2.0
    16GB Corsair Vengeance 1600Mhz CL9 @ 1866Mhz CL9,9,9,24-2T
    MSI R9 280X Gaming 3G
    2 x Sandisk Ultra 256GB SSDs in RAID 0
    Fractal Design Define XL R2
    If you need any further info please let me know. Thanks

    First off this is a Users-to-Users Forum not MSI tech support if you wanted to address them. Don't use LU5 as it is quite buggy. You can't see if there are new vbios versions available as you can't compare gpu-z numbers or such. Different batches of the same model can use different vbios versions which have different (higher or lower) version numbers. A higher version number might be a different not newer vbios. To check your S/N and a copy of your current vbios is required.

Maybe you are looking for

  • IPhone 4 will no longer sync music, hangs indefinitely

    I hooked up my iPhone 4 the other night to my computer to update it to the new iOS version 4.3.1. The entire time my iTunes would continually freeze and I would have to force quit it. Once I finally got it to stabilize I began to install the update w

  • Java Development BI Publisher Desktop 10.1.3.2 vs. XMLP562 library

    Hi, I've created an RTF template with BI Publisher Desktop, that's working quite fine running the preview. In this template I've charts and cross tables. Using this RTF template in JDeveloper with the API of XMLP562 I'm getting errors: It seems that

  • How to make firefox the default search engine?

    Somehow the generic internet was defaulted and I can't find how to reset it.

  • SAP GRC AC 5.3 CUP Risk Analysis issue

    Hi all, I have assigned a new SoD Role to a user, who has been given previously other SoD Roles that were authorized to assingn, then I launched the Risk Analysis and it shows the risk between the previously SoD Roles, but I want to see the new posib

  • Multiple photo edit in CS6?

    I searched, but could not find an answer to this basic question. I use LightRoom 3 to simultaneously modify multiple photos. For example, I will use the "grid" vew to show hundreds of photos. I will then select the ones that I want to modify (i.e. ma