Resetting Windows password with chntpw

This procedure is done with a Ubuntu live USB inserted and booted on the Windows PC.

DO NOT USE THIS PROCESS IF YOU HAVE BITLOCKER ENCRYPTION AS YOU’LL LOSE ALL YOUR DATA

Windows 10 password reset prerequisite

if you have the fast boot feature (auto partial hibernate on shutdown) you will need to first:

  1. power on
  2. press F8 to discard hibernation data

Reset Windows password with Ubuntu live USB stick

  1. open Ubuntu file manager and in the left panel click on the name of your windows partition. This automatically mounts the partition.
  2. click the Ubuntu start icon and open Software & Updates. Check the multiverse and universe boxes under the Ubuntu software tab, and click the refresh button.
  3. from Terminal

     apt install chntpw
    
     blkid
    

    Note the UUID of the windows partition, it will be a hexadecimal number.

     cd /media/ubuntu/*/Windows/System32/config
    
  4. DO NOT USE THIS PROCESS IF YOU HAVE BITLOCKER ENCRYPTION AS YOU’LL LOSE ALL YOUR DATA

     sudo chntpw SAM -i
    

    choose 1) edit user data and passwords

  5. now you can choose to clear the user’s password option 1
  6. q to save and exit.
  7. Reboot PC into windows and choose a new password for the account