I want to change a few settings of a Windows user that I created in my application. If I understand correctly, his "HKEY_CURRENT_USER
" values will be under HKEY_USERS/<sid>/...
. Is this correct? How can I get the sid of the user, if I know the user name and the domain?
Edit: How can I correctly edit the HKCU keys of that user, if I have the sid already?