here and here
How to reset the windows password
To reset your Windows password is very easy. What you need is bootable Ubuntu system (ie. USB, CD or anything) and software called
This is step-by-step to reset your Windows password:
- Boot from your bootable device (Ubuntu Live Session) Shutdown your computer and boot up using your bootable system. So you run Ubuntu on Live Session that means you run your system without install it!
- Set your repository Goto
- Install CHNTPW Install from Synaptic Package Manager or use this command on shell:
- Resetting Windows password
- Mount your “Windows installed” device It’s depending on your system, example:
sudo mkdir /media/WINDOWS sudo mount /dev/sda1 /media/WINDOWSOn my system Windows installed on
/dev/sda1and I want to mount it to
/media/WINDOWSthat I’ve created before.
- Goto your Windows system configuration folder Located at
- Cracking the SAM file There a SAM file on Windows
Synaptic Package Manager->
Ubuntu Softwareand check the “Software restricted by copyright or legal
sudo apt-get install chntpw
chntpw SAMAnd if you see the output similar with image below, it’s mean you can crack the SAM file.
Note: I’ve try this on my system and work well! But I’ve never try another choices (2-4) yet, you can try yourself.
How to reset the UBUNTU password
Easy! Just log in root mode. And in Ubuntu this can be done by logging in when system reboot. So we logged in CLI mode. Here's the way, how to reset forgotten Ubuntu password. Check it out!
- Common method You can login with root mode just by pressing ESC button when system starting up. That'll take you to Grub Screen, when you can select mode that you'll be used while booting. If you have double OS or more on your system (dual boot), you don't need to do this step. It's automatically go to Grub Screen when system starting up. Then choose the "recovery mode", usually found right below your default option. Press enter, and at the next screen, choose "drop to root sheel prompt" and you'll login to the system as root :)
- Advanced method On some system, maybe you can't find "recovery mode" on Grub Screen menu. So? You need to do a "little hack" to the Grub Loader. Looks cool right? In fact its very easy :) On Grub Screen menu, select default loader (first choice) and press "E" key that means you'll edit manually that loader. Wow :) On the next screen, find row that contains this word :
ro quiet splashThen replace that with this :
rw init=/bin/bashAfter that, press "CTRL"+"X" (or maybe "B" key on your system, depend to your kernel) to boot the system with "hacked" loader :) Done! You're logged in as root on your system now, and you can do anything you want. Including resetting your password!
Resetting your passwordUse this command to reset your password :
passwd [username]Fill username with username that you want to reset its password. You'll prompt new password twice.
In this step, you're almost done! Now, make sure the change you've made will be written to disk by :
syncReboot your system :
reboot -fYou're done! Your password has been reset, and you can login to your system now :)
I've been using this method on my Ubuntu Lucid system and its work. I hope this post is useful for you all.