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-22 13:40
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Editing the registry under DOS View 5,727 Replies 32
Original Poster Posted 2004-07-23 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
Hello everyone!

I'm a newbie!

There are three keys in my registry that can't be deleted:

HKEY_Local_Machine\System\WPA\Key-

HKEY_Local_Machine\System\WPA\Key-cdd**

HKEY_Local_Machine\System\WPA\Key-c*******

The asterisks represent letters or numbers!

I want to delete them like this:

Boot from a 98 boot disk into DOS, that is, not enter XP at all, and then delete them under DOS. Is this okay?

How to edit the registry under DOS? I sincerely ask for help!

Thank you!
Floor 2 Posted 2004-07-23 00:00 ·  中国 广东 广州 联通
中级用户
★★
Credits 378
Posts 88
Joined 2004-05-05 00:00
22-year member
UID 23815
Gender Male
Status Offline
Haha! I thought only I discovered this loophole, didn't expect... ...This is a backdoor that Lao Gai left for us poor people!

Copy out the system, go back to XP for easier editing.
www.51ct.net
Floor 3 Posted 2004-07-23 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
Thanks! Can you be more detailed? I added it when I was creating the cd-key myself, and as a result, it can't be deleted! May I ask how you edited it. Did it succeed? I'm a newbie, please give me some advice! My QQ is: 65506119, E-MAIL: cheekov@163.com. Thanks a lot!
Floor 4 Posted 2004-07-23 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
What does "copy out the system" refer to?
Floor 5 Posted 2004-07-23 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
The registry of XP is actually composed of multiple files. These files are generally in the %windir%\system32\config directory, including default, sam, software, system, security, and %userprofile%ntuser.dat, etc. In the specific use process, the registry content in these files will be mounted under a certain subdirectory of the registry root directory. For example, system will be mounted under HKLM\System (this is a bit like the Mount operation in Unix). The reason why you can't delete a certain item is that your permissions are insufficient. The meaning of "stubbornly refusing to mend one's ways" is to let you copy the system file out to another place under DOS, then return to XP to mount the copied system file under another directory of the registry. For example, you can mount it under HKLM\sys. The specific command should be like this: reg load hklm\sys x:\system. Then you can enter the Registry Editor to operate on hklm\sys, delete the key values you want to delete, and then use the command: reg unload hklm\sys. At this time, your x:\system has already been the system with the things you want to delete removed. Then return to DOS and use this system to overwrite the system in the system32\config directory. You have achieved your goal.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 6 Posted 2004-07-23 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
The registry of XP is actually composed of multiple files. These files are generally in the %windir%\system32\config directory, including default, sam, software, system, security, and %userprofile%ntuser.dat, etc. In the specific use process, the registry content in these files will be mounted to a certain subdirectory under the root directory of the registry. For example, system will be mounted under HKLM\System (this is a bit like the Mount operation in Unix). The reason why you can't delete a certain item is that your permission is not enough. The meaning of "stubbornly refusing to mend one's ways" is to let you copy the system file out to another place under DOS, then return to XP and mount the copied system file to another directory of the registry. For example, you can mount it under HKLM\sys. The specific command should be like this: reg load hklm\sys x:\system Then you can enter the Registry Editor to operate on hklm\sys, delete the key values you want to delete, and then use the command: reg unload hklm\sys At this time, your x:\system has already been the system with the things you want to delete removed. Then return to DOS and use this system to overwrite the system in the system32\config directory. You have achieved your goal.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 7 Posted 2004-07-23 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
There is a problem with forum access, and I accidentally posted twice. Sorry. I don't know if this method is correct, and the standard answer is provided by the unrepentant.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 8 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
hi,Climbing,
Sorry to bother you again. Because sometimes I can't log in to the forum, so I'm writing this email to you! I'm very happy to see your reply to me on dos.e-tone.cn, but there are still many things I don't understand, so I sincerely ask you to give me some more guidance! 1. About editing under DOS--
It refers to:
Is it opening the DOS environment by selecting "command prompt" from the submenu of "start" in the already running XP environment,
Or does it refer to pressing F9 before the XP login screen appears after booting, selecting the mode to start XP, then booting from the 98 boot disk in the CD-ROM, A:\, and then entering c:\ 2. My attempt--
I tried the following command with the 98 boot disk
regedit /e test.reg HKEY-LOCAL-MACHINE\SYSTEM\WPA
But the prompt I got was:
bad command,
When I enter DOS from the first situation in 1, that is, from the XP environment, the above command is effective, but the command to import the key value
regedit test.reg is invalid. Best regards
chee
Floor 9 Posted 2004-07-24 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Among the methods I described above, except for copying files using a pure DOS environment (such as the DOS environment of Windows 98), the others are all operated in the command line mode of XP and the regedit program. But when copying system files in a pure DOS environment, it is best that your XP system partition is not NTFS, otherwise you may need the support of NTFS for DOS. I think the previous instructions I have written are very clear, just follow the steps. If any step is not clear, raise it again.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 10 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
3. In DOS, copy the system file to another place. Does the system file here refer to: C:\WINDOWS\system32\config\SYSTEM? Is it only possible to copy it to a virtual CD-ROM? Can I copy it to other partitions except the C partition?
4. Back to XP, mount the copied system file to another directory in the registry. Does it mean: I need to create a directory hklm\sys in the registry first, then use the command reg load hklm\sys x:\system, and the running environment of this command is the first situation in 1.
Floor 11 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
Sorry, I said unnecessary words!
Floor 12 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
I boot from the CD, enter the 98 boot disk, change the drive letter to c:\, type the commands reg load hklm\sy h:\system, and reg HKEY-LOCAL-MACHINE\SYTEM H:\SYSTEM, and get the prompt "bad command or prompt". My PC has a h partition. What should I do?
Floor 13 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
My operations are as follows: restart PC--enter 98 boot disk--c:\Windows\System32\Config>copy SYSTEM h:\ Prompt: 1 file successfully copied. Restart PC--enter XP-DOS--reg load HKEY_LOCAL_MACHINE\sys h:\SYSTEM Prompt: the operation completed successfully. Continue in XP's DOS--reg unload HKEY_LOCAL_MACHINE\sys Prompt: access is denied! Please take a look again! Thank you! bow
Floor 14 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
I boot XP in normal mode, and at the XP command line, I type replace h:\SYSTEM c:\WINDOWS\system32\config and get the prompt: extended error 32???climbing Where are you?
Floor 15 Posted 2004-07-24 00:00 ·  中国 四川 成都 鹏博士宽带
初级用户
Credits 142
Posts 18
Joined 2004-07-23 00:00
21-year member
UID 28840
Gender Male
Status Offline
I started XP in safe mode, and when I entered replace h:\SYSTEM c:\WINDOWS\system32\config in the command line of XP, it prompted: extended error 32??? I used the 98 boot disk, and when I entered replace h:\SYSTEM c:\WINDOWS\system32\config in the command line, it prompted: bad command or file name???
Forum Jump: