本文介绍了是否可以从HKLM \ SYSTEM \ ControlSet00x \ Enum中删除键和数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

特别是,我想删除所有已被删除的COMn端口的痕迹
已卸载,因此当我的软件调用EnumPorts时,它将返回一个列表.
仅当前已实现的那些串行端口.

我尝试过的:

Regedt32,以管理员身份运行.我无法删除,重命名或更改任何内容
在这个部分.典型错误消息:无法删除< key_name> ;:
时出错删除密钥.

我使用RegDelNull进行扫描,但在字符串中未找到任何null.

我将相关部分导出为.REG文件,并根据
对其进行了修改指示,并尝试合并修改后的文件.错误消息
包括句子某些键已由系统或其他进程打开".

因此,也许系统始终会打开Enum键.
这是MSDN关于HKEY_LOCAL_MACHINE的评价:

...它包含保存当前配置数据的子项,包括Plug
和播放信息(Enum分支,其中包含
的完整列表系统上曾经使用过的所有硬件
),网络登录首选项,...

那么有没有办法删除这些东西?我不认为我可以成为唯一的

In particular, I want to delete all traces of COMn ports that have been
uninstalled, so when my software calls EnumPorts, it will return a list
of only those serial ports that are currently implemented.

What I have tried:

Regedt32, run as Administrator. I can''t delete, rename, or change anything
in this section. Typical error message: Cannot delete <key_name>: Error while
deleting key.

I scanned with RegDelNull, and it did not find any nulls in the strings.

I exported the relevant section as a .REG file, modified it according to
directions, and attempted to MERGE the modified file. The error message
included the sentence "Some keys are open by the system or other processes".

So maybe the system always has the Enum keys open.
Here is what MSDN has to say about HKEY_LOCAL_MACHINE:

...It contains subkeys that hold current configuration data, including Plug
and Play information (the Enum branch, which includes a complete list of
all hardware that has ever been on the system
), network logon preferences,...

So is there a way to delete this stuff? I don''t think I can be the only
person in the world who ever wanted to do this.

推荐答案



这篇关于是否可以从HKLM \ SYSTEM \ ControlSet00x \ Enum中删除键和数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 02:59