This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Windows 7 Access is denied writing to LM Registry
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2010
11:50 AM
Windows 7 Access is denied writing to LM Registry
My install is MSI / Windows 7.
I am writing to the registry (local Machine) but I am getting an error -2147024891 "Access is Denied". I am logged in as user "sqa".
User, sqa, is part of the "administrator" group type. So if I open the registry via regedit, I can manually add a key in LM while logged on as "sqa". I am wondering why the install is getting an "Access is Denied" when trying to create the key.
szKey = "SOFTWARE\\ABC\\Properties";
SOFTWARE already exists with permissions
"admin" full priv, "Users" have read only.
I changed "Users" to full priv and the install created the reg keys. Doesn't make sense it should have worked without me changing "users" permissions to full control because user "sqa" is part of admin group type. XP work fine without any changes.
does the install run as a different user under Windows 7?
I am writing to the registry (local Machine) but I am getting an error -2147024891 "Access is Denied". I am logged in as user "sqa".
User, sqa, is part of the "administrator" group type. So if I open the registry via regedit, I can manually add a key in LM while logged on as "sqa". I am wondering why the install is getting an "Access is Denied" when trying to create the key.
szKey = "SOFTWARE\\ABC\\Properties";
SOFTWARE already exists with permissions
"admin" full priv, "Users" have read only.
I changed "Users" to full priv and the install created the reg keys. Doesn't make sense it should have worked without me changing "users" permissions to full control because user "sqa" is part of admin group type. XP work fine without any changes.
does the install run as a different user under Windows 7?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2010
01:02 PM
I think I found my problem.
User "sqa" is part of the admin group soif I highlight the setup.exe and right mouse click, there is an option to "Run as Administrator". When I use that option, my registry additions to LM works.
Although I see them in LM\Software\Wow6432Node\... instead of
LM\Software\...
User "sqa" is part of the admin group soif I highlight the setup.exe and right mouse click, there is an option to "Run as Administrator". When I use that option, my registry additions to LM works.
Although I see them in LM\Software\Wow6432Node\... instead of
LM\Software\...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2010
02:01 PM
That is correct for a 32 bit application on a 64 bit OS
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)