Monday, April 02, 2018

RESET WINDOWS USER PWD FROM UBUNTU LINUX

RESET WINDOWS USER PWD FROM UBUNTU LINUX

Boot with Ubuntu Desktop Linux

Software sources - Enable universe repo. Use sudo if required
# add-apt-repository universe
# apt-get update
# apt-get install chntpw -y

**or download chntpw from https://pkgs.org/download/chntpw **

# fdisk -l
(if shown as microsoft basic data, means bitlocker encrypted. unable to reset)

# mkdir /mnt/windows
# ntfs-3g /dev/sda3 /mnt/windows -o force

# ls /mnt/windows
# cd /mnt/windows/Windows/System32/config
# chntpw -l SAM
# chntpw -u Administrator SAM
# chntpw -u romeo SAM
>choose clear pwd, unlock, promote to admin, quit etc
>save yes

Other:
Lightweight Slitaz Linux, install chntpw using tazpkg
http://www.slitaz.org/en/get/flavors.php  (29MB)
Download with browser http://distro.ibiblio.org/slitaz/packages/cooking/chntpw-140201.tazpkg
$ su
Pwd: root
# tazpkg install chnt*.tazpkg
(will require internet to install dependency openssl package)


0 Comments:

Post a Comment

<< Home