[BIOS] Debug command to clear BIOS password

Source: Internet
Author: User

If you forget the BIOS password, you can clear the BIOS password on the motherboard by using a patch cord or by using the software.

Open the windows console, enter the doscommand debug, and enter the debug edit command window. Enter the following command in the command line status:

Method 1
-O 70 16
-O 71 16
-Q
Method 2
-O 70 11
-O 71 ff
-Q
Method 3
-O 70 10
-O 71 10
-Q
Method 4
-O 70 23
-O 71 34
-Q
Method 5
O 70 10
-O 71 ff
-Q

Restart to clear the password.

-O 70-o71 appears in all five methods, because data access in CMOS is implemented through the two I/O Ports 70 and 71. Port 70h is a byte address port used to set the data address in CMOS, while port 71h is used to read and write the data unit content in Port 70h setting the CMOS address.

70
These two commands write 20 to the registers where the RTC address is 21. RTC (Run time
Clock
The nanqiao chip is the clock on the motherboard. It is driven by a small cell-button battery, and the battery is still refreshing a 256-byte small memory, it stores the data in CMOS.

Here, a random value is written to an address, which will lead to verification errors. When BIOS encounters a verification error during boot, it will load default, that is, the default value will be restored, so the password will be gone. similarly, removing the CMOS battery and transient connection will lead to data loss in the RTC memory. The verification is basically wrong and the default value will be restored.

70 is the index port of COMS. When the xxj index number in o 70 and XX is 1, it is modified in seconds using o 71 and yy. However, secondary indexes are often found in the validation area (for example, greater than 11), which leads to a COMS validation error and enables defualt at the next startup.
If this index area is not verified, different machines may be useless.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.