cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Masa_Doi
Level 2

Setting Registry Access Rights on 64 bit Windows

Hello all,

I’m installing a 64 bit package.

My installer correctly creates the 64 bit registry entry under HKLM\Software\\ on Windows7 x64.

However, when the installer sets the registry access rights at ISLockPermissionsInstall, it queries the registry under HKLM\Software\Wow6432Node\\. And it reports the error log as below.

> Failed to obtain existing security descriptor, last error: 0x00000002

I have disabled the Registry Reflection option, but it doesn’t work.

How can I set the 64 bit package to grant the access rights to HKLM\Software\\?

Thanks,
Masa
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

There is currently a limitation in the ISLockPermissions and SetObjectPermissions functionality that will prevent permissions from being applied to 64-bit system resources (either 64-bit registry or files in C:\Windows\System32 on a 64-bit machine). Work order number IOA-000056378 is logged to track this issue.
0 Kudos
palanisamy
Level 7

Hi joshstechnij,

I am also facing the same issue in my application during on Windows 2008 64-bit OS
0 Kudos