Stack Pointer
  • Home
  • About
  • Contact

Change Windows Domain User Password from the Command Line

10 May 2009Mohamed Ibrahim

You can change the Windows Domain User Account Password from the Command Line using the net command. This is applicable to Windows NT line of operating systems – NT 4, Windows 2000, Windows XP Pro, Windows Vista and so on.

To change a domain user’s password at the command prompt, log on as an administrator and type:

1
C:\Windows\system32>net user ibrahim * /domain

Of course, you will need to use your own username, as this is just an example. You will then be prompted to enter the new password twice. The password will be changed once you enter the password the second time.

Alternatively, if you would like to do a update of the password from a batch file, you can use the following command:

1
C:\Windows\system32>net user ibrahim password /domain

The password will be updated immediately without any prompts.

Note: Non-administrators who try to change the password from the command line will receive a “System error 5 has occurred. Access is denied” error message when they attempt to change the password.

Mohamed Ibrahim

ibrahim = { interested_in(unix, linux, android, open_source, reverse_engineering); coding(c, shell, php, python, java, javascript, nodejs, react); plays_on(xbox, ps4); linux_desktop_user(true); }

account, domain, password, windows

« Previous ArticleWorkaround for Juniper VPN Split Tunneling Restriction
Next Article »How to Disable a CPU Core

Social Networks

Stack Pointer


Follow @stackpointerio

About
Contact
 Facebook
 Twitter
 RSS
Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2008-2025 Stack Pointer