Create another account with command prompt.

Bertrand Brobbey 0 Reputation points
2023-12-15T00:06:53.9566667+00:00

Hello,

I am not able to get into my main windows account for some reason. I am trying to create a new account and the only way to do that is from the administrator account and settings but like I said I'm not able to get into my main account. I've tried to use the command prompt on the troubleshoot page. Running the command net user, etc. However I always get the error of "This account was created but not added." Is there any thing to add to this command or any where I could possibly add a guest account or something that I can do to be able to access my computer. Anything helps thank you.

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-15T06:54:27.0766667+00:00

    Hello,

    Please try below command to add the newly created account to admin group:

    net user username password /add
    net localgroup Administrators username /add
    
    

    Replace username with the desired username for the new account and password with the password you want to set for the account.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.