中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-10 15:59
47,811 topics / 349,897 posts / today 0 new / 48,255 members
DOS疑难解答 & 问题讨论 (解答室) » Editing the registry under DOS
Printable Version  6,046 / 32
Floor1 chee Posted 2004-07-23 00:00
初级用户 Posts 18 Credits 142
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!
Floor2 死性不改 Posted 2004-07-23 00:00
中级用户 Posts 88 Credits 378
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.
Floor3 chee Posted 2004-07-23 00:00
初级用户 Posts 18 Credits 142
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!
Floor4 chee Posted 2004-07-23 00:00
初级用户 Posts 18 Credits 142
What does "copy out the system" refer to?
Floor5 Climbing Posted 2004-07-23 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor6 Climbing Posted 2004-07-23 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor7 Climbing Posted 2004-07-23 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor8 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
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
Floor9 Climbing Posted 2004-07-24 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor10 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
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.
Floor11 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
Sorry, I said unnecessary words!
Floor12 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
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?
Floor13 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
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
Floor14 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
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?
Floor15 chee Posted 2004-07-24 00:00
初级用户 Posts 18 Credits 142
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???
1 2 3  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023