PDA

View Full Version : Password change


erskine
April 26th 04, 11:21 PM
Can someone please point me to the easy way of changing
the user's login password on a server from the command
line when the client is Win XP/Win 2k. What I am looking
for is a method equivalent to the Win 9x NET PASSWORD
command. The server is not part of a domain and probably
never will be, therefore NET USER does not seem to have
the right options.

Darren Hook [MSFT]
April 27th 04, 03:34 PM
"net user <user_name>? <new_password>" (without the quotation marks)

149427.KB.EN-US How to Change User Password at Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;en-us;149427

--
Darren Hook

Microsoft PSS

Please do not send email directly to this alias. This alias is for
newsgroup purposes only.

This posting is provided "AS IS" with no warranties, and confers no rights.
"erskine" > wrote in message
...
> Can someone please point me to the easy way of changing
> the user's login password on a server from the command
> line when the client is Win XP/Win 2k. What I am looking
> for is a method equivalent to the Win 9x NET PASSWORD
> command. The server is not part of a domain and probably
> never will be, therefore NET USER does not seem to have
> the right options.

erskine
April 29th 04, 02:28 AM
Not so - perhaps I didn't make myself clear. Somehow I
need to indicate which computer the password change
applies to -right? If I enter

NET USER <username> <newpassword>

all I get back is "The user name could not be found." If
I follow Win 2K's helpful advice and type NET HELPMSG 2221
it tells me the reason, which is that I had specified an
unknown username. Why was it unknown? Because Win 2K
expects to see the username in the client security
database, however

NET USER

shows only Administrator and Guest, not Erskine or
Jack_Sprat or whatever name I choose to have on the
server. By the way, I was logged in to the remote server
as Erskine when I did the above, but it didn't make any
difference!




>-----Original Message-----
>"net user <user_name>? <new_password>" (without the
quotation marks)
>
>149427.KB.EN-US How to Change User Password at Command
Prompt
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;149427
>
>--
>Darren Hook

>Microsoft PSS
>
>Please do not send email directly to this alias. This
alias is for
>newsgroup purposes only.
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>"erskine" > wrote in
message
...
>> Can someone please point me to the easy way of changing
>> the user's login password on a server from the command
>> line when the client is Win XP/Win 2k. What I am
looking
>> for is a method equivalent to the Win 9x NET PASSWORD
>> command. The server is not part of a domain and
probably
>> never will be, therefore NET USER does not seem to have
>> the right options.
>
>
>.
>

Google