Deleting key by merging file

G

Guest

I have a WinXP machine, sp1. I am the administrator.
I want to delete certain registry information in a file to the Windows
Registry.
The content of my file is:
Windows Registry Editor Version 5.0
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\HotKeysCmds]

But it does not work, can help?

However, I can delete the key using regedit.exe GUI.

And I can make the entry value to empty string by having the merging reg
file as following.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"HotKeysCmds"=""

I need to delete the key. Any help?
Thanks in advanced.
Sincerely,
david dot tam at aruplab dot commerical
thanks again.
 
M

Mark V

In microsoft.public.win2000.registry =?Utf-8?B?RGF2aWQgVGFtdXM=?=
wrote:
I have a WinXP machine, sp1. I am the administrator.
I want to delete certain registry information in a file to the
Windows Registry.
The content of my file is:
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Ru
n\HotKeysCmds]

But it does not work, can help?

However, I can delete the key using regedit.exe GUI.

And I can make the entry value to empty string by having the
merging reg file as following.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
] "HotKeysCmds"=""

I need to delete the key. Any help?
Thanks in advanced.
Sincerely,
david dot tam at aruplab dot commerical
thanks again.

Ah ha. So "HotKeyCmds" is a valuename and *not* a key then, right?

======== snip ============
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"HotKeyCmds"=-

======== snip ============
 
D

David Tam

Yes, I think HotKeysCmds is a valueName. The value is "" is fine.
But is it possible to delete the HotKeysCmds valueName?

--
KAI WING (DAVID) TAM
Mark V said:
In microsoft.public.win2000.registry =?Utf-8?B?RGF2aWQgVGFtdXM=?=
wrote:
I have a WinXP machine, sp1. I am the administrator.
I want to delete certain registry information in a file to the
Windows Registry.
The content of my file is:
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Ru
n\HotKeysCmds]

But it does not work, can help?

However, I can delete the key using regedit.exe GUI.

And I can make the entry value to empty string by having the
merging reg file as following.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
] "HotKeysCmds"=""

I need to delete the key. Any help?
Thanks in advanced.
Sincerely,
david dot tam at aruplab dot commerical
thanks again.

Ah ha. So "HotKeyCmds" is a valuename and *not* a key then, right?

======== snip ============
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"HotKeyCmds"=-

======== snip ============
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top