Registry rights
Hi, I have got problems with access to registry. I install an application and it tries to define new registry key, but it does not have access, becouse the access rights. Installation fails becouse of ProductException: (error code = 601; message="Access is denied. (5) Error on line 3") When I analysed log file, I found, that the error is due to trying to create new registry key in [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_xxxxxxxxx]. (xxxxxxx - it is application name...) I used regedit to find where is the problem and I found that like an Administrator user I have only access (FULL CONTROL) to ...\CurrentControlSet\ but no more. I tried to add Administrators group with FULL CONTROL permission to security permissions for the whole path, but the system does not allow me to do this. The message from "Windows security" is: "Unable to save permission changes on Enum. Access denied." ... Please can you help me? Where is my problem? I use Windows Server 2008. Petas
December 10th, 2009 2:39pm

Before messing around with registry permissions, try right-clicking the installer for the application and then selecting Run As Administrator.Paul Adare CTO IdentIT Inc. ILM MVP
Free Windows Admin Tool Kit Click here and download it now
December 10th, 2009 8:18pm

Hi Paul, I have already tried it, but with the same problem. I would like to mention that I tried to set up these registry permissions on Windows Server 2003, also XP, ... and there is no problem. Don't you know any differences how to set up registry permissions on Windows Server 2008? I use this in "regedit": Right button -> Permissions... -> Add... -> Administrators, then I choose FULL CONTROL and Apply, OK... and? Access denied... I don't know where is the problem, becouse I can set permissions anywhere else (on that Windows Server 2008). So, how can I add Administrators group with FULL CONTROL permissions to security permissions for this path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\ on Windows Server 2008? I also tried to go through Local Security Policy, but I didn't discover anything. Petas
December 12th, 2009 4:00am

Actually you cannot do this, because you really don't have sufficient permissions to change these permissions. Only NT Authority\System can change permissions on this registry path. I know the only one workaround: to use psexec utility (from sysinternals) to open program under LocalSystem context and change permissions. http://www.sysadmins.lv
Free Windows Admin Tool Kit Click here and download it now
December 12th, 2009 12:52pm

I have tested another solution that seems like works. You need to change owner to administrator account (yourself, not to Administrators group). After that you will be able to change permissions.http://www.sysadmins.lv
December 14th, 2009 10:04am

Thank you very much! When I used psexec utility to run regedit under system account, it was possible to change permissions.
Free Windows Admin Tool Kit Click here and download it now
December 15th, 2009 11:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics