Naturally, the easiest and simplest way to reset win 10 password is reset it with win 10 password reset disk or use the net user command to reset it. So you should check whether you have a pre-created windows 10 password reset disk, or have another available account who has administrator privilege before you try other solutions to solve this problem.
if you didn't have a windows 10, you can also use Chntpw to reset Windows 10 password.
You can directly check this article:
https://www.tunesbro.com/reset-windows-10-password.htmlStep 2: Create a Bootable Ubuntu Live USB.
2-1: Run the Universal USB Installer and select Ubuntu 10.10.
2-2: Click Browse to select the Ubuntu ISO file.
2-3: Select the USB drive and set the persistent file size. Once all settings are in place, click Create to begin creating a bootable Ubuntu Live USB.
Step 3: Boot Computer from Ubuntu Live USB.
3-1: Press ESC, F2, F10, F9 etc. to reboot PC and enter computer BIOS.
3-2: Set USB/Removable Hard disk as first boot option in the BIOS settings.
3-3: Save the changes and reboot the system from Ubuntu Live USB.
Step 4: Install Chntpw.
4-1: Press Ctrl + Alt + T to open a Terminal window.
4-2: Type sudo apt-get install chntpw and click Enter.
The process of download and installation would go on without further assistance. Once it’s finished and your back at the regular prompt, simply type exit and hit Enter.
Step 5: Reset Windows 7 Password.
5-1: Mount the hard disk partition where Windows is installed in according to access all the removable drives and hard disk partitions from Places menu.
5-2: Mount the drive with Windows folder.
Open all partitions to find the drive with Windows folder. When you find it, make a note of the drive’s label that appears in the menu bar of the file browser.
5-3: Open Applications menu from panel, and select Terminal from Accessories menu.
In Terminal window, enter cd /media command, and then list all mounted media drives with ls command.
5-4: Navigate to drive that contains Windows folder.
5-5: Read Windows user account credentials and make changes to saved passwords with running chntpw tool.
The sudo chntpw SAM command can only make changes to Windows admin account password. If you want to change standard user’s password, use the switch –u followed by correct user account name.
sudo chntpw –u <user account name> SAM
If you’ve changed the user account password, reboot your system, and exit Ubuntu Live USB. If you’ve just reset the admin password, Windows will not prompt you to enter the password. However, if you changed the password, please log in to Windows with new password.