Windows2008 – Task Scheduler – ‘Action “C:WindowsSYSTEM32cmd.exe” with return code 1’

Remediation 

Edit Task

Let us make the necessary changes, which is to specify the Start folder.

Here are the steps:

  1. Select Task
  2. Right click on the selected task and choose Properties from the drop-down menu
  3. The Task Properties window appears
    • Choose the Actions tab
    • The actions for the task are displayed
  4. Choose the Edit button
  5. The “Edit Action” window appears
    • In our case the “Start-In” folder is empty
    • Please specify the Start-In folder  [script folder path]
原文地址:https://www.cnblogs.com/oskb/p/8945363.html