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

时间:2021-04-14 02:26:21

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]