Applescript to log in client machines not working on Mavericks

I have been using this terminal command to log in to a local account:
osascript -e 'tell application "System Events"' -e 'keystroke "USERNAME"' -e 'keystroke tab' -e 'delay 0.5' -e 'keystroke "PASSWORD"' -e 'delay 0.5' -e 'keystroke return' -e 'end tell'
And up until Mavericks, it worked perfectly. Under Mavericks, nothing happens when I run the script following a client restart.
If I physically visit the client machine, and click the mouse, it'll drop the cursor in the user name box, and the log in script will work. If I don't click the mouse, then the cursor will not be in the box. No "keystroke tab" or any other key press will get the cursor into the box, only a physical click.
I've tried several scripts that simulate a mouse click, but they don't work. It takes a mouse physically being clicked to make the cursor appear.
So, does anyone know how to get a client log in script working in Mavericks? It would greatly speed up my process.

I've noticed that the Login window in Mavericks is not active without a Mouse Click if it has been sitting on the login screen  for a while or after restart.
You can't just start typing a user name to get it to select that user. You must click on the screen, first.
I have filed a bug report, but I haven't received any response.
It might be related to that same issue.

Similar Messages

  • BPC 7.5 Admin Client Links Not Working

    I am working in BPC 7.5 SP15 NW. I have recently upgraded to Windows 7 64-bit and now the links in the action pane in the desktop admin client are not working.  The cursor does not change from the nornal pointer to the hand.  That would indicate that the admin client is no longer recognizing them as links.  The links work fine in the desktop Excel client.  I am using 32-bit Excel 2010 with no other version of Office installed.
    Has anyone heard of this behavior and how to correct for it?

    Hi Kannan,
    i think this is a Osoft web site configuration issue, the error indicates that you have one duplicate section in the web site configuration file (web.config).
    If you didn't alter the web.config file then the problem may occur because when you use framework 4.0, the machine config already has some of the sections defined that were used in previous ASP.NEt versions.
    You should check which version of the MS Framework is configured for the application pool of the web site, change it to v2.
    Let me know if this solves the issue. Or if you need more help to resolve it.
    Kindest regards,

  • Why is Time machine backup not working after Mavericks upgrade?

    Why is Time machine backup not working after Mavericks upgrade?

    I had the same problem due to the Fire Wire port.  Apple tested it told me it is OK!, I tried a new cable, and have tested both ports on my back up device.  I find it strange that as soon as I installed Mavericks.  The drive does work using USB.  It could be a coincidence, I don't absolutely know at this point, my back up drive ports could stop working, but I doubt it!

  • [solved] NFS client will not work correctly

    I have all my $HOME on an NFS Server. So long I used suse and debian, now I want switch to arch but the nfs-client ist not working correctly:
    I start "portmap nfslock nfsd netfs" over rc.conf. When I do a "rpcinfo -p <ip-arch-system>" I got the following
    stefan:/home/stefan # rpcinfo -p 192.168.123.3
       Program Vers Proto   Port
        100000    2   tcp    111  portmapper
        100000    2   udp    111  portmapper
        100021    1   udp  32768  nlockmgr
        100021    3   udp  32768  nlockmgr
        100021    4   udp  32768  nlockmgr
        100003    2   udp   2049  nfs
        100003    3   udp   2049  nfs
        100003    4   udp   2049  nfs
        100021    1   tcp  48988  nlockmgr
        100021    3   tcp  48988  nlockmgr
        100021    4   tcp  48988  nlockmgr
        100003    2   tcp   2049  nfs
        100003    3   tcp   2049  nfs
        100003    4   tcp   2049  nfs
        100005    3   udp    891  mountd
        100005    3   tcp    894  mountd
    As you see "status" is missing, so the statd is not running. It sould look like the result on my suse box:
    stefan:/home/stefan # rpcinfo -p 192.168.123.2
       Program Vers Proto   Port
        100000    2   tcp    111  portmapper
        100000    2   udp    111  portmapper
        100024    1   udp  32768  status
        100021    1   udp  32768  nlockmgr
        100021    3   udp  32768  nlockmgr
        100021    4   udp  32768  nlockmgr
        100024    1   tcp  35804  status
        100021    1   tcp  35804  nlockmgr
        100021    3   tcp  35804  nlockmgr
        100021    4   tcp  35804  nlockmgr
    There is the "status" line and so the statd is running.
    How can I fix that problem, so that statd ist running on my arch box too?
    Last edited by stka (2007-06-10 15:59:48)

    The Problem ist solved.
    I use ldap for authentication. During the setup of the ldapclient I copied the nsswitch.ldap to nsswitch.conf. But the line for "hosts:" was:
    hosts:          dns ldap
    but in my dns ist no localhost entry. After I changed this line to:
    hosts:          files dns ldap
    everything was ok. The statd is now running and I can start to migrate to archlinux ;-)

  • Have had to reset several times , also log in doe's not work

    1. Log in doe's not work correctly how do I get it reset ?
    2. I have had to reset several times in the past two week's to get FF-23 to work properly (for a little while) , when FF-23 screws up it will not display content of some sites properly and will not allow link's within G-mail to open .
    Any help for the above ?
    Using Win-7 / 64
    Do not have this trouble when using Chrome, DO NOT use Internet Exploder at all.

    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox profile folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • Logging off Client Machines

    Dear all,
    From SCCM 2012 R2 , is it possible to force log off client machines ?
    Thanks.

     
    Thanks, i just want to reconfirm . We need to log off all the client machines.
    Hope options are create a log off package and deploy it or else if we are deploying any new package we can set after deploy it can log off.

  • Ref: Time machine not working

    I have a question. Can I use TM to reset my System Preferences. In hope it would put back what changed back in Nov.
    I cannot accesses any files in TM and no error message from TM. Please read Time machine not working posted 19 April. Many thanks.

    You need to explain just what you mean "not working".
    Also, what are you backing-up to?
    Check out some of the threads under More Like This at the right of this page.

  • App store, Safari, software updates, icloud, do not work in Mavericks 10.9 using a proxy server

    App store, Safari, software updates, icloud, do not work in Mavericks 10.9. these problems are interrelated I am sure. Apple apps were working fine in 10.8.5 I could do software updates through a proxy server using password authentication. I reinstalled a new system 10.9 on another partition and it won't let me use Safari or update software using a proxy server. Firefox works fine (I am using it to post). I am very disappointed that this wasn not fully tested BEFORE releasing Mavericks. Any solutions would be greatly appreciated.

    I had this problem myself.
    Checked the system log with Console, and I found the entry:-
    Nov 11 11:16:41 teds-new-mac.ad.mycompany.co.uk ocspd[537]: Authentication challenge received for "10.203.39.212:8080", unable to obtain proxy server credential from System keychain.
    For some unknown reason, Mavericks seems to be looking in the System keychain, when these credentials are actually held in the Login keychain.
    So, I tried "Copy & Paste"  - copying the https user name & password from the Login keychain and pasting into the System keychain, which worked but it's not quite as straightforward as I initially thought.
    Pasting into the System Keychain was, I found a not-very-intuitive process:
    Having opened your Login Keychain, click once on the item to be copied and when it's highlighted, select "Copy" from the Edit menu or, of course, cmd+c.
    Select the System Keychain:- DO NOT CLICK THE PADLOCK IN THE TOP LEFT TO UNLOCK IT.
    From the Edit menu, select "Paste" or cmd+v.
    You will then get a dialogue box,, enter your administrator's password and select "Modify Keychain" or just hit return, as it's the default entry.
    I found a restart was in order before it recognised everything and would accept https pages without alert boxes, but YMMV.
    Funnily enough - and this is where it seems counter-intuitive, if you do click on the padlock and unlock the System Keychain, "Paste" is greyed out in the Edit menu and cmd+v has no effect.
    Exactly the opposite to what I'd expect..

  • IDVD is not working in Mavericks... what now?

    I am very upset that iDVD is not working in Mavericks! I need the ability to burn DVDs for family who is unable to access the internet. Any patches or fixes available to make this software usable again? I am very disappointed that Apple would do this without warning users that previously purchased software would be incompatible with the new OS.

    I am also having problems with iDVD under Mavericks. I have used iDVD for many years creating DVD's for family members and archiving our vacations. It worked great under Snow Leopard, Lion, and Mountain Lion, but now Mavericks is a different situation.
    I have two basic problems, (1) after importing the video I want to use, I play it back to preview and a small band shows up at the top of the screen that is not in sync with the rest of the screen. And (2) when showing a slideshow using standard jpegs there are color issues on playback. Help,  I need my iDVD back!

  • My printers are not working after mavericks install. What can I do to fix - PLEASE HELP! It is my lifeline - we are a print shop!

    My printers are not working after mavericks install.
    The printer just PAUSE and can't be resumed.
    What can I do to fix - PLEASE HELP!
    It is my lifeline - we are a print shop!

    Go to the printer manufacture website and download the drivers for your printer model for OS X v10.9 Mavericks.
    Then open System Preferences > Printers & Scanners > Print
    Select your printer on the left then click -  (minus)
    Then click + (plus) to add the printer.

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

  • I started to download Maverick but then read that Word and Excel do not work  with Maverick.  I hit pause on the download. How do I stop the download.  In non technical terms please!

    How do I stop the download of Maverick on my MacBookPro?  I started downloading then discovered that 2008 Word and Excel do not work  with Maverick. I have too many files in the 2008 version to upgrade them at this time.  I just need instructions in non technical terms to stop the Maverick download.

    I did the same as Tapmr and have paused the "upgrade".  So am I to understand that the upgrade only downloads and will not automatically install it?  I am an extreme novice here, and cannot afford any issues after I upgrade/download.  I don't know how to make a clone copy as you suggested either.
    I need assurance that if the upgrade is allowed to continue that I will be able to delete the upgrade downloaded and continue on as before with my regular system. 

  • I want to install an old airport express, the ones which are directly plugged into the socket - but it does not work with Maverick or Snow Leopard - can I configure it with a windows pc?

    I want to install an old airport express, the ones which are directly plugged into the socket - but it does not work with Maverick or Snow Leopard - can I configure it with a windows pc?

    The Mac running Snow Leopard should be able to configure virtually any version of the AirPort Express.
    Tell us what steps that you are taking to configure the Express and what happens after each step.

  • Mac Mail's smart mailbox's tagged-serach does not work in Mavericks.

    Smart mailbox's tagged-serach does not work in Mavericks.
    Tagged search such as "from:amazon OR from:yahoo" does not return any result in a smart mailbox. A strange thing is that it still works in the search box on the tool bar, but once the "Save" button is pressed to convert to a smart mailbox, it stops working.

    Smart mailbox's tagged-serach does not work in Mavericks.
    Tagged search such as "from:amazon OR from:yahoo" does not return any result in a smart mailbox. A strange thing is that it still works in the search box on the tool bar, but once the "Save" button is pressed to convert to a smart mailbox, it stops working.

  • Why iMessages, facetime, app store, etc  I do not work in maverick? please solution  thanks

    why iMessages, facetime, app store, etc  I do not work in maverick? please solution  thanks

    Philip, many people have talked about this "blue lego" problem, but you are the first to explain it (migrating to Intel) that brings clarity to the issue. The Business and People widgets use small "webkit" plugins in order to do their work. However, the plugins on the PowerPC versions of these widgets are NOT Universal, and thus will not run on an Intel Mac.
    Typically, this should never be an issue because an Intel Mac comes with widgets already installed (the Universal versions of these widgets, which include Universal versions of these plugins).
    However, if I understand you correctly, you "migrated" your old files from your PowerPC Mac to your new Intel Mac. Is it possible you overwrote your Intel OS X default widgets (the 18 widgets in [Hard Drive]/Library/Widgets) with the versions from your old PowerPC Mac during this migration?
    If so, then that is the source of your problem: you replaced your Universal widgets with PowerPC widgets. The solution is to reinstall your widgets from the Installer that came with your new Intel Mac. You can either re-install OS X entirely, or use Pacifist to just install those overwritten widgets.

Maybe you are looking for