why windows 7 task scheduler task fails with error 2147942667

后端 未结 7 490
粉色の甜心
粉色の甜心 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:55

    This can happen for more than one reason. In my case this happened due to a permissions issue. The user that the task was running as didn't have permission to write to the logs directory so it failed with this error.

提交回复
热议问题