create a local administrator account in Windows 11 Home

Open Command Prompt as Administrator:
  • Click the Windows Start button.
  • Type "cmd" in the search bar.
  • Right-click on "Command Prompt" and select "Run as administrator".
  • Click "Yes" in the User Account Control (UAC) prom
Create the User Account:
 
  • Type the following command, replacing "NewUsername" with the desired username and "NewPassword" with the desired password: 

    net user NewUsername NewPassword /add

Note: You will not see the password characters as you type them.
Press Enter. 

 

Add the User to the Administrators Group: 
 
  • Type the following command, replacing "NewUsername" with the same username you used in the previous step: 

    net localgroup administrators NewUsername /add

press enter.