How to Reset BIOS Supervisor Password with Debug Command

To access the BIOS setup when the machine fails to operate, occasionally a drastic move is required. In older computers with battery-backed RAM, removal of the battery and short circuiting the battery input terminals for a while did the job; in some more modern machines this move only resets the real-time clock (RTC). Some motherboards offer a CMOS-reset jumper or a reset button. In yet other cases, the EEPROM chip has to be desoldered and the data in it manually edited using a programmer. Sometimes it is enough to ground the CLK or DTA line of the I²C (Inter-Integrated Circuit) bus of the EEPROM at the right moment during boot, this requires some precise soldering on SMD parts.

If the machine lets one boot but does not want to let the user into the BIOS setup, because of the BIOS supervisor password one possible recovery is to deliberately "damage" the CMOS checksum by doing direct port writes using DOS debug.exe, corrupting some bytes of the checksum-protected area of the CMOS RAM; at the next boot, the CMOS typically resets its setting to factory defaults.

The Debug command can be executed from booted Windows Command Prompt or from FreeDOS .

1. Install FreeDOS on a USB flash drive using Rufus or UNetbootin.

2. Download the debug.exe tool and save it to the root of your USB flash drive.

3. Boot up the computer with your USB flash drive and type the following commands: (take note that the second and third commands start with the letter O and not the number zero.)

Code:

debug

o 70 2E

o 71 FF

quit


4. Restart your computer by pressing Ctrl + Alt + Del keys together and you should encounter an error message like “CMOS checksum error” which is normal.

You can now access the CMOS setup without entering a password.





Command Prompt

Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows Vista and later versions of Window operating systems type cmd.exe into Start Screen or Start Menu, right-click on Cmd.exe, and open it as an administrator.

At the Windows Command Prompt type the following commands: (take note that the second and third commands start with the letter O and not the number zero.)

Code:

debug

-o 70 10

-o 71 aa

-q


How to Reset BIOS Supervisor Password with Debug Command 1MbQb4o

That will write to CMOS (Offset 10h) with the value 0AAh.

Restart your computer. You can now access the CMOS setup without entering a password.

    Warning
Debug command can damage your computer and make it non bootable i will not be held responsible for any damage cause to your computer.

 
VirusTotal Scan Result for Debug.exe tool


How to Reset the BIOS Password for Laptops