Resetting a User Account Password
This page includes guides on how to reset user account passwords on Microsoft
Windows (XP/Vista/7), Mac OS X 10.6 and 10.7 and Ubuntu Linux
Note: After each
command, you will need to press enter to confirm it.
This guide uses the
Offline Windows Password & Registry Editor CD which is available
Copies are available in the CD rack behind the helpdesk.
- Boot from the CD in the usual manner
- First screen: “Press
enter to boot....”: Press enter.
- Standard Windows 7
system will show as two partitions, one 100MB and one larger. Select
the larger one (usually number 2). To do this, if it was option 2,
you would type 2:
- What is the
path to the registry directory? - You can almost certainly just press
enter at this point, unless the user has not installed Windows in the
- Next, Select option 1 for [sam system security]
- Select option 1 for
Edit user data and passwords
- Select username:
Default will be Administrator, you do NOT want this. Instead type in
the username of the primary user account.
- This will display the
information about the account. Select option 1 to
clear the password.
- If successful this will
show “Password cleared". Type ! , then enter then q , then enter.
- About the write file(s)
back! Do it?. Type y
- It will give you the
option for New Run, press enter.
- Restart the computer.
Mac OS X 10.3 to 10.6
- Insert the Mac OS X Install disc and restart the
- When you hear the startup tone, press and hold
down the C key until you see the spinning gear.
- When the Language Chooser appears, select your
language and click Continue.Choose Utilities > Reset Password.
- Follow the onscreen instructions to change the
- Quit the Installer and restart your computer while
holding down the mouse button to eject the disc.
- You can change your login keychain password in
Keychain Access to match your new account password to unlock your
keychain when you log in.
Mac OS X 10.7
- Hold “Option” at boot and select the “Recovery” disk at the boot menu
- Wait for “Mac OS X Utilities” menu to appear, indicating that you
are booted into recovery mode. If this does not appear, use the Lion
disk in the cupboard in the Help Desk ENSURING THAT IT IS PLUGGED INTO
AN ETHERNET CONNECTION.
- Click on the “Utilities” menu and select “Terminal”
- Type the following:
- Confirm the user account and then the password change and reboot Mac OS X 10.7 as usual with your new password
contains a through guide to this. Ensure that you follow the step on
remounting the file system, otherwise you will get a token manipulation
change error and it will not reset the password.