During Prestage Enrollment I am successfully running the rename computer script as a policy and it binds to AD.
Is it possible to have it run during the setup assistant or at the login screen?
The issue I face is with our naming convention. I need to rename the Mac and then bind to AD Prior to first login.
Currently it renames and binds but only after I log into a local account created be prestage enrollment.
I need it to prestage enroll, rename the Mac, then join to AD. If it does not rename and bind to AD the user will not be able to login with AD credentials but the script doesn't seem to run until a local user is logged in.
The idea is for this to be an automated process. I cannot give out the local account password to users so that it will finish enrollment policies.