windows:reset_windows_password_from_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
windows:reset_windows_password_from_linux [2019/12/04 22:46] – removed peter | windows:reset_windows_password_from_linux [2020/07/22 14:53] (current) – old revision restored (2017/04/04 09:53) 92.220.10.100 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Windows - Reset windows password from linux ====== | ||
+ | |||
+ | 1. Put the livecd in the cd/dvd drive and boot your windows machine from the livecd. | ||
+ | |||
+ | |||
+ | 2. Once booted, open the terminal and check for tool named " | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install chntpw | ||
+ | </ | ||
+ | |||
+ | |||
+ | 3. After the tool is ready, mount the windows partition. Use "fdisk -lu" to check which partition should be mounted. | ||
+ | |||
+ | <code bash> | ||
+ | sudo mount /dev/sda1 /mnt | ||
+ | </ | ||
+ | |||
+ | |||
+ | 4. Find the SAM file on the windows partition. | ||
+ | |||
+ | <code bash> | ||
+ | cd / | ||
+ | </ | ||
+ | |||
+ | |||
+ | List all users in the SAM record. | ||
+ | |||
+ | <code bash> | ||
+ | chntpw -l SAM | ||
+ | </ | ||
+ | |||
+ | |||
+ | Interactively edit the user's credentials. | ||
+ | |||
+ | <code bash> | ||
+ | chntpw -i SAM | ||
+ | </ | ||
+ | |||
+ | |||
+ | 5. Follow the wizard of chntpw and clear administrator or any user's password that you want to access. | ||
+ | |||
+ | |||
+ | 6. Save changes and restart machine. | ||
+ | |||
+ | <WRAP info> | ||
+ | Make sure you take out the livecd, otherwise the machine will boot into it instead of windows. | ||
+ | </ | ||
windows/reset_windows_password_from_linux.1575499592.txt.gz · Last modified: 2020/07/15 09:30 (external edit)