This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/workflow-automation/troubleshooting/when-i-run-a-command-directly-on-the-server-it-works-fine-however-when-run-from-the-command-line-task-type-it-fails.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Workflow automation: Fix command execution issues

Keep in mind that the account your service application pool is running as will need proper administrative rights on the box in order to execute the command regardless of username used in the config.