nixos-config/images/windows-rescue
2019-12-20 17:54:26 +13:00
..
config.nix nixfmt: reformat all files 2019-12-20 17:54:26 +13: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.