Remote Login at login screen via Apple remote Desktop.

yjian
New Contributor III

Hi,

I am running Mac OS X 13.3.1 for 100 iMacs, after a schedule maintenance update, I would want to make sure student account is able to login to the iMac. 

I used to be able to use osascript but now it give an error keystroke not supported.

`osascript -e 'tell application "System Events"' -e 'keystroke "admin"' -e 'keystroke tab' -e 'delay 0.5' -e 'keystroke "abcd1234"' -e 'delay 3.5' -e 'keystroke return' -e 'keystroke return' -e 'end tell'`

I was reading the articles but not getting any results.

https://community.jamf.com/t5/jamf-pro/10-7-auto-login-with-osascript-at-welcome-screen-just-isn-t/m...

https://community.jamf.com/t5/jamf-pro/issue-running-a-script-at-the-login-screen-with-casper-remote...

Any others successful method that can share?

Thank you

 

3 REPLIES 3

AJPinto
Honored Contributor II

If everyone is using a shared account, why don't you just enable that account to automatically log in?

yjian
New Contributor III

There are teacher account and student accounts. We will need to login to each to make sure a software can runs. So will need to login to individually. Hope it worth the effort.

yjian
New Contributor III

Anyone managed to achieve this?