User permissions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have Windows XP Professional running on my PC.

I have recently tried to install a game that requires a .dll file to be
registered, however the game's install is unable to do so. I tried
registering manually using the command 'regsvr32 egameencrypt.dll' (NB: the
dll's name is egameencrypt.dll and is located in C:\WINDOWS\SYSTEM32\) The
following error message was returned:

'dllRegisterServer failed in egameencrypt.dll failed

return code was 0x80020009'

I believe this error means that the user account has insufficient
permissions to register the .dll. The problem is that all the accounts on my
PC are set to 'System Administrator' in Control Panel > Users, and even when
I try registering the .dll from the login 'administrator' it still doesn't
work.

It seems that something has gone wrong with my PC's management of the user
details. I also had a similar problem with an antispyware program that
needed access to the registry, however permission (even for Admin accounts)
was again denied.
 
0x80070005 is the Return code for not having administrative credentials.

Looks like 0x80020009 is a generic error.

If it is a permission problem...

HKEY_CLASSES_ROOT is the key that you want.

Try this...
Reset the registry permissions
As soon as you have found the registry subkey that has the incorrect
permissions, update the permissions for that subkey.

To update the permissions of the registry subkey, follow these steps:
a. Click Start, click Run, type regedit and then click OK to start
Registry Editor.
b. Locate and right-click HKEY_CLASSES_ROOT:
and then click Permissions.
c. Under Group or user names, click Administrators.
d. Under Permissions for Administrators, make sure that the Allow check box
for the following entries is selected:
* Full Control
* Read
e. Click Apply and then click OK.
f. On the File menu, click Exit to quit Registry Editor.

Now try to register egameencrypt.dll again.

To assign permissions to a registry key
http://www.microsoft.com/resources/...xp/all/proddocs/en-us/regedit_permit_key.mspx

To assign special access to a registry key
http://www.microsoft.com/resources/...ll/proddocs/en-us/regedit_assign_specacc.mspx

To grant Full Control of a registry key
http://www.microsoft.com/resources/.../xp/all/proddocs/en-us/regedit_yield_own.mspx

To add users or groups to the audit list
http://www.microsoft.com/resources/...proddocs/en-us/regedit_audit_key_adduser.mspx

To add users or groups to the Permissions list
http://www.microsoft.com/resources/...roddocs/en-us/regedit_permit_key_adduser.mspx

To remove a user or group from the Permissions list
http://www.microsoft.com/resources/...proddocs/en-us/regedit_permit_key_remove.mspx

To take ownership of a registry key
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/regedit_take_own.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Thanks for your help.

I have followed your instructions, however the problem still exists. In the
Groups or user names box there was a group named Everyone with Full Control
and Read set to allow. When adding Administrators the group wasn't there to
be selected, so I just typed in the word Administrators in the username /
group box. Is that correct?
 
Did you use the Add button? Did you double check the permissions on
HKEY_CLASSES_ROOT after closing and then reopening regedit?

To add users or groups to the Permissions list
1. Open Registry Editor

2. Click the key whose Permissions list you want to change.

3. On the Edit menu, click Permissions, and then click Add.

4. In the Select Users, Computers, or Groups dialog box, in Locations, click
the computer or domain of the users and groups you want to view.

5. Click the name of the user or group, click Add, and then click OK.

6. In the Permissions dialog box, under Permissions for name, assign a type
of access to the selected user or group as follows:

• To grant the user permission to read the key contents but not to save any
changes made to it, select the Allow check box for Read.

• To grant the user permission to open, edit, and take ownership of the
selected key, select the Allow check box for Full Control.

Caution
• Incorrectly editing the registry may severely damage your system. Before
making changes to the registry, you should back up any valued data on your
computer.

Note
• To open Registry Editor, click Start, click Run, type , and then click OK.

• If the check boxes under Permissions are shaded, the key has inherited
permissions from the parent object key.

• To allow permissions assigned to a parent key to apply to its subkeys
also, click Advanced, and select the Allow inheritable permissions from
parent to propagate to this object check box.
• In the Select Users, Computers, or Groups dialog box, if you type the
name, rather than selecting it, click Check Names before clicking OK
from...
http://www.microsoft.com/resources/...n-us/regedit_permit_key_adduser.mspx?mfr=true

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Hi,

You can also do the following to resolve this issue.

Restore file and registry security permissions to a known state.

For Windows XP users:

Download and unzip a small utility called Repair Permissions from http://djlizard.net/software/Repair Permissions.zip
Locate the unzipped folder, and double-click the !RUNME file.
The command prompt window will now open and will begin to restore the file and registry permissions to a known state, please be patient as the command can take some time to complete.
Once the command has completed, try to register a dll file again.

For Windows Vista/Windows 7 users:

Click Start>All Programs>Accessories, then right-click on “Command Prompt” and select “Run as Administrator”
Type in the following command exactly as you see it and press ENTER.
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
Wait for the command to complete, it can take some time so please be patient.
Once the command has completed, try to register a dll file again.
 
Back
Top