Reset / change Windows 7 / Vista / XP password using a Ubuntu CD

So you forgot your Windows password, and want to reset it? No problem. All you need is a Ubuntu CD (download ISO fileĀ here, instructions on how to burn the image to a CD here).

Step 1: Boot from Ubuntu CD

Insert the Ubuntu CD, restart your computer. At the boot screen, select the language and then the first option, “Try Ubuntu without any change to your computer.”

Step 2: install chntpw

chntpw is a Linux utility to (re)set the password of any user that has a valid (local) account

Go to Administration / Software Sources, and make sure the “Community maintained Open Source software (universe)” option is checked. Press “Close”.


You will be prompted to reload the package information. Press “Reload”

Open a terminal (Applications / Accessories / Terminal):

Once the terminal is opened, type the following command in it and press enter:

Step 3: Reset password

Once chntpw is installed, you have to mount the Windows partition. The easiest way to do this is to click the Windows drive in the Places menu (usually the first HDD in the list):

When the Windows drive is opened, make sure to copy the location where the drive was mounted from the address bar, and paste it in the following command:

Now you have the following options:

Reset / change the Administrator password:

Reset / change another user’s password:

Whichever you type, you will be presented with a list of options:

Pressing 1, enter, y and another enter will remove the user’s password, and allow you to restart the computer and logon to Windows.

6 thoughts on “Reset / change Windows 7 / Vista / XP password using a Ubuntu CD

  1. catalin lupu

    Desi am conexiunea la internet-wireless cica nu poate sa-mi faca downloadul de pe internet
    Daca ignor si trec de acest pas nu-mi gaseste cica chntpw sa-l instaleze , evident dupa ce dau comanda cin cmd prompt sudo apt-get install chntpw
    Unde anm gresit?
    Mersi mult

    Reply
  2. Victor Stanciu Post author

    But does your internet connection work? Can you access any websites? Because if not, you will have to download the chntpw package and install it.

    Reply
  3. Pingback: How to recover a login password for windows 7,Windows XP | hulosoft.com

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 class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">