Hi,
Following is an issue that I am facing:
I have setup an agent job step of type, CmdExec. Following is the command that I am trying to execute:
TYPEPERF -f CSV -o SQL:SQLServerMonitor!Perfmonlog -si 1 -c "\SQLServer:Memory Manager\Total Server Memory (KB)" -sc 1
The job is set to "run as" using a Proxy, which is using a credential that uses a domain account <DomainName>\Administrator
The same domain account is added as a user in the administrators group, where SQL Server and Agent service is running.
The job is failing with following message:
<DomainName>\Administrator. Exiting, please wait... Unknown. Process Exit Code -1073738783. The step failed.
When I am logged into the server using the <DomainName>\Administrator account, the job is successfully executing.
I am aware of a check in Scheduled task that says "Run whether the user is logged in or not". Do we have some thing like that in SQL Server Agent? Or are there any other checks that I need to consider?
Thank you for looking into this...