Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I try to add a new user from User Accounts in the control panel.

I click the Add button, and in the wizard that pops up I write a username, and let the domain name stand blank since this should be a local user. Then I click next.

I choose standard user on this page (note that the problem occurs regardless of my choice on this page) and click Finish.

Then I get the error message:

The user MACHINENAME\USERNAME could not be granted Standard user access because MACHINENAME\USERNAME does not exist.

So I'm basically unable to create any local users on my machine.

Any ideas?

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

Try running the following command in cmd: net user username /add That should then create a user. You can then edit this user though the control panel.

share|improve this answer
    
This worked perfectly. Any idea why this does not work from User accounts? It quite useless to have a Add function that fails because the user you try to create does not already exist. –  Øyvind Knobloch-Bråthen Jun 1 '11 at 7:12
    
I have not the faintest idea, sorry. –  soandos Jun 1 '11 at 7:15
2  
@Øyvind: While searching for the error message I found this article which states: "This behavior can occur because the Add New User Wizard is used to add existing domain users to local groups. It cannot be used to create new local user accounts". It sounds like your case (even though it's for XP), because you seem to be on a domain as well. –  efotinis Jun 1 '11 at 7:49
1  
@efotinis - That's seems to be exactly the same. So it's because the user name I have entered is not a valid domain user then. Thanks for sharing :) –  Øyvind Knobloch-Bråthen Jun 1 '11 at 7:54
add comment

If you prefer a GUI for this, on the same "Manage User Accounts" control panel, switch to the "Advanced" tab and click the Advanced button under "Advanced user management"

share|improve this answer
add comment
  1. Click "Start".

  2. Type "cmd" into the Search box.

  3. Press Ctrl+Shift+Enter.
    OR
    Click "Run as Administrator".

  4. Type the following commands and press Enter after each of them:

    net users
    net user "john_smith" Access22 /add
    net localgroup administrators "john_smith" /add
    

The first command will display all existing account names. Make sure that you see "Administrator".

The second command will create an account called "john_smith" with a password "Access22". The third command will make "john_smith" an administrator.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.