Create a local administrator account with MDM
You can configure a local administrator account and choose whether the account can be viewed in the Users & Groups pane of System Preferences. You can also change the password of that administrator without physical access to the Mac. When configured in your MDM solution, the user proceeds through the account setup portion of the macOS Set-up Assistant. Mac account set-up options are as follows:
Create an administrator account: The user creates an administrator account on the Mac.
Create a standard account: The user creates a standard account on the Mac. You must also create a managed administrator account.
No option to create an account: The user doesn’t create any account using Set-up Assistant. You must also create a managed administrator account. The user logs in using a network account or another account created outside of Set-up Assistant.
The full name or username for the default account (macOS 10.15): Used to fill the local account’s full name or username in Set-up Assistant when creating the initial administrator account. The user can override these values if they wish.
Lock the default account’s full name or username (macOS 10.15): The local account are created using the full name or username provided by the MDM solution. The user can’t override the values.
If you create a managed administrator account, you can hide that account in the Users & Groups pane of System Preferences so that users of a Mac don’t interfere with the managed administrator account.
Note: Unlike passwords for regular administrator accounts, passwords for managed administrator accounts can be changed remotely using your MDM solution.