# To Fix Windows Issues ## reset password * use `sfdisk -l` to list partitions * find the partition which holds `Windows/System32/config` * mount it `mkdir -p /media/sda2; mount /dev/sda2 /media/sda2` * `cd /media/sda2/Windows/System32/config` * list SAM database `chntpw -l SAM` * edit SAM database `chntpw -i SAM` * reboot more details [here](https://opensource.com/article/18/3/how-reset-windows-password-linux).