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

Writing to S-1-5-21-XXXXXX\Software\ ?

I have a program that creates and looks for user specific data in the following registry branch (it does not pay attention to HKEY_CURRENT_USER):

HKEY_USERS\S-1-5-21-XXXXXXXXX-etc\Software\

Is there anyway to write to that key when the software is installed? Also if I can write to that key, will whatever I write apply to ALL / CURRENT USERS of that machine?

Thanks,

Bryan
(2) Replies
Hi,

Copying it to HKEY_current_user should do the trick unless you are actually writing to another user's profile.

You could always use the UserSID Property such as HKEY_USERS\[UserSID]\Software , but that effectively will end up in HKCU for the current user as it is just a copy.

Set a unique HKCU registry entry as the key path for your component and you are all set to support all user installs.

Marco
MarcoHeineck,

THANKS!!! Works great!!!

Bryan