cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
payaldesai
Level 3

How to give permission to registry/PrgoramFiles folder to standard user in VISTA?

Hi,

I do need some system wide registry entries (for license validation, subscription verification, etc) that need to go in HKLM, and these are written at first run and need to be accessed with each start up of application. Value of registry variable first run is being set at install time. however, this value and some other registry updates are being done at run time.

When UAC is enabled, even if standard user selects "Run as Admin" to launch application and gives admin details, update to registry fails. why? is it because write to registry is denied? (but standard user has got admin privileges anyways now :()


Following links indicating about Access control List (ACL) but I don't know how to use it!!!
http://community.macrovision.com/showthread.php?t=168440 &
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3166777&SiteID=1

I have manifested launch app exe and registration process exe (which does subscriber validation etc..) with "asInvoker" privileges to let it being accessed by standard user after app gets installed.

Can any forum expert help me here to resolve my blocker issue?

Regards,
Payal
Labels (1)
0 Kudos
(2) Replies
tcberry
Level 2

Try specifying highestAvailable instead of asInvoker. The program will run normally for standard users, and will be elevated with admin rights under admin accounts (or when you select "run as admin" I think.)
0 Kudos
payaldesai
Level 3

I have tried "highestAvailable" and "requireAdministrator" both and it works with those too but only by administrator. Ideally standard user also should be able to do subscriber registration process and access the application once product app is installed.

Any other suggestion from anybody?
0 Kudos