How do you determine what user ID a Windows job will run as on Microsoft Windows? |
On Microsoft Windows, the Control-M/Agent operates in 2 modes: Logon User set to "No" or "Yes" This setting is configured using the ctmwincfg utility, or via the Control-M Configuration Manager (CCM) under Agent Properties. "Logon as User" is set to "No" (Default) All jobs will run as the user ID the Control-M/Agent Services run as.
When the Agent is installed the Windows service is set to "LOCAL/SYSTEM" by default but can be set to any valid Windows local or domain user. "Logon as User" is set to "Yes"
All jobs will run as the user defined as the "Run As" field in the job definition.
The User must have an existing Control-M Owner definition. This is set in the Control-M Configuration Manager under Security -> Run As (v9) * Make sure to follow the Control-M/Agent Administrator Guide in setting Windows Roles and Rights for the Service Account and Owner
When changing Logon as User and/or Service account information on Control-M/Agent 8.0 or above make sure all jobs have completed. From the task manager kill any remaining p_ctma* processes. Please see the following short video to explain the above article which can also be found at https://www.youtube.com/watch?v=Q7hiFsAe2Bo
|