Skip to main content

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?

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


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


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


@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?


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.