Author:
Per Stenebo
Created:
2012-09-12 21:42:38
Modified:
2018-05-21 12:52:23
sv

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 |

| Ubuntu chntpw manpage |

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

 

Comments to page Lösenord