This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
windows:reset_windows_password [2014/01/28 13:38] tschulz created |
windows:reset_windows_password [2018/10/31 11:33] tschulz |
||
---|---|---|---|
Line 5: | Line 5: | ||
* [[http://www.sysresccd.org/SystemRescueCd_Homepage|SYSTEMRESCUECD]] | * [[http://www.sysresccd.org/SystemRescueCd_Homepage|SYSTEMRESCUECD]] | ||
- | ===== Mount Windows Volume ===== | + | ===== Offline NT Password and Registry Editor Method ===== |
+ | Boot of the Offline NT Password and Registry Editor cd and **unlock** and **clear** the **administrator** password. | ||
+ | Write files back to the filesystem when asked to. | ||
+ | |||
+ | ===== Remove Hibernation File and Mount RW ===== | ||
+ | <file> | ||
+ | mount -t ntfs-3g -o remove_hiberfile /dev/sdaX /mnt | ||
+ | </file> | ||
+ | |||
+ | ===== System Rescue CD Method ===== | ||
+ | |||
+ | ==== Mount Windows Volume ==== | ||
<file> | <file> | ||
mount.ntfs-3g /dev/sda1 /mnt | mount.ntfs-3g /dev/sda1 /mnt | ||
</file> | </file> | ||
- | ===== Run chntpw ===== | + | ==== Run chntpw ==== |
<file> | <file> | ||
cd /mnt/Windows/system32/config | cd /mnt/Windows/system32/config | ||
chntpw SAM system SECURITY | chntpw SAM system SECURITY | ||
</file> | </file> | ||
- | This will run chntpw for administrator. **Unlock** the account if necessary and/or **clear the password**. | + | This will run chntpw for **administrator**. **Unlock** the account if necessary and/or **clear the password**. |
Answer yes to writing hives to the filesystem. | Answer yes to writing hives to the filesystem. |