Browsed by
Category: Windows

How to get the SID of a user in Windows

How to get the SID of a user in Windows

A colleague was trying to modify a user’s registry remotely – specifically a key in their HKey_Current_User (HKCU) hive.  Whilst opening regedit and connecting to the remote system worked without issue, he could not see HKCU.  The solution turned out to be fairly simple.