Write HKEY_LOCAL_MACHINE on Windows 7 without administrator privileges

First of all, I understand that this is a dirty situation, but this is not my design, and I'm just trying to help, and for this I need your help.

  • Appendix A is automatically installed through the SMS installer under the administrator account, and not from the user account of the owner of the PC. Appendix A has a registry key defined in HKEY_LOCAL_MACHINEhive.
  • After application A is installed, we want to edit the aforementioned registry key to assign the User folder C:\Users\USER_ID\Documents\(they tell me that we don’t know who the user has and does not have access to USER_ID in step 1).
  • I know all about UAC, the application manifest and requestedExecutionLevel. However, I was told that we cannot expect all users to be in the Administrators group on their machine.
  • The solution should be backward compatible with Windows XP.

I am looking for options to get `C: \ Users \ USER_ID \ Documents \ 'in the HKEY_LOCAL_MACHINE bush in the above conditions.

I found this thread, which could be related to a similar situation, but I still do not quite understand it (so I will give credit to anyone who will explain this better):

I also read something that excludes ClickOnce:

+3
source share
1 answer

, , script , . script , ..period. :

1) RunAs script , script .

2) imo. SMS , .

, SMS , , SMS -. SMS ( ), , , , , , .

!

+3

All Articles