当前位置:   article > 正文

Task Scheduler failed to start task for user “xxx“. Additional Data: Error Value: 2147943726._task scheduler failed to start "\restart_sw_servic

task scheduler failed to start "\restart_sw_services" task for user "csisola

我在windowns电脑上配置了一个schedule task job,会定时去执行一个脚本。之前一直没有问题,一天偶然发现数据没有过来,检查日志发现“


Log Name:      Microsoft-Windows-TaskScheduler/Operational
Source:        Microsoft-Windows-TaskScheduler
Date:          2/19/2024 6:00:45 PM
Event ID:      101
Task Category: Task Start Failed
Level:         Error
Keywords:      (1)
User:          SYSTEM
Computer:      XXX
Description:
Task Scheduler failed to start "XXX" task for user "XXX". Additional Data: Error Value: 2147943726.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{de7b24ea-73c8-4a09-985d-5bdadcfa9017}" />
    <EventID>101</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>101</Task>
    <Opcode>101</Opcode>
    <Keywords>0x8000000000000001</Keywords>
    <TimeCreated SystemTime="2024-02-19T10:00:45.529727200Z" />
    <EventRecordID>5957167</EventRecordID>
    <Correlation />
    <Execution ProcessID="2420" ThreadID="1112" />
    <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
    <Computer>XXX</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData Name="TaskStartFailedEvent">
    <Data Name="TaskName">XX</Data>
    <Data Name="UserContext">XXX</Data>
    <Data Name="ResultCode">2147943726</Data>
  </EventData>
</Event>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36

找了半天也没发现有什么错。
最后才想起来前段时间我改了wins 账号的密码,这个schedule task job使用我的windows账号去execute的,记录一下,以免下次再犯。。。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/303908
推荐阅读
相关标签
  

闽ICP备14008679号