China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 09:15
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Smart Use of "DEBUG" to Easily Clear CMOS Password [Repost] DigestI View 5,125 Replies 9
Original Poster Posted 2002-11-06 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
If you forget the password to enter the CMOS setup program, in addition to the method of using jumper shorting on the motherboard to clear it, you can also use the software clearing method. The following will introduce how to clear the CMOS password under DOS.

In DOS, there is an editor, which is DEBUG. It is a very practical tool. The startup method is to enter the command DEBUG at the DOS command prompt, and then you can enter the DEBUG editing interface.

After entering the command in the command prompt state, restart the computer to clear the CMOS password. The following are five command lines to clear the CMOS password.

Method one
-o 70 16
-o 71 16
-q
Method two
-o 70 11
-o 71 ff
-q
Method three
-o 70 10
-o 71 10
-q
Method four
-o 70 23
-o 71 34
-q
Method five
o 70 10
-o 71 ff
-q

We used the two numbers 70 and 71 in methods one, two, three, four, and five (as shown in Table 1) because the data access in CMOS is implemented through these two I/O ports 70 and 71. Port 70H is a byte address port, used to set the address of data in CMOS, and port 71H is used to read and write the content of the data unit in the CMOS address set by port 70H.

In addition to the DEBUG method introduced earlier, some tool software can also be used to clear, such as Pctools 5.0, Biospwds.exe and Comspwd.exe, etc. Here they will not be introduced one by one.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 2 Posted 2005-07-21 14:07 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
c>debug
-o70 11
-o71 14
-q
c>

[ Last edited by defrag on 2005-7-21 at 14:09 ]
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Floor 3 Posted 2005-07-23 18:32 ·  中国 上海 徐汇区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
I have a method, but I cleared the CMOS settings
o 70 e
o 71 0
32位才是DOS未来的希望
个人网志:http://sololand.moe
Floor 4 Posted 2005-12-12 01:11 ·  中国 江西 南昌 电信
新手上路
Credits 13
Posts 7
Joined 2005-12-12 00:04
20-year member
UID 46957
Gender Male
From 广西柳州
Status Offline
There is no command line when starting up in WINXP. And when entering from the safe mode with command line, you also need to enter the password. Then, may I ask how everyone finds the command line before entering the password. Thanks~~
Floor 5 Posted 2005-12-12 15:43 ·  中国 广东 广州 白云区 电信
新手上路
Credits 6
Posts 3
Joined 2005-12-12 15:39
20-year member
UID 46995
Status Offline
Learn, learn~~~~
Floor 6 Posted 2005-12-12 23:09 ·  中国 广东 肇庆 端州区 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
22-year member
UID 6709
Gender Male
Status Offline
Originally posted by lanyu008 at 2005-12-12 01:11 AM:
There is no command line when booting in WINXP.
And when entering from the safe mode with command line, you also need to enter the password. Then, may I ask everyone how to find the command line before entering the password. Thanks~~

Also want to know!
Floor 7 Posted 2005-12-16 15:29 ·  中国 安徽 淮南 电信
银牌会员
★★★
爱DOS但不迷DOS
Credits 1,708
Posts 509
Joined 2004-02-25 00:00
22-year member
UID 18460
Gender Male
From 安徽淮南
Status Offline
Boot from a 98 boot disk or a DOS boot disk to enter the DOS interface. Because it's a CMOS password, it has nothing to do with the system you're using.
°·.∴▍★∴ 我们的泰坦尼克.....
   I l☆ve you!
☆.°·▍▍.☆█☆.°★ 永不会沉没.
◥█▅▅██▅▅██▅▅▅▅███◤
我的主页:http://wphs.ik8.com我的网络硬盘:wphs.ys168.com
Email:wphs@ah163.com QQ:43500498(附加消息:中国DOS联盟)
Floor 8 Posted 2005-12-17 00:02 ·  中国 广东 肇庆 端州区 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
22-year member
UID 6709
Gender Male
Status Offline
If the hard disk was originally set as the first boot device, and you want to boot from a floppy disk or CD-ROM without entering a password (or clearing the CMOS password) to change the BIOS settings, how to do it?
Floor 9 Posted 2005-12-18 20:40 ·  中国 福建 福州 电信
新手上路
Credits 10
Posts 5
Joined 2005-12-18 19:42
20-year member
UID 47415
Gender Male
Status Offline
The notebook is invalid!
Floor 10 Posted 2005-12-20 09:37 ·  中国 上海 长宁区 电信
初级用户
Credits 20
Posts 11
Joined 2005-12-20 09:22
20-year member
UID 47511
Status Offline
Bump, learning
Forum Jump: