Tip & How-To about Microsoft Windows XP Professional SP2

Change User Password from Command Prompt

You can change a Windows User Account password that is on any Windows computer from any other Windows computer regardless of whether the User Account is on a workstation, a stand-alone server, or a Windows domain controller. Additionally, it makes no difference whether the password being changed from a workstation, a stand-alone server, or a Windows domain controller. This is true for any NT 4.0, W2K, XP Pro and Windows Server 2003 computer.
To change a user's password at the command prompt, log on as an administrator and type:

net user danielp * /domain
(This is only an example, use your own username)
When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to confirm. The password is now changed.
Alternatively, you can type the following command:

net user danielp 123456 /domain
When you do so, the password changes without prompting you again. This command also enables you to change passwords in a batch file.
Note: If you type these commands on a member server or workstation and you don't add the /domain switch, the command will be performed on the local SAM and NOT on the DC SAM.

Posted by on

Microsoft Windows XP Professional SP2 Logo

Related Topics:

Related Questions:

3 Answers

Ok im the system admin on my computer but it keeps telling me that im not system admin


It's a bit of a read

Passwords add a level of security to your computer. When sharing a computer with others, your customized settings, computer programs, and system resources are more secure when you assign a password to your logon name or user account name. The steps to perform this task differ depending on whether your computer is a member of a network domain or is part of a workgroup (or is a stand-alone computer). My computer is on a domain You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure. Open User Accounts in Control Panel. On the Users tab, click the name of the user whose password you want to change, and then click Reset Password. In New password and Confirm new password, type the new password, and then click OK. Notes You can change passwords only for local computer accounts, such as guest, administrator, or accounts you create for your computer. You cannot change your network logon password in User Accounts. To change your own password, press CTRL ALT DELETE and then click Change Password. My computer is not on a domain If no password has been assigned to the user's account, a password will need to be created before it can be changed. For information about creating a password, click Related Topics. The steps to perform this task differ depending on the type of user account you have. If you have a computer administrator account Open User Accounts in Control Panel. Click your account name. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type your new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. If you have a limited account Open User Accounts in Control Panel. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type the new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. Notes A user with a computer administrator account can create and change passwords for all users on the computer. Users with limited accounts can create and change their own passwords, as well as create their own password hints. If a user with a computer administrator account changes the password for another user, that user will lose all EFS-encrypted files, personal certificates, and stored passwords for Web sites or network resources. Notes To open User Accounts, click Start, click Control Panel, and then click User Accounts. For more information about user accounts, click Related Topics. Related Topics



hope this helps


Nov 27, 2010 | Tascam US122MKII USB AudioMidi Interface

5 Answers

forgot my password


Its a bit of a read
Passwords add a level of security to your computer. When sharing a computer with others, your customized settings, computer programs, and system resources are more secure when you assign a password to your logon name or user account name. The steps to perform this task differ depending on whether your computer is a member of a network domain or is part of a workgroup (or is a stand-alone computer). My computer is on a domain You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure. Open User Accounts in Control Panel. On the Users tab, click the name of the user whose password you want to change, and then click Reset Password. In New password and Confirm new password, type the new password, and then click OK. Notes You can change passwords only for local computer accounts, such as guest, administrator, or accounts you create for your computer. You cannot change your network logon password in User Accounts. To change your own password, press CTRL ALT DELETE and then click Change Password. My computer is not on a domain If no password has been assigned to the user's account, a password will need to be created before it can be changed. For information about creating a password, click Related Topics. The steps to perform this task differ depending on the type of user account you have. If you have a computer administrator account Open User Accounts in Control Panel. Click your account name. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type your new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. If you have a limited account Open User Accounts in Control Panel. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type the new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. Notes A user with a computer administrator account can create and change passwords for all users on the computer. Users with limited accounts can create and change their own passwords, as well as create their own password hints. If a user with a computer administrator account changes the password for another user, that user will lose all EFS-encrypted files, personal certificates, and stored passwords for Web sites or network resources. Notes To open User Accounts, click Start, click Control Panel, and then click User Accounts. For more information about user accounts, click Related Topics. Related Topics

hope this helps

Nov 27, 2010 | Computers & Internet

3 Answers

whats does it mean when they say i have to be one of the administrors to use this software in the computer and i have to give a username and pass word which i dont no.


Passwords add a level of security to your computer. When sharing a computer with others, your customized settings, computer programs, and system resources are more secure when you assign a password to your logon name or user account name. The steps to perform this task differ depending on whether your computer is a member of a network domain or is part of a workgroup (or is a stand-alone computer). My computer is on a domain You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure. Open User Accounts in Control Panel. On the Users tab, click the name of the user whose password you want to change, and then click Reset Password. In New password and Confirm new password, type the new password, and then click OK. Notes You can change passwords only for local computer accounts, such as guest, administrator, or accounts you create for your computer. You cannot change your network logon password in User Accounts. To change your own password, press CTRL ALT DELETE and then click Change Password. My computer is not on a domain If no password has been assigned to the user's account, a password will need to be created before it can be changed. For information about creating a password, click Related Topics. The steps to perform this task differ depending on the type of user account you have. If you have a computer administrator account Open User Accounts in Control Panel. Click your account name. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type your new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. If you have a limited account Open User Accounts in Control Panel. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type the new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. Notes A user with a computer administrator account can create and change passwords for all users on the computer. Users with limited accounts can create and change their own passwords, as well as create their own password hints. If a user with a computer administrator account changes the password for another user, that user will lose all EFS-encrypted files, personal certificates, and stored passwords for Web sites or network resources. Notes To open User Accounts, click Start, click Control Panel, and then click User Accounts. For more information about user accounts, click Related Topics. Related Topics

Nov 24, 2010 | Microsoft LifeCam VX-3000 Web Camera

6 Answers

how do i reset it i don't remeber my password


Passwords add a level of security to your computer. When sharing a computer with others, your customized settings, computer programs, and system resources are more secure when you assign a password to your logon name or user account name. The steps to perform this task differ depending on whether your computer is a member of a network domain or is part of a workgroup (or is a stand-alone computer). My computer is on a domain You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure. Open User Accounts in Control Panel. On the Users tab, click the name of the user whose password you want to change, and then click Reset Password. In New password and Confirm new password, type the new password, and then click OK. Notes You can change passwords only for local computer accounts, such as guest, administrator, or accounts you create for your computer. You cannot change your network logon password in User Accounts. To change your own password, press CTRL ALT DELETE and then click Change Password. My computer is not on a domain If no password has been assigned to the user's account, a password will need to be created before it can be changed. For information about creating a password, click Related Topics. The steps to perform this task differ depending on the type of user account you have. If you have a computer administrator account Open User Accounts in Control Panel. Click your account name. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type your new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. If you have a limited account Open User Accounts in Control Panel. Click Change my password. In Type your current password, type your current password. In Type a new password and Type the new password again to confirm, type the new password. You can also enter descriptive or meaningful text in Type a word or phrase to use as a password hint to help you remember your password. Click Change Password. Notes A user with a computer administrator account can create and change passwords for all users on the computer. Users with limited accounts can create and change their own passwords, as well as create their own password hints. If a user with a computer administrator account changes the password for another user, that user will lose all EFS-encrypted files, personal certificates, and stored passwords for Web sites or network resources. Notes To open User Accounts, click Start, click Control Panel, and then click User Accounts. For more information about user accounts, click Related Topics. Related Topics

Nov 09, 2010 | Toshiba Computers & Internet

Not finding what you are looking for?

716 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2658 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18389 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...