How to Change User Password at Command Prompt

How to Change User Password at Command Prompt

Changing user passwords is pretty common in Computer Management for small business networks. It is typically a click, click, click affair, with lots of waiting for dialog boxes to come up. I would rather jump to a command prompt and type the simple command and be done with it.

So, here it is:

net user user_name  new_password

If you are in a Domain, and are a Domain Admin, you can change the domain password by adding the /domain switch

net user user_name  new_password /domain

Here is Microsoft’s Knowledge Base article on changing passwords with the command prompt: How to Change User Password at Command Prompt.

Here is the full output of the net user /? command:

C:\>net user /?

The syntax of this command is:



[username [password | *] [options]] [/DOMAIN]

username {password | *} /ADD [options] [/DOMAIN]

username [/DELETE] [/DOMAIN]

username [/TIMES:{times | ALL}]


Article written by Jesse Perry (JP)

Hi there, I am Jesse Perry. I have run an IT Service business for over a decade, been working in the Computer Industry for much longer.

Please comment with your real name using good manners.

Leave a Reply