1. 程式人生 > >Windows2008 – Task Scheduler – ‘Action “C:WindowsSYSTEM32cmd.exe” with return code 1’

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

scheduler strong ret pear spec tab drop spl oos

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]

Windows2008 – Task Scheduler – ‘Action “C:\Windows\SYSTEM32\cmd.exe” with return code 1’