[Solved] Unable to locate package chntpw

To overwrite a Windows 7 password, one can boot from a Ubuntu LiveCD and run chntpw.

Unfortunately, installing chntpw is not so easy:

$ sudo apt-get install chntpw
E: Unable to locate package chntpw

Solution #1:

First open the Ubuntu Software Center, in the Edit menu click Software Sources…, and in the window that appears enable universe as seen below:

Ubuntu enable universe

Then run sudo apt-get update.

You should now be able to install chntpw using sudo apt-get install chntpw.

Respondent: Nicolas Raoul

Solution #2:

Do this from the terminal

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install chntpw
Respondent: Tushar Kolhe

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Leave a Reply

Your email address will not be published.