Pedro Assunção

Change windows Administrator password

Recently I had some problems on my windows box and, somehow, I lost the administrator password. While trying to recover it from Linux, I managed to erase my entire partition table information. I thought everything was lost, but Linux (and google)once again came to my rescue:

First, I managed to change the Administrator password using this:

1. sudo apt-get install chntpw
2. Mount the windows partition somewhere (say /media/win)
3. Head to /media/win/windows/system32/config
4. Execute this: chntpw -u administrator SAM.

Then, after performing the stupid dd command that erased my MBR (and in the process deleted my entire partition table information), I managed to recover the partition table by using a command called “testdisk” (google for it ;) ).

Related:

  1. Playing DVDs on ubuntu hardy So it seems that my Dell Latitude D620 could not...
  2. SSH login without password (authorized_keys) I know that a lot of people covered this in...


Categorised as: Uncategorized


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>