The syntax of this command is:
NET PASSWORD [[\\servername | /DOMAIN:name] username oldpassword
{newpassword | \*}]
This command changes the password for a user account on a
server or in a domain.
COMMENTS
Use the "net password" command to change your password.
To get prompts for the name of the domain or server, the
username, the old password, and the new password, type
"net password" without options.
If you forget your password, you cannot use this command to
create a new one. You must use the "net user" command to
create a new password.
EXAMPLES
To change your password for the product server from miata to
hctrebor (your username is robertch), type the following:
net password \\product_asu robertch miata hctrebor
To make the same change, but have the server issue a prompt
for a new password which will not be displayed as you enter
it, type the following:
net password \\product_asu robertch miata \*
To change the password in the local accounts database from miata
to hctrebor, type the following:
net password robertch miata hctrebor
Note that on a primary or backup domain controller, the local
accounts database is the same as the domain database, but on a
member server, the local accounts database is specific to the
server.
To change the password for your user account in the account
domain from robertcx to hctrebor, type the following:
net password /domain:account robertch robertcx hctrebor
This is how to change the password of your domain account from
a member server, for example. It is also how to change the
password of an account in a trusted domain, regardless of the
local machine's role in its own domain.
To run the same command remotely (on server "market_asu"), type
the following (replacing "password" with the password for
"administrator":
net admin \\market_asu password /command net password
/domain:account robertch robertcx hctrebor
SEE ALSO
For information about See
_____________________ _________
Getting help with network commands net help
Specifying a logon password net logon
To get Help on command options, type "net help {command} /options | more".
To get Help one screen at a time, type "net help {command} | more".