nixos-config/images/windows-rescue
Ingolf Wagner 0f42a99288
🎨 nix fmt
2024-08-29 13:22:51 +07:00
..
config.nix nix fmt 2024-08-29 08:26:04 +07:00
README.md 🎨 nix fmt 2024-08-29 13:22:51 +07: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.