使用注册表项文件能删除注册表里的值吗?

来源:百度知道 编辑:UC知道 时间:2024/09/23 01:23:29
之前都是使用注册表项(reg)文件往注册表添加内容,但是不知道能不能删除?

在注册表项(reg)文件中添加什么内容便可删除【HKEY_CURRENT_USER\Software\Microsoft\windows\CurrentVersion\Explorer\TrayNotify】中的IconStreams和PastIconStream两项。

在具体键项的前面加一个减号 - ,导入注册表后,即可删除这个键项。
比如:

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Hashes\{a7254a6c-f042-4455-ad7a-15159b21eaf3}]
"LastModified"=hex(b):de,eb,7d,22,46,51,ca,01

这个注册表文件,就是删除HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Hashes\{a7254a6c-f042-4455-ad7a-15159b21eaf3}]
键项下的
"LastModified"=hex(b):de,eb,7d,22,46,51,ca,01

Windows Registry Editor Version 5.00

方法如下,[HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\DeskUpdate\QQPinyin]
"Version"="0.436"

需要删除这个键值,只要改为:
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\DeskUpdate\QQPinyin]
"Version"="0.436"