iSumsoft » Resources »Windows 11»Use CMD to Create a New User with Administrator Privileges in Windows 11 Home

Use CMD to Create a New User with Administrator Privileges in Windows 11 Home

Ralph Adolphs
Ralph Adolphs

Updated:

Typically, we create a new user with administrator privileges through Local Users and Groups option in Computer Management. However, it is not available in the System Tools list. Apart from this general method, is there another way to add a new administrator account? The focus of this article is to show you a new method of using CMD to create a new account with administrator privileges in Windows 11 Home.

use-cmd-to-create-a-new-user-with-administrator-privileges-in-windows-11-home


Part 1: Use CMD to create an administrator account

Step 1: Type "cmd" in the search bar and choose Run as administrator from options.

search-for-cmd

Step 2: Click Yes to allow this app to make changes to your device.

cmd-click-yes

Step 3: Type "net user /?" and hit Enter key to view all the commands of NET USER.

command-net-user-for-help

Step 4: Input "net user" and press Enter for all user information.

view-user-information-first

Step 5: Enter "net user testname 123456 /add" command and press Enter, which will create a new account named "testname" with a password of "123456".

add-a-new-user

Step 6: Type "net user" and enter Enter to view all user information again, and the account "testname" will be displayed on the list.

view-user-information-second

Step 7: Input "net user testname" and press Enter for more information about "testname". You will see that the "testname" account has the permission: Users.

view-new-user-information

Step 8: Type command "net localgroup administrators testname /add" to assign administrator privileges for user "testname".

assign-administrator-privileges

Step 9: Type "net user testname" and hit Enter, and you will see that you have finished adding administrator privileges to the "testname" account.

view-user-information-third

Part 2: Log in to the new account with administrator privileges

Step 1: Click Start icon, then choose "testname" from User option.

switch-to-new-user-account

Step 2: Log in with the password "123456".

enter-password

Step 3: You will be prompted to wait for a few minutes and don't turn off your PC.

wait-for-a-while

Step 4: Pull down the scrollbar and select Accept to proceed.

accept-license

Step 5: The user account is "testname" after entering the operating system, which has adminitrator privileges.

successfully-created