Results 1 to 4 of 4

Thread: net user username password problem

  1. #1
    Join Date
    Jun 2009
    Posts
    50

    net user username password problem

    I am having problem while using net user command in order to change the password for a user. I have a user named "Myself" on my computer. When I try to change the password of this user from the administrator account, the command always asks me "More?". Can anyone elaborate me how to use net user command an what is the use of username and password field?

  2. #2
    Join Date
    Apr 2008
    Posts
    3,424

    Re: net user username password problem

    Syntax of the "net user" command:

    Code:
    net user [username [password | *] [options]] [/domain]
             username {password | *} /add [options] [/domain]
             username [/delete] [/domain]
    Parameters:
    • username: Is the name of the user account you want to add, delete, modify, or view. The name of the user account can have as many as 20 characters.
    • password: Assigns or changes a password for the user's account. A password must satisfy the minimum length set with the /minpwlen option of the net accounts command. It can contain as many as 14 characters.
    • *: Produces a prompt for the password. The password is not displayed when you type it at a password prompt.
    • /domain: Performs the operation on the primary domain controller (PDC) of the current domain. This parameter applies only to computers running Windows NT Workstation that are members of a Windows NT Server domain. By default, Windows NT Server-based computers perform operations on the PDC.
    • /add: Adds a user account to the user accounts database.
    • /delete: Removes a user account from the user accounts database.

  3. #3
    Join Date
    May 2008
    Posts
    3,516

    Re: net user username password problem

    The net user command is used to create and modify user accounts on computers. You an even try this using the User Accounts.
    • Go to Start and then Control Panel.
    • Click on the User Accounts link.
    • Click on user name.
    • Choose the Change my password link.

  4. #4
    Join Date
    May 2008
    Posts
    991

    Re: net user username password problem

    To change a user's password at the command prompt we use "net user" command. Just login with administrator account and type:

    Code:
    net user Myself * /domain
    The above code will prompt you to type a new password for the user. If you don't want the command to ask for the password and would like to directly provide it in a single command then use command as below:

    Code:
    net user Myself your_password /domain

Similar Threads

  1. Need help for getting the DSL username and password
    By Road-Runner in forum Networking & Security
    Replies: 4
    Last Post: 03-12-2010, 05:18 PM
  2. ZTE Modem Problem, Modem not saving Username & Password
    By Gajalakshmi in forum India BroadBand
    Replies: 5
    Last Post: 09-10-2010, 10:23 PM
  3. Switch user and Last Username
    By aidan in forum Operating Systems
    Replies: 2
    Last Post: 03-06-2009, 09:55 PM
  4. Replies: 7
    Last Post: 04-02-2008, 09:05 PM
  5. Replies: 7
    Last Post: 06-12-2007, 09:46 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,558,548.12479 seconds with 17 queries