I've been seeing the following error in my Event Viewer for a while and decided to look into it:
Failed to schedule Software Protection service for re-start at 2113-02-08T11:19:03Z. Error Code: 0x80070002.
After much searching I found this thread on Technet that covers deleting and reinstalling the offending scheduled task.
http://social.technet.microsoft.com/Forums/en/winservergen/thread/6f986797-0db9-454d-9979-dbc625f09b82
So, with thanks to Yan Li I was able to stop the error occurring, but I did encounter a different error when attempting to import the task from my backup:
(24,9): Priority
The error message isn't very helpful, but comparing the XML with that of SvcRestartTaskLogon, I noticed that the following section in SvcRestartTask
<RestartOnFailure>
<Priority>3</Priority>
<Priority>PT1M</Priority>
</RestartOnFailure>
in SvcRestartTaskLogon is
<RestartOnFailure>
<Interval>PT1M</Interval>
<Count>3</Count>
</RestartOnFailure>
No comments:
Post a Comment