I’ve started working on a depNotify workflow for our computer labs, and decided to use the pycreateuserpkg ( https://github.com/gregneagle/pycreateuserpkg ) tool for creating a temp user account w/ autologin enabled. I’m installing the package with an Enrollment Complete trigger, which works, but the system won’t autologin to that account upon exiting the Setup Assistant. However, if I click the restart button from the login screen, the computer will autologin with the account when it comes back up, so the account package / settings seem fine.
Any ideas on how I can get the autologin to work without having to restart after the Setup Assistant completes? I’ve been testing on a 10.14 MBP system.
Got it working by using this: https://github.com/MagerValp/SkipAppleSetupAssistant
I tried a couple of different variations but it seems that adding it last to our re-install process (adding a product ID to it first) works.
So it now re-installs and 'flips' into the login screen after finishing the install.
It doesn't auto-login but it's close enough...