The tutorial only for this purpose:
If you really forgot your password or if your windows does not boot normally
and you want to get access to the hard drive
To get into PC, without knowing the password, you need USB flash drive 2 GB or more
Download Ubuntu and Linux Live USB Creator tool,
to create bootable USB flash drive
Install Linux Live USB Creator
Connect your USB to the computer
So, my USB is F Drive
Choose your USB drive
Browse Ubuntu ISO file
The persistence allows you to keep your preferences and data after reboot
Recommended is 300 MB, you can make more, it’s up to you
Format the USB flash drive in FAT32
Last step, Press the icon to create bootable USB
It's may take 20-25 minutes
So, I skip the installation process
Ok, now let’s test it
I’ll make some files on my C drive, just for testing
As you see, my computer is password protected
Let’s boot computer from USB stick
I’m using virtual machine, so it looks different, than normal BIOS options
Common USB BIOS boot options
1. Insert bootable USB Drive in your computer
2. Restart computer
3. On startup, Access the "Boot Menu", by pressing a specific key on your keyboard: usually F12 or Esc,
It depending on your Manufacturer
4. Find and select USB-HDD0 or USB Storage Device
5. Press Enter to resume startup
Choose your language and click on Try Ubuntu
Now let's find the file, that I have created
Under devices you can find all hard drive partitions
Ok, we have access to the hard drive
so, you can backup your files on another USB or removable hard drive
The example was, how to gain access to the hard drive,
if computer has system problems and doesn’t boot normally
Now, How to Reset a Windows Password, if you forgot it
First of all, let me quickly explain this process
So, in windows we can start some tools without login in system,
one of them is "On-screen keyboard" (osk.exe file)
And you also know, we can reset the password by using command prompt (cmd.exe file)
So, our goal is to replace the osk.exe with cmd.exe
You just need to find and rename them
Path of these files is, Windows/System32
Find OSK.EXE and backup it
Find CMD.EXE and rename it to OSK.EXE
Restart your computer, unplug bootable USB and start it normally
Ok, we have gained access to a command prompt, now let's reset the password
Type net user
The following, command displays a list of all user accounts for the local computer
Then, type net user, and username whose password you want to change,
then press Shift + 8, to print star
Hit enter two times, to reset it or type a new password