PDA

View Full Version : Error creating registry key



kate1
2007-06-28, 18:31
When I tried to open Spybot it said a registry file was missing and to reinstall.So I tried to but a message comes up saying Error creating registry key:HKEY_CLASSES_ROOT\.disabled
RegCreateKeyEx failed; code 5
Acess is denied.

Clicked retry but the message still came up,ignore didn't make a difference either so I have had to abort.I've checked the HKEY_CLASSES_ROOT permissons and Full Control and Read are both on allow...

??!!

md usa spybot fan
2007-06-28, 20:13
Just guessing:

Since you apparently checked out the permissions on the [HKEY_CLASSES_ROOT] key, the only thing that I can assume is that there may be a problem with the permissions being assigned to new child objects being created under that key.

When checking out permissions for [HKEY CLASSES ROOT], near the bottom of the "Permissions for HKEY CLASSES ROOT" screen there is an "Advanced" button next to "For special permissions or for advanced settings, click Advanced". When you click on that button it brings up an "Advanced Security Settings for HKEY_CLASSES_ROOT" screen. The entries that can be added there determine if the subkeys (children) will/will not inherit the same permissions as the parent. It appears to me that newly created child objects should normally inherit that same permissions as the parent, but if something was altered possibly that is causing the "RegCreateKeyEx failed; code 5" - "Access is denied" problem.

There is a Microsoft article on the subject:
How To Use the Windows XP and Windows Server 2003 Registry Editor Features
http://support.microsoft.com/default.aspx?scid=kb;en-us;310426

kate1
2007-06-29, 01:13
Well nothing is listed under Permissions in advanced settings,but "Inherit from parent the permissions entries that apply to child objects.Include these entries explicitly defined here" is ticked.I read the article that you linked me to,but i'm still a little confused!

md usa spybot fan
2007-06-29, 16:45
kate1:

I assume that you are installing from a computer Administrator account and that is not the cause of the problem.

The only thing that I can do is relate what my system (Windows XP Home) has for permissions on the HKEY CLASSES ROOT key.

When I go into Registry Editor, right click on HKEY CLASSES ROOT and select Permissions the "Permissions for HKEY CLASSES ROOT" screen appears.
If I highlight (select) "Administrators (*********\Administrators)" and then click the "Advanced" button it brings up the "Advanced Security Settings for HKEY_CLASSES_ROOT" screen.
Neither of the following items are checked:
Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here
Replace permission entries on all child objects with entries shown here that apply to child objects
In the top section of that screen under Permission entries, if I highlight (select) "Administrators (*********\Administrators)" and then click the "Edit" button it brings up the "Permission Entry for HKEY CLASSES ROOT" screen.
The "Apply onto" entry indicates "This key and subkeys".
All eleven (11) of the permission entries are checked "Allow".
The item "Apply these permissions to objects and/or containers within this container only" is not checked.

Rosenfeld
2007-06-29, 18:15
Try giving 'everyone' full control and read (that's the only entry I have listed for that key :-)).

If 'everyone' is not showing in the list when you right click on HKEY_CLASSES_ROOT, click permissions, click Add, click Advanced, click find now. It will show a list of alkl possible accounts, select 'everyone', click OK, then set full control and read allow.

its_me_again
2007-07-30, 02:38
Because the registry doesn't allow you to add entries there could be another reason - your registry size reached the maximum. This can be dangerous. Search google on how to increase the size of registry and how to check the current status. Perhaps you should compact it. If you install and uninstall lots of stuff you registry is big. Let us know if this helps.