Reset Windows password with Linux in under 5 minutesThe simple fact is once you have physical access to a computer all bets are off. This is true for all OS (to some extend) but some are easier to crack than others. I won’t talk about how to protect yourself from this kind of no-nonsense attack on this post, I will leave that for another day but for now lets assume that you have a legitimate reason to reset yours or your friends windows computer.
Prerequisite:You need a linux live CD, preferably Ubuntu live CD. Doesn’t have to be Ubuntu, it can be a custom linux live distro with the right packages (the ones we need) installed. And you need to have the ability to boot from CD. Which should be pretty straight forward.
Step 1:Boot in to your live CD and install
cat /proc/mountsto get the label of your windows HD. In my case:
cd to your media label:
Now cd to to your system folder (windows 7):
Step 3:Change or reset windows admin password by running chntpw:
sudo chntpw SAM
Done in 5 minutes (or so). This should work on all versions of windows since Windows2000.