Requested Registry Access is not allowed error in Windows 7

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
I am having an excel add-in and I am aceessing a key in HKLM in registry. It was working fine in Windows XP, but in Windows 7 , I am getting this error -Requested Registry Access is not allowed . Can we give read access to this one folder in HKLM to all users through C# code?
I am reading the installation path from HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeExcelAddins folder. Is there any other way to get the inatllation path ?

Divya

View the full article
 
Back
Top