There has been a default password and administrator set in Windows server 2012 R2 domain controller. But in order to protect server from damage, we always have to create other administrator in local server computer for logon and manage local server computer.
How to create a local administrator user account? Please follow this passage to do.
Net user command is usually used to add, remove user account on domain controller, local computer. Now follow the steps to add a new local administrator user account with it.
Step 1: Log on to Windows server 2012 R2 with the admin account.
Step 2: Press Win + X to run command prompt (admin).
Step 3: Add an user account in local server computer with this command and press Enter.
net user genius abc@12345 /add
Step 4: Add the new user account to local group administrators.
net localgroup administrators genius /add
When the command completed successfully, type "net user" command and press Enter, you would find new user account “genius” has been created as a local administrator.
Local admin user account has to be created through two main operations. Create one new user in Local Users and Groups – Users, and then add the user account to Administrators group in Local Users and Groups – Groups. Administrator is the minimum group membership required to complete this procedure.
Step 1: Open Computer Management by pressing Win + X.
Step 2: In the console tree, click Users.
Computer Management\System Tools\Local Users and Groups\Users
Step 3: On the Actions menu, click New User.
Step 4: Type the appropriate information in the dialog box twice.
Step 5: Select or clear the check boxes for:
Step 6: Click Create, and then click Close.
Step 7: Choose Groups, and right-click "Add to Group" on Administrators. And then select "Clara" user account to add to this group.
More details about this, please turn to add a user to local administrator group.
There is no doubt that the local administrator created by ways above makes local server computer management safe and convenient. But unfortunately they work only when you could access server 2012 r2. If you want to create local administrator for server 2012 r2 even though you are locked out it, another way with Windows Password Genius is available for you.