Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Bulk login with Remote Desktop

This solve is for Sierra (and up) logins (based on Ryan's instruction on the grivet-tools website.) I found that a return keystroke was needed on line 4 after the username for Sierra. That keystroke brings the cursor into the password input box and included a delay for good measure. Finally, the keystroke commands for password and the return key to initiate the login.


(Replace "username" with the user name and "password" with the user password.)


osascript <<EOF

tell application "System Events"

keystroke "username"

keystroke return

delay 0.5

keystroke "password"

keystroke return

end tell

EOF

null-OTHER, macOS Sierra (10.12.6), Apple Remote Desktop

Posted on May 9, 2018 10:33 AM

Reply

There are no replies.

Bulk login with Remote Desktop

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.