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

Restricted User account HKCU Entries when using "Run As Administrator"

Can anyone help me fix this?

We need to write some HKCU entries and some HKLM entries for our install. This works fine as an administrator.

If we log into a Resticted User account and use "Run As Administrator" to run the installation (or just run the installation from an administrator account), all of the HKCU entries are created for the administrator's account and are missing for the Restricted User's account. So the software can't run.

Is there any way to fix this?
Labels (1)
0 Kudos
(1) Reply
Not applicable

This would be expected behavior as you're running in the context of the administrative user and not the limited user.

You might try using a HKCU registry key as the keypath of the component and authoring an advertised entry point to trigger auto repair to get those keys down.
0 Kudos