Access denied opening registry key
From: Prashanth (Prashanth_at_discussions.microsoft.com)
Date: 06/30/04
- Next message: Victor Pereira: "CreateProcessAsUser Doubt"
- Previous message: Ingrid: "Verify certificate without e-mail address"
- Next in thread: Markus Eßmayr: "Re: Access denied opening registry key"
- Reply: Markus Eßmayr: "Re: Access denied opening registry key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Victor Pereira: "CreateProcessAsUser Doubt"
- Previous message: Ingrid: "Verify certificate without e-mail address"
- Next in thread: Markus Eßmayr: "Re: Access denied opening registry key"
- Reply: Markus Eßmayr: "Re: Access denied opening registry key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|