Access denied opening registry key

From: Prashanth (Prashanth_at_discussions.microsoft.com)
Date: 06/30/04


Date: Wed, 30 Jun 2004 06:34:02 -0700

Hi all,

I am using "RegCreateKeyEx" for opening the registry key with security descriptors.
I am using KEY_READ | KEY_WRITE | WRITE_DAC access rights with "RegCreateKeyEx". I also set SECURITY_ATTRIBUTES with KEY_ALL_ACCESS attribute. Still I am getting error number 5(access denied) while opening the registry key. When I saw manually right clicking on that key, under permission I find only special permission is set. Full control and read check boxes are not set. But I had given KEY_ALL_ACCESS in the SECURITY_ATTRIBUTES.

Can anybody please tell me how do I resolve this problem ?

Regards
Prashanth



Relevant Pages

  • Re: Unable to modify word Options
    ... Thanks very much for taking your time to resolve my problem. ... I need to update the 'Add-Ins' selection to ... the quick access toolbar and I have full access to all selections in the ... What happened is damage to a registry key in the Administrator's profile. ...
    (microsoft.public.word.application.errors)
  • Re: Detecting sandbox mode in VBA?
    ... there is one more key for macro security - to set it to Low - you have to set this key: ... Best regards, ... Alex Dybenko (MVP) ... me the registry key on his computer is 1 or 3 but the 'unsafe' expressions ...
    (microsoft.public.access.modulesdaovba)
  • Re: Windows Mail Problem
    ... Broadband internet access ... I am trying to resolve a problem with Outlook Express with regards to ...
    (microsoft.public.windowsxp.general)
  • Re: Run Key
    ... I copied a registry key, ... > I created a custom component, which includes the Winlogger files (They ... >> You must contact your distributor to get the key. ... >> Best Regards, ...
    (microsoft.public.windowsxp.embedded)
  • Re: SPS2003 Alerts
    ... Managed to resolve this issue ... You need to apply to Microsoft for the Windows 2003 Hotfix 834859. ... Regards ... Rob ...
    (microsoft.public.sharepoint.portalserver)