Task scheduler cannot open batch file when set to run whether user is logged on or not

前端 未结 7 1704
小蘑菇
小蘑菇 2020-12-24 07:46

OS: Windows Server 2008 R2 Enterprise

I am unable to get the Task Scheduler to run .bat files while I am logged off. I have a a production .bat file I want to use, b

相关标签:
7条回答
  • 2020-12-24 08:19

    What work for me was make sure that the path is available.

    i used net use Z: \computername\folder /persistent:yes

    then the xxcopy /s /c /d /e /i /y D:*.* z:\BackupBat

    I notice all my other .bat work fine only the one with the reference to a map folder was the one no running, so that need to be the problem. with these change the bat file runs good.

    0 讨论(0)
提交回复
热议问题