Re: Net user domain password reset

From: Jerold Schulman (Jerry_at_jsiinc.com)
Date: 02/16/05


Date: Wed, 16 Feb 2005 07:02:01 -0500

On Tue, 15 Feb 2005 12:17:02 -0800, "stev379" <stev379@discussions.microsoft.com> wrote:

>I'm unable to change a domain password with Net User. I think it may be my
>syntax, but I'm not sure as I thought I had done this before and all the info
>I can find on Net user says my syntax is correct. How should this be setup?
>I'm getting error messages that "the option (/domain) is unknown".
>
>I'm logged on (XP machine in an AD domain) with an account that is able to
>change domain passwords and I'm testing with my own user account.
>
>Net User username password /domain
>
That is the correct syntax.

If username contains a space, it must be double-quoted.

Net User "username" password /domain

If password has a space, it must be double-quoted.

Net User "username" "password" /domain

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com



Relevant Pages

  • Re: Net user domain password reset
    ... Below is the error copied from a command ... prompt window. ... Any idea what might cause such an error if my syntax is ... >>I'm unable to change a domain password with Net User. ...
    (microsoft.public.windows.server.scripting)
  • Re: How to verify whether an account is admin or not?
    ... NET USER ... Where <USERNAME> is the actual name of the user account. ... Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security ...
    (microsoft.public.windows.mediacenter)
  • Net user domain password reset
    ... I'm unable to change a domain password with Net User. ... I can find on Net user says my syntax is correct. ... change domain passwords and I'm testing with my own user account. ...
    (microsoft.public.windows.server.scripting)
  • Re: Preventing Changes Of User Passwords
    ... You can use the command net user ... username to see info about the user account and the command net accounts to ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Limit Kids log-ons (diable (power?)
    ... Using the Net User Command-line Statement ... Command Prompt where username is the name of the user account without the ...
    (microsoft.public.windowsxp.security_admin)