Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

Auto Login with macOS 10.14+ and DEP

I have tried the solution at the bottom of this post and it doesn't seem to work.

auto-login-local-user

Has anyone gotten this to work with DEP and the script method in this post?

Like Comment
Order by:
SOLVED Posted: by allanp81

@kericson I created a pkg that creates a kcpassword file for the user and has a post install script that runs:

defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUser -string username

I then created a new policy that delivers this package when enrolment is complete via dep and set the policy to restart at the end.

Seems to work fine for me.

Like
SOLVED Posted: by kericson

@allanp81 Can you share how you created this? Does this work with DEP?

Like
SOLVED Posted: by allanp81

@kericson I just used Jamf Composer and created a new package and described above and yes it works with DEP.

Like
SOLVED Posted: by kericson

@allanp81 I was able to get this to work only after I do a restart. I have two local admin accounts that DEP creates. 1. Is the jamf management account which is not hidden 2. This auto login account.
Do you only have one local account?

Like
SOLVED Posted: by allanp81

I have a hidden management account and then an account that gets created during enrolment. Yes it requires a restart once applying the plist change.

Like