Turn on your computer and press the key on your keyboard to enter the BIOS. This is typically the Del (delete) key. Pre-built systems from major manufacturers may use a function key such as F1, F2, or F10.
If you enter in BIOS there is option for reset fectory setting.
second option is CMOS jumper but be very careful when working on the inside of your computer, as electrostatic discharge can easily destroy sensitive components. Make sure that you are properly grounded before working inside the computer.
Find the CMOS jumper remove the jumper may be labeled CLEAR, CLR, CLEAR CMOS, PSSWRD, or a variety of other labels. Refer to your motherboard's documentation to find the correct jumper. Press and hold the power button on your computer for about 10-15 seconds