Local Security Policies
The local security plicies contain security related parameters of the local system.
Particular security settings are required in order to use the process within other applications e.g. the TwinCAT User Manager.
Open the "Local Securty Settings" with the command secpol.msc /s to configure the required user rights.

The "Policies" categories are listed on the left side. Use "User Rights Assignment" (assigning user rights, step 1) to the configre the required user rights to run a process with different user credentials.
To specify the user on the rights double click on them:
- 2 act as part of the operating system
- 3 adjust memory quotas for a process
- 4 Replace a process level token
These policies should contain the users who should be impersonated and the user who called the application