CKB:How to manipulate the Registry in a different User Context

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche


Affected to:

Cryptshare for Office 365 and Outlook starting from version 2.3.0

Situation:

You try to do some registry changes but when you start the Registry Editor you are in the Administrator context. This means you will only find the registry entries for the Administrator under Computer\HKEY_CURRENT_USER.

Solution:

To manipulate the Registry of another user on the local machine you first have to determine the users Security Identifier (SID).

Open the Powershell and execute the following command:

wmic useraccount get name,sid

You will get a list with domain users and the corresponding SIDs:

81692566.png

Alternatively, you can use the following command when only want to see the SID of the current user:

whoami /user

You are now able to identify the users SID and will be able to proceed the following steps:

  1. Open your Registry Editor
  2. Open the branch Computer\HKEY_USERS
  3. Search for your identified SID and open the branch
  4. Do your editing
Related issues Add-in is disabled when launching Outlook