Powershell script does not run via Scheduled Tasks

后端 未结 18 944
南方客
南方客 2020-12-02 23:12

I have a small script on my Domain Controller that is setup to email me via SMTP about the latest Security Event 4740.

The script, when executed manually, will run a

18条回答
  •  感动是毒
    2020-12-02 23:25

    If youu are having this problem under WIN 10 this might solve your problem as it did for me. An update messed up the task scheduler.

    http://answers.microsoft.com/en-us/windows/forum/windows_10-performance/anniversary-update-version-1607-build14393-breaks/d034ab52-5d49-4b92-976a-a1355b5a6e6d?page=2

    This comment solved my problem.

    Your tip about "one-time" tasks works great - it will definitely be sufficient as a workaround until MS fixes the issue. The only advantage to "daily" as far as I can see is that lack of the arbitrary date associated with the run time. It might be confusing to others as to why the job is set to start on X date.

    Trigger settings "Einmal" means "one-time", "Sofort" means "At once"

提交回复
热议问题