nixos-config/images/windows-rescue/README.md

15 lines
419 B
Markdown
Raw Normal View History

2019-12-01 05:30:01 +01:00
# To Fix Windows Issues
## reset password
2023-07-01 00:20:03 +02:00
- 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
2019-12-01 05:30:01 +01:00
2024-08-29 08:22:51 +02:00
more details
[here](https://opensource.com/article/18/3/how-reset-windows-password-linux).