Step 1: Restart the computer and press F8 afterwards to start the advanced startup options. Alternatively advanced startup option should be executed automatically after 3 interrupted Windows boots.
Step 2: Pick the Safe Mode and press Enter.
Step 3: Your Windows will load normally but the screen will be completely black, and most applications will be turned off. This is normal, don’t panic. Safe mode has a lot of restrictions.
Step 4: Now click Start> Accessories> then Command Prompt to open it.
Step 5: Enter the following command in the command [rompt to change the password of your account: net user username newpassword, obviously you need to replace username and newpassword)
Step 6: Restart your PC and use this new password you have chosen