why windows 7 task scheduler task fails with error 2147942667

后端 未结 7 627
粉色の甜心
粉色の甜心 2021-01-30 01:38

I am facing a strange problem. I have scheduled a task to lauch a batch file. When I run the task with option Run only when user is logged on everything works fine.

7条回答
  •  無奈伤痛
    2021-01-30 01:46

    I had the same problem, on Windows7.

    I was getting error 2147942667 and a report of being unable to run c:\windows\system32\CMD.EXE. I tried with and without double quotes in the Script and Start-in and it made no difference. Then I tried replacing all path references to mapped network drives and with UNC references (\Server1\Sharexx\my_scripts\run_this.cmd) and that fixed it for me. Pat.

提交回复
热议问题