net user change password

Hello Experts

I have created 2 accounts

1) net user SQLsvc /add /expires:never "Very complex passw0rd"
2) net user SQLAgent /add /expires:never “Very complex pa$$w0rd”

I want to change the password for the first  SQLsvc  one can any one suggest a step by step procedure?
Who is Participating?
ValentinoVBI ConsultantCommented:
okay so that means you were able to change the password, and have actually changed it...
ValentinoVBI ConsultantCommented:
Here's the official way to do it from Microsoft:

To change a user's password at the command prompt, log on as an administrator and type:

net user user_name * /domain
When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to confirm. The password is now changed.

Alternatively, you can type the following command:
net user user_name  new_password
When you do so, the password changes without prompting you again. This command also enables you to change passwords in a batch file.

Non-administrators receive a "System error 5 has occurred. Access is denied" error message when they attempt to change the password.
TilluAuthor Commented:
Hello ValentinoV

I have used the second procedure it just showed the command completed successfully.
TilluAuthor Commented:
Thanks for helping!!
ValentinoVBI ConsultantCommented:
Glad I could help you out!  But you selected the wrong answer as solution, it should have been my first comment...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.