AUTHORS
CATEGORIES
- Airsoft (2)
- Austin (8)
- Books (9)
- Cooking For Engineers (20)
- Credit Cards (2)
- Current Events (9)
- Deals (4)
- Dining (37)
- Fanpop (4)
- Food (808)
- Games (5)
- Hairy (6)
- Kitchen Gear (7)
- Life (24)
- Miscellaneous (6)
- Movies (15)
- Orthogonal Thought (6)
- Personal Computers (10)
- Photography (158)
- Rant (9)
- Ruby on Rails (2)
- San Francisco (5)
- Soap Making (5)
- Television (11)
- Texas (1)
- Things We Like (11)
- Travel (11)
- Wear or Not (1)
- Web 2.0 (9)
- What I Ate (861)
- Wikipedia (5)
- Windows 10 (3)
- Windows Mobile (1)
- WordPress (1)
ARCHIVE
- September 2018 (1)
- September 2017 (1)
- March 2017 (1)
- September 2016 (2)
- August 2016 (2)
- September 2015 (1)
- November 2014 (1)
- August 2014 (1)
- January 2014 (1)
- September 2013 (1)
- December 2012 (1)
- November 2012 (3)
- September 2012 (1)
- August 2012 (2)
- June 2012 (2)
- February 2012 (1)
- January 2012 (4)
- December 2011 (4)
- October 2011 (2)
- September 2011 (5)
- August 2011 (1)
- July 2011 (2)
- April 2011 (2)
- February 2011 (5)
- January 2011 (12)
- December 2010 (37)
- November 2010 (30)
- October 2010 (25)
- September 2010 (30)
- August 2010 (32)
- July 2010 (34)
- June 2010 (31)
- May 2010 (35)
- April 2010 (35)
- March 2010 (33)
- February 2010 (34)
- January 2010 (33)
- December 2009 (30)
- November 2009 (31)
- October 2009 (30)
- September 2009 (31)
- August 2009 (34)
- July 2009 (34)
- June 2009 (34)
- May 2009 (33)
- April 2009 (32)
- March 2009 (42)
- February 2009 (38)
- January 2009 (57)
- December 2008 (40)
- November 2008 (30)
- October 2008 (33)
- September 2008 (22)
- August 2008 (5)
- July 2008 (5)
- June 2008 (11)
- May 2008 (13)
- April 2008 (10)
- March 2008 (29)
- February 2008 (18)
- January 2008 (28)
- December 2007 (1)
- November 2007 (4)
- October 2007 (5)
- September 2007 (10)
- August 2007 (14)
- July 2007 (10)
- June 2007 (9)
- May 2007 (21)
- April 2007 (21)
How to Reset Your Windows XP or Windows Vista Password If You Forgot It
Posted 21 September, 2010 at 10:02am by Michael Chu(Filed under: Personal Computers)
Recently, I had to help someone get back into their Windows XP PC but had forgotten their password. This is an easy problem to resolve if there is another administrator account on the computer for which they do know the password (just login and use User Profiles to edit the password of the forgetten user's password). The next easiest solution involves using a Password Recovery Disk, which is only available if you made one before losing your password (but most people who forget passwords don't plan on forgetting them).
I couldn't use any of those options, so had to resort to other more roundabout methods. In this case, booting from a Linux CD, logging in as root (to have administrator equivalent access), and editing the password (in my case, just clearing it to no password). Once that was accomplished, I booted into Windows, logged in as administrator (with no password), and changed the password to one they could remember. Luckily, Petter Nordahl-Hagen has put together a relatively small CD Image that helps accomplish just this.
From a different computer (such as the one you are using to read this page), download this ISO image: ZIP (or unzipped ISO image mirrored on this server) and use CD ISO burning software (such as a free one like ISO Recorder or a paid tool like Alcohol 120%) to make a bootable CD.
Insert the bootable CD into the computer with the forgotten password and boot using the CD. You may need to go to BIOS setup and change the boot drive from hard disk to CD-ROM drive.
After booting, the computer should ask:
boot:
Just hit enter.
After a bunch of messages, the display should read something like:
Disks:
Disk /dev/sda: 42.9 GB, 42949672960 bytes
Candidate Windows partitions found:
1 : /dev/sda1 40958MB BOOT
Please select partition by number or
q = quit
d = automatically start disk drivers
m = manually select disk drivers to load
f = fetch additional drivers from floppy / usb
a = show all partitions found
l = show propbable Windows (NTFS) partitions only
Select: [1]
Select the disk that has the Windows partition (in this case - and most cases - it will be 1). Press 1 (or the correct partition number), then Enter.
=========================================================
Step TWO: Select PATH and registry files
=========================================================
What is the path to the registry directory? (relative to windows disk)
[WINDOWS/system32/config] :
Assuming that Windows was installed in the normal (default) directory, just hit Enter.
Select which part of registry to load, use predefined choices
or list the files with space as delimiter
1 - Password reset [sam system security]
2 - RecoveryConsole parameters [software]
q - quit - return to previous
[1] :
Select 1 here.
1 - Edit user data and passwords
2 - Syskey status & change
3 - RecoveryConsole settings
- - -
9 - Registry editor, now with full write support!
q - Quit (you will be asked if there is something to save)
Select 1 here also
| RID -|---------- Username ------------| Admin? |- Lock? --|
| 03e8 | admin | ADMIN | |
| 01f4 | Administrator | ADMIN | dis/lock |
| 01f5 | Guest | | dis/lock |
| 03ea | Michael | ADMIN | *BLANK* |
Select: ! - quit, . - list users, 0x - User with RID (hex)
or simply enter the username to change: [Administrator]
Select a user account to edit - I recommend just using Administrator.
A bunch of additional info will be presented and then:
- - - - User Edit Menu:
1 - Clear (blank) user password
2 - Edit (set new) user password (careful with this on XP or Vista)
3 - Promote user (make user an administrator)
(4 - Unlock and enable user account) [seems unlocked already]
q - Quit editing user, back to user select
Select: [q] >
Select 1
Password cleared!
At the next prompt, you can quit or select another user:
Select: ! - quit, . - list users, 0x - User with RID (hex)
or simply enter the username to change: [Administrator]
Press ! and Enter to quit to main menu.
1 - Edit user data and passwords
2 - Syskey status & change
3 - RecoveryConsole settings
- - -
9 - Registry editor, now with full write support!
q - Quit (you will be asked if there is something to save)
 
What to do? [1] ->
Select q
About to write file(s) back! Do it? [n] :
Press y and enter.
If something went wrong, you can try doing it all over again by pressing y at this prompt:
You can try again if it somehow failed, or you selected wrong
New run? [n] :
Hopefully, everything worked - so just press y and enter.
Remove the CD and reboot the computer (using [Ctrl]-[Alt]-[Delete])
Log into Windows using the account you modified (Administrator). There should be no password.
Congrats!
If you do encounter problems try referring to the complete documentation for the Offline NT Password and Registry editor.
1 comment to How to Reset Your Windows XP or Windows Vista Password If You Forgot It
Mimi, June 22nd, 2011 at 5:51 pm:
-
I am stuck right after the boot messages. I received something like below, it does not show number of partition, so when i click enter it kept asking the same questions and over and over again. I'm trying to reset local admin for windows server 2008.
==========
Disks:
Disk /dev/sda: 42.9 GB, 42949672960 bytesCandidate Windows partitions found:
Please select partition by number or
q = quit
d = automatically start disk drivers
m = manually select disk drivers to load
f = fetch additional drivers from floppy / usb
a = show all partitions found
l = show propbable Windows (NTFS) partitions only
Select: [1]