After my popular post on resetting Windows XP password earlier (read it here), this is a post on resetting password for Windows 7. There maybe many other ways to do this, but i am listing down here two methods that are typically easier.
Note: Even though there are no known issues, try it at your own risk
Follow below steps:
Note: To reverse the changes you've made, repeat above steps (1 to 5). Type the below command
copy d:\password\utilman.exe d:\windows\system32\utilman.exe
Confirm the overwrite and then restart your computer.
Follow below steps
Warning: messing around in the command prompt can cause system damage!
Note: Even though there are no known issues, try it at your own risk
Method 1: Using Windows 7 installation disc or repair disc
Pre-requisite: In order to run this method, you either need to have Windows 7 installation DVD, or a Windows 7 System Repair disc. If you have a flash drive, you can create a Windows 7 System Repair disk from another computer.Follow below steps:
- Insert either of the disc into your CD/ DVD drive and then restart your computer.
- Click on the Repair your computer link.
- Select Windows 7 from the operating system list and then click the Next button.
- From System Recovery Options, choose Command Prompt.
- With Command Prompt now open, execute the following two commands, in this order:
copy d:\windows\system32\utilman.exe d:\password\
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe - On execution, you will get a prompt to the overwrite, answer with Yes.
- Remove the disc/ flash drive and then restart your computer.
- When the Windows 7 logon screen appears, click the "Ease of Access" icon on the bottom left corner (looks like a blue hand with index finger up)
- Command Prompt will open. Execute the command below, replacing the username and whatever new password you'd like to use:
net user [username] [[password] - Close the Command Prompt window.
- Login with your new password!
Note: To reverse the changes you've made, repeat above steps (1 to 5). Type the below command
copy d:\password\utilman.exe d:\windows\system32\utilman.exe
Confirm the overwrite and then restart your computer.
Method 2: Using Ubuntu CD
Pre-requisite: In case you do not have Windows 7 DVD, you can use Ubuntu. Download it from here.Follow below steps
- Burn the downloaded ISO to DVD. You have an advantage of ability to run the Ubuntu operating system without installing it.
- Insert the Ubuntu DVD in your CD drive and restart your computer and hit enter to boot from CD.
You need to set the boot options to boot from CD/ DVD in case you have not done it earlier. - Once booted, select “Try Ubuntu” and wait for the operating system to load.
- Browse through the Taskbar and click “Places”, select the hard drive you use for windows 7.
- Select the folder “Windows” then click the “system32” folder.
- Under the folder, search for Utilman.exe, right click the file and re-name it as Utilman1.exe.
- Under the same folder, search for cmd.exe. Right click on the file, select "Save a copy", and then re-name the copied file Utilman.exe.
- Remove the CD from the drove and reboot the desktop.
- When Windows is loaded and you are greeted with the login screen, click the icon for “ease of access” at the bottom left. Instead of the ease of access program we will have command prompt.
- In the command prompt type below command.
net user [username] [password]
where username is the account you are trying to log into and password is your new password. - Log in with your new password.
Warning: messing around in the command prompt can cause system damage!