...
- For user switching the Agent has to be operated for a user account or service account, not for the system account.
- The credentials of the target user for which a job should be executed are not stored with JobScheduler configuration data. Instead the account that runs the JobScheduler Windows Service stores credentials with the Windows Credential Manager. When a job should be executed then the JobScheduler Agent reads the credentials from the Windows Credential Manager. Reading credentials that have previously been stored using the same account works without the need to specify a password. Therefore the solution is free from the use of passwords.
- A login is performed with the target user credentials and the user's environment is active when executing the job.
Setting the Agent User Account
The user account that is used by a Universal Agent can be set during the installation of the Agent. If an account is not specified here the Agent will run under the system account.
The Windows Services (German: Dienste) application shows the account an Agent is running under in the Log On As (German: Anmelden als) column.
To change the account right-click the Agent in the Windows Services application and select Properties. Then select the Log On tab and This Account and then enter the account name and password.
Credential Manager
The Windows Credential Manager is accessible via its
...