nixos-config/images/windows-rescue/README.md
Ingolf Wagner 0f42a99288
🎨 nix fmt
2024-08-29 13:22:51 +07:00

419 B

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.