Deleting key by merging file

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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 ============
 
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 ============
 
Back
Top