Re: Registry problem: "Error while deleting key"



On Nov 1, 7:35 pm, "R. McCarty" <PcEngWork-NoSp...@xxxxxxxxxxxxxx>
wrote:
One process for removing Registry keys like you have is to start at the
most indented key/value from the name key and work backwards.

- Name Key <--|
- Sub Key 1 ---|
<--- |
-Sub Key 2 * Start Here and set permissions and delete -|

Otherwise, I'd use a tool to reset the entire Registry Permissions back
to default.http://winonline.blogspot.com/2005/11/reset-entire-registry-permissio...
*I wouldn't do the global reset without an Image or verified backup.

"Robert Colgan" <RobertECol...@xxxxxxxxx> wrote in message

news:1193959492.971525.57940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Nov 1, 6:56 pm, "R. McCarty" <PcEngWork-NoSp...@xxxxxxxxxxxxxx>
wrote:
Boot to Safe Mode and retry the ACL changes/deletion.

"Robert Colgan" <RobertECol...@xxxxxxxxx> wrote in message

news:1193957327.691493.258880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Nov 1, 6:33 pm, "R. McCarty" <PcEngWork-NoSp...@xxxxxxxxxxxxxx>
wrote:
Registry Keys/Values have privileges assigned to them. Certain groups
or individual users may not have "Rights" to modify or delete a key.
To
overcome that you have to Right Click the Key name, Click Permissions
add your login name to the ACL ( Access Control List ) and then grant
yourself full privileges. Some keys/values are locked and only allow
you
to change from Safe Mode.

"Robert Colgan" <RobertECol...@xxxxxxxxx> wrote in message

news:1193955987.234234.172960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi. When trying to uninstall a program, I got an error message
("Error
1402: Could not open key [key...]) etc. After backing up the
registry,
I went into regedit, found the key, and tried to delete it manually.
When I try to open it, I get an "Error while opening key" message,
and
"Error while deleting key" when I try to delete it.
It seems like something is corrupted in the registry, but I'm no
expert there, and I wouldn't want to mess with it, besides not
knowing
where to begin. Can anyone help me out?

The key, if it matters, is:
HKEY_CLASSES_ROOT\CLSID\{97DD9C11-2299-460C-BC4F-177C72FBDB5F}
\Implemented Categories
and also
HKEY_CLASSES_ROOT\CLSID\{97DD9C11-2299-460C-BC4F-177C72FBDB5F}
\Programmable

Thanks, I tried that, but I get an "Unable to save permission
changes...Access is denied" message. (I am using an administrator
account.)
Also, when I click "Advanced" and go to the Owner tab, under Current
Owner it says "Unable to display current owner." Is that significant?

No luck once again; I logged in under Administrator and went to
permissions but it already showed Administrator as having all
privileges. I also went to the Ownership tab under Advanced, and it
displayed the owner as
"S-1-5-21-3287201994-1979570389-645809190-1011"; I was able to change
the owner to GEOFFREY\Administrator and GEOFFREY\Administrators, but I
still couldn't delete it. (GEOFFREY is my computer's name :-) )
Maybe this isn't a permissions problem?

Well now that I'm back out of Safe Mode, it does seem to have done
something -- the name key is still there but the subkeys that I
mentioned before, "Implemented Categories" and "Programmable", and
their contents are both gone. I tried the uninstallation again, but it
still didn't work, and I get the "Unable to delete" error message when
I try to delete the name key. I could try going back into Safe Mode to
delete the name key.

.



Relevant Pages

  • Re: Made a huge registry muck-up
    ... I'm a technician at small computer store, client complains ... After brief search error was missing permissions in registry keys, ... decided the reset the entire HKEY_CLASSES_ROOT's permissions. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Registry problem: "Error while deleting key"
    ... I'd use a tool to reset the entire Registry Permissions back ... >>> Also, when I click "Advanced" and go to the Owner tab, under ... The programmer can specify any hex string they want as the keyname and that can include a NUL character. ...
    (microsoft.public.windowsxp.general)
  • Re: service pack update 2
    ... Assigning the Permissions: ... Add Owner group and give them "Full Control" ... I am to inherit something? ... I got the registry backed up, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Fixing a registry permissions issue?
    ... restore points to use.... ... your registry with a default ... because its permissions were set wrong. ... can do nothing but hit the reset on the tower.... ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: service pack update 2
    ... I went back to run it again and this time checked the "inherit ... permissions from MACHINE\SOFTWARE. ... Add Owner group and give them "Full Control" ... I got the registry backed up, ...
    (microsoft.public.windowsxp.help_and_support)

Loading