nixos-config/images/windows-rescue
2021-11-01 19:30:41 +01:00
..
config.nix reformat 2021-11-01 19:30:41 +01:00
README.md images: add windows-rescue 2019-12-01 17:30:01 +13:00

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.