Change Windows Password from the Command Line

Whether you are on Windows XP, Windows Server 2003 or some other recent version of the Windows NT system you have probably gotten into a situation where you wanted to change your password but did not have a means of issuing a remote Ctl-Alt-Del to bring up the password change dialogue or, for one reason or another, you need to make a password change via the command line.  In UNIX this is the normal mode of password changes but in Windows this is a poorly known skill but an important one.  This is especially important on Windows 2003 machines as the normal password management dialogues may not exist.

To change your password simply:

net user username password

So for me that might be “net user scott mysecretpassword” and voila, password changed.  Very, very handy.

Leave a comment