S
Stan Brown
At work I have a customer who has a corrupted registry key.
He can't delete it: after "are you sure?" and "Yes", he gets "Error
deleting key - cannot delete [keyname]".
He can't set permissions: when right-clicking and selecting
"Permissions" he gets "You do not have permission to view the current
permission settings for [keyname], but you can make permission
changes." (!) Clicking OK, he gets the permissions window but the top
half (users and groups) is empty. When he clicks "Add" and adds his
own user ID, copied from a different key, and clicks OK he gets
"unable to modify permissions". (This last message might be
paraphrased; the others are verbatim.) All the other subkeys have
normal-looking permission lists, as does the parent.
The key is one of a group created by software under HKCU, say
HKCU\AMD\4C00
for brevity. AMD and 4C00 are abbreviations, for convenience.
I had him export HKCU\AMD and verified that 4C00 wasn't exported but
the other subkeys were. Then I sent him a .REG file that deletes the
parent, HKCU\AMD. (Our software will recreate the subkeys at install
time.) When he ran the .REG file it deleted all the other subkeys,
not the problem one.
So how can he delete this problem key?
He can't delete it: after "are you sure?" and "Yes", he gets "Error
deleting key - cannot delete [keyname]".
He can't set permissions: when right-clicking and selecting
"Permissions" he gets "You do not have permission to view the current
permission settings for [keyname], but you can make permission
changes." (!) Clicking OK, he gets the permissions window but the top
half (users and groups) is empty. When he clicks "Add" and adds his
own user ID, copied from a different key, and clicks OK he gets
"unable to modify permissions". (This last message might be
paraphrased; the others are verbatim.) All the other subkeys have
normal-looking permission lists, as does the parent.
The key is one of a group created by software under HKCU, say
HKCU\AMD\4C00
for brevity. AMD and 4C00 are abbreviations, for convenience.
I had him export HKCU\AMD and verified that 4C00 wasn't exported but
the other subkeys were. Then I sent him a .REG file that deletes the
parent, HKCU\AMD. (Our software will recreate the subkeys at install
time.) When he ran the .REG file it deleted all the other subkeys,
not the problem one.
So how can he delete this problem key?