In Windows 2000, XP, or Vista, how do I set the administrator password?
Note: To set an administrator password, you must be logged into the computer as an administrator.
Note: At Indiana University, the University Information Security Office (UISO) recommends that you normally refrain from running your Windows computer as an administrator. For more, see What is the principle of least privilege?
Universal steps for Windows 2000, XP, or Vista
These steps work in every case as long as you're able to log in as an administrator.
- In Windows Vista, click the
Startbutton, and in the "Start Search" field, enterlusrmgr.msc.In Windows XP or 2000, from the
Startmenu, selectRun:. In the window that opens, typelusrmgr.mscand clickOK. - Double-click the
Usersfolder. On the right, in the list of local users, right-click the account name for the Administrator account, and selectSet Password.Note: On some computers, the account will not be named "Administrator" because the owner or administrator either changed that name or added administrative accounts with different usernames. In either case, you will need to know which of the accounts in the list is the designated Administrator account.
Also be aware that on Windows Vista by default, and in some Windows XP computers by owner or administrator choice, the account named "Administrator" is disabled (this doesn't apply to Windows 2000; built-in accounts cannot be disabled in that operating system). Setting a password does not automatically re-enable the account, but it is useless to change a disabled account's password at all if your goal is to affect currently active administrator accounts. If you do need to enable this account, see In Windows Vista, how do I enable the administrator account?
Alternate methods
You also have the ability to change the administrator password by going into the Control Panel and using the "User Accounts" control. Some users may prefer this method to the universal steps above. Follow the instructions below for your situation and operating system.
If your computer is joined to the IU Active Directory
In Windows XP and Vista, the control panels where you set or change your password display differently depending on whether your computer is joined to ADS or not. Note that in any case, these instructions are for changing passwords for accounts residing directly on your computer, not for Active Directory passwords. IU Active Directory account passwords are always changed through https://passphrase.iu.edu. This holds true even if your Active Directory account is an administrator on the computer.
Windows Vista
- From the
Startmenu, selectControl Panel. If you are not already in Classic View, in the upper left, clickClassic View. Then double-click theUser Accountsicon.
- Under "Make changes to your user account", click
Manage User Accounts. User Account Control may prompt you toContinueorCancel; if this happens, clickContinue.
- From the
Userstab, click the name of the administrative account, and then click theReset Password...button.
- In the text boxes labeled "New password" and "Confirm new
password", enter the password. Click
OK, thenOKagain.
- From the
Startmenu, selectSettings, and thenControl Panel. Double-click theUser Accountsicon.
- From the
Userstab, click the name of the administrative account, and then click theReset Password...button.
- In the text boxes labeled "New password" and "Confirm new
password", enter the password. Click
OKtwice.
On a computer not in a domain
Windows Vista- From the
Startmenu, selectControl Panel. If you are not already in Classic View, in the upper left, clickClassic View. Then double-click theUser Accountsicon.
- You will be in the
Make changes to your user accountwindow.
- If you are logged into the administrator account for which the
password needs changing:
- Select
Change your password. - In the "Current password" field, enter your current password.
- In the "New password" and "Confirm new password" fields, enter the password you want to use from now on.
- As an optional step, you can enter a password hint in the last field.
- Click
Change password.
- Select
- If you are logged into a different account from the one for
which you intend to change the password:
- Select
Manage another account. - From the list that appears, select the account for which you want to change the password.
- Select
Change the password. - In the "Current password" field, enter your current password.
- In the "New password" and "Confirm new password" fields, enter the password you want to use from now on.
- As an optional step, you can enter a password hint in the last field.
- Click
Change password.
- Select
- If you are logged into the administrator account for which the
password needs changing:
- From the
Startmenu, selectControl Panel. In the upper left corner of the window, selectSwitch to Classic View. (If it saysSwitch to Category View, do not click the link. You're already where you need to be). Double-click theUser Accountsicon.
- Click the account name designated as "Computer administrator", and
then click
Change the password.
- In the text boxes labeled "Type a new password:" and "Type the new
password again to confirm:", type the new password. If you want to
leave yourself a password hint, you can enter it in the third field
labeled "Type a word or phrase to use as a password hint:".
- Click
Change Password.
- From the
Startmenu, selectSettings, and thenControl Panel. Double-clickUsers and Passwords.
- Click the account name designated as "Computer administrator",
and then click
Reset Password....
- In the text boxes labeled "Type a new password" and "Type the new
password again to confirm", type the new password. If you want to
leave yourself a password hint, you can enter it in the third field
labeled "Type a word or phrase to use as a password hint".
- Click
Create Password.
Also see:
- How can I have my IU-networked computer scanned for security vulnerabilities?
- Best practices for computer security
- At IUB, if I've forgotten the administrator password for my Windows computer, what can I do?
- After uninstalling the Get Connected application, why does my computer still prompt me to change my password, and how can I make it stop?
- In Windows XP or Vista, how do I create an administrator account?
- At IU, why do I need to know the administrator account on my computer?
Last modified on July 16, 2008.






