ghacks Technology News

Reset Windows Passwords if you cannot login anymore

I had to change my Windows password frequently at my old job which sometimes lead to the situation that I could not remember the new password at the next login. This happened for instance when I changed the password on the last day just before holidays. I had to contact the IT department to reset my password. There is an easier solution for computers with direct access.

I know that a lot of users reinstall Windows if they have forgotten their password because they cannot figure out how to get into the system again. I’m using the Trinity Rescue Kit to reset the Windows password. You actually have the choice between setting it to a blank password or changing it to a new one.

It can be run from a bootable CD, USB device or network over PXE. The bootable CD is my choice and I always keep one around in case of emergency. Just boot from the CD if you cannot login into Windows anymore because it asks for a password that you cannot remember.

You can start once the message “Welcome to Trinity..” appears on the screen. Use the command winpass -l to list all usernames of the system. Now enter winpass -u (for instance winpass -u Martin). This will lead to a series of dialogs, make sure to press n when asked if you want to deactivate Syskey.

You are given a choice to (1) remove the password, (2) set a new password or (3) make the selected user an administrator of the system.

That’s actually just one tool that the Trinity Rescue Disk offers. I could write about other useful ones if you like. Oh, one last remark. The file system is based on Linux which means that you will not see the usual c,d,e drives like you do in Windows. Hda, hdb, hdc are the hard drives connected to your computer and the numbers behind are the partitions of those hard drives. Hda1 for instance means the first partition of the first hard drive which is usually the location of the Windows installation while hdc2 would refer to the second partition of the third hard drive.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Reveal or Reset the Bios Passwords
Windows Password Resetter, Restore or Reset A Windows Account Pass
Create a Password Reset Disk on USB in Windows XP
Audit Windows Passwords With Password Security Scanner
Recover Windows XP Passwords



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Monday March 31, 2008 -
Tags:, , , , ,


Responses so far:

  1. Rarst says:

    Changing (adding\removing\modifying\etc) passwords from offline (booting from another media or putting hdd in another computer) is potentially destructive operation. It may work, may not work and may mess things.

    Can’t say I tried lots of such tools, but few I had seen are highly unreliable.

    Much safer and effective way is cracking password – this requires accessing registry at windows\\system32\\config (usually offline), recovering password hashes (it’s only reading data, no changes required) from it and cracking them with any capable tool. Ophcrack is probably one of the most user friendly (has automatic live cd avaible) and effective (extremely fast).
    http://ophcrack.sourceforge.net/

  2. Dante says:

    Gotta agree with Rarst. Ophcrack is safer. And the perp doesn’t know you’ve messed with its PC, until the search warrant is issued :)

  3. Benóný says:

    I also agree with Rarst. I’ve used Ophcrack a few times myself :)

  4. Manitook says:

    One other thing not covered in the article.
    If the account you are resetting is private you will lose all of the data in it, because it is encrypted with the original password as part of the key. In case of a private account go with Ophcrack as Rarst suggested.
    Also the disk method can be defeated if you use a password/pass phrase over 15 characters long. Over 15 characters and windows can not make LM hash that is removable with Trinity.

  5. ladyR says:

    Trinity crashed my comp. Wad other ways can we retrieve our passwords?

  6. happykaka says:

    http://wiki.e107.org/?title=Forgot_Head_Admin_Password#Solutions_for_recovery_windows_admin_password there is an article about how to reset windows password. It must be helpful for those who have been locked out of computer

  7. Linky Wu says:

    here is the methods I know.

    The first thing which you check if you forget login password. When we install Windows, it automatically creates an account “Administrator” and sets its password to blank. So if you have forget Your user account password then try this:
    Start system and when you See Windows Welcome screen / Login screen, press ctrl+alt+del keys Twice and it’ll show Classic Login box. Now type “Administrator” (without quotes) in Username and leave Password field blank. Now press Enter and you should be able to log in Windows.
    Now you can reset your account password from “Control Panel -> User Accounts”.
    Same thing can be done using Safe Mode. In Safe Mode Windows will show this in-built Administrator account in Login screen.

    Windows XP and further versions also provide another method to recover forgotten Password by using “Reset Disk”. If you created a Password Reset Disk in Past, you can use that disk to reset the password. To know more about It, please visit http://www.resetwindowspassword.com/

  8. sesvn says:

    field blank. Now press Enter and you should be able to log in Windows.
    Now you can reset your account password from “Control Panel -> User Accounts”.
    Same thing can be done usin

  9. rono says:

    Use “konboot” a great soft to bypass the passwoed blockage & log in to any account.

  10. Gonzo says:

    Worked like a charm, THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  11. Anonymous says:

    I can not login

  12. Anddy_2011 says:

    A few days ago , I was confronted with the password problem.

    Finally , my workmate James introduce the Windows password

    Seeker.It help me access windows successfully. It’s official

    site: http://www.passwordseeker.com

  13. syonxu says:

    There are many Windows password reset tools, but I haven’t personally tested them. Windows Password Rescuer 3.0 is a widely spread edition on internet…
    It supports running with CD/DVD/USB, remove the lost or forgotten password and then log in to your computer without any password.As long as you have another PC to install it and burn it to CD/DVD or USB Drive.You also can use Windows Password Rescuer to add a new user with administrator privilege to your Windows when you can not find target user. With this New user account you can and logon your locked computer directly to copy important data from the locked computer if you want to reinstall your Windows system at last.More detailed instruction you can visit :http://www.daossoft.com

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us