Per Stenebo
2012-09-12 21:42:38
2018-05-21 12:52:23
Lösenord
Byta lösenord
Windows
WinKey+R > control userpasswords2
Start > Search > netplwiz
Återställa lösenord
| Change Your Forgotten Windows Password with the Linux System Rescue CD |
Become root:
sudo su
Enable universe repository:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Update software sources:
apt update
Install chntpw:
apt install chntpw
Mount Windows system partition:
mount /dev/sdc1 /mnt
Change to dir where SAM database are (example for win 7):
cd /mnt/Windows/System32/config
List current users:
chntpw -l SAM
Edit user; reset password, promote user. Replace Administrator with the desired username:
chntpw -u Administrator SAM