CyberNotes: Reset a Windows Admin Password (XP or Vista)
The other day I had someone who ran into a big problem that many of us hope to never come across. What happened was the user had forgotten the administrator password for their Windows Vista machine, and had no idea how they could log on. I’ve had people ask how to do this kind of thing in the past, but had never actually looked for a viable solution myself.
I was determined to find a workaround this time, and it had to be one that didn’t involve reinstalling Windows. That’s when I came across the free Trinity Rescue Kit, which turned out to be exactly what the doctor ordered. As you might expect this is a Linux-based password reset tool, and it takes no time at all to put it to work. In fact this works so well that it will make you think twice about the security of your own system!
Here’s what you have to do:
- Download and burn the Trinity Rescue Kit (TRK) ISO image to a CD or DVD.
- Restart your computer, and make sure it boots from the TRK CD/DVD.
- When presented with the TRK menu be sure to select the first option that reads Run Trinity Rescue Kit 3.3 (default):

- TRK will take a minute or so to finish loading, and when it’s done you should be left with a prompt where you can type your commands. Note that Steps 5 and 6 are not needed to change a password, but can be helpful.
- The main command we’ll be working with is
winpass, and for getting started you should typewinpass -lto see a list of users on the machine. When you type that command it will ask you which drive you want the user list retrieved from, and in most cases you’ll want to type the number 1 followed by the Enter key (this selects the primary partition):

- After you’ve selected the partition you’ll be presented with a list of users on the machine along with what accounts have been disabled or locked:

- You should once again be at a prompt, and this time we’re actually going to change or reset a password for one of the accounts on the machine. At the prompt type:
winpass -u Administrator
In this example “Administrator” is the username you want to reset the password for. Replace it with the username you’re working with. - You’ll now be asked which partition you’d like to have analyzed/mounted just like in Step 5, and you’ll likely want to select the first one. After that you can look under the Account Bits section which lets you know whether the user’s password ever expires, if the account is disabled, and more. What you’ll want to focus on, however, is the User Edit Menu that lists the type of operations you can perform on the account. The easiest thing for you would probably be to choose the first option, which will just clear the password on the account:

- That’s all there is to it. After that you should receive a message stating that a backup of the account has been made, and all you have to do now is restart the computer. If you’ve chosen to clear the password the next time you boot up you want to be sure to leave the password blank.
If you look at the options available in Step 8 you’ll also notice that there are other things you can do to accounts on the machine. This includes changing a password, promoting a non-admin user to an administrator, or enabling a disabled account. Once you get the hang of this tool you’ll pretty much be able to give yourself full access to any Windows machine that you can physically get your hands on. Crazy, huh?
Enjoyed the post? Subscribe to our feed to get a daily dose of CyberNet!
Tags: Software, Windows, Computers, Downloads, How To, Password, Windows Vista, Windows XP


Related Posts:
- CyberNotes: Reset a Windows Password
- CyberNotes: Your Week in Review with Sunday’s Summary
- Your Week in Review with Sunday’s Summary
- Firefox 3 Mac Theme for Windows
- CyberNotes: How To Automatically Login To Windows XP



















Looks to be similar to this program I have used several time.
[home.eunet.no]
Works well
Hiren’s BootCD does this to and has a lot more tools to use.
[9down.com]
UBCD has PNorgahl’s software on it, along with a bunch of other useful tools, too.
[ultimatebootcd.com]
Great post — I’ve needed this in the past, and frankly I was unable to find a solution. Eventually remembered the password.
Sorry, but I wish you had the links to Digg or Stumbleupon more clearly available on this article.
Use Ophcrack (Google it). It has an XP and a Vista version as well. It won’t clear your password- it’ll actually tell you the passwords to all the users on the machine.
@Ted Murphy: There is an icon in the footer, the left-most one, that has all the networking links on it – I assume this is to digg/SU the story?
@Anonymous (previous post): Problem with ophcrack is that it requires rainbow tables, which are not as easy to find… unless you know of a better way?
I know this doesn’t “reset” the password and doesn’t work 100% of the time, but if you start XP in safe mode there should be an administrator account (unless it’s been manually deleted) you can log in to without a password. Then just open the control panel, create a new account, restart, login, and copy you’re settings over.
None works with Dell laptops.
Looks like some of you guys have found similar tools to get the job done!
As Schwinn pointed out there is a button in the bottom footer of the article for doing exactly this. Just hover over it with your mouse and you should see all of the links you’re asking for.
@Schwinn
You can download the rainbow table at the SF project page (not in the program page)in [sourceforge.net]
And AFAIK it can only crack password using alpha numeric.
But it still useful if you inherit a system from a sysadmin that “forgot” to tell you his password for the entire system.
A simpler solution is to use PCLoginNow – you download the image, make a bootable disk, boot from it – but instead of command line, it’s a windows style graphical interface – super easy to use, fast, no thinking needed
i forgot my vista admin password and tried to crack it by remembering it. i tried about 30 different passwords and my account got locked. so i started searching online.
1) ophcrack couldnt crack it becoz it can only crack alphanumeric passwords with the tables it has, unless u download more rainbow tables.
2) windows key enterprise also didnt do the job
3)Active@Password Changer turned out not to work for vista inspite of claims to the contrary
4) and now im trying trinity and i hope it works.