Failed to schedule Software Protection service for re-start at 2113-01-12T17:08:03Z. Error Code: 0x80041316 every few seconds.
Can anybody help with this.
February 6th, 2013 4:25pm

Hi,

Could you please tell me how did you create the task schedule?

Try to create a bat file or script to restart Software protection service:

Net stop sppsvc

Net start sppsvc

Then recreate task schedule to see if it works.

The error you can refer:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa383604(v=vs.85).aspx

0x80041316

The task XML contains an unexpected node.

Dose the schedule task contain any xml file

Free Windows Admin Tool Kit Click here and download it now
February 8th, 2013 3:00am

I Did not create the task schedule it from software only.

I run start & stop with no change.

I can't recreate the schedule cause I don't know what created it

License Validation Is one of the xml files that don't work.

Also SvcRestartTask Is the Other one They error the task scheduler.

If I remove them then the error changes To

Failed to schedule Software Protection service for re-start at 2113-01-15T15:08:18Z. Error Code: 0x80070002.

I Hope this helps I am still trying locate the problem. 

Thomas

February 8th, 2013 3:13pm

0x80041316 = SCHED_E_UNEXPECTEDNODE

The File for the scheduled task is damaged.

Delete the file for the Software Protection task from

C:\Windows\System32\Tasks\Microsoft\Windows\SoftwareProtectionPlatform

and extract the file from your Windows DVD:



http://blog.nirsoft.net/2009/09/17/how-to-extract-missing-system-files-from-the-dvd-of-windows-7vista/

Free Windows Admin Tool Kit Click here and download it now
February 8th, 2013 7:44pm

Hi Andre

That Fixed my problem But I need to Change the Two File extracted ( xml ) file and import then with the task scheduler.

I Now Know what happened I refreshed my system and when I did it brought the files in with out the extensions.

Check original files they work fine with the extensions changed.

Thanks Thomas

  • Marked as answer by Tom Mac Friday, February 08, 2013 8:53 PM
February 8th, 2013 8:53pm

nice to hear that my trick worked for you :)
Free Windows Admin Tool Kit Click here and download it now
February 8th, 2013 9:48pm

I am having the same problem, but unfortunately, since I upgraded online to Windows 8 Pro from Windows 7 Home Premium, I do not have an installation DVD nor can I find install.wim anywhere on my system. Any ideas? Thanks.
May 6th, 2013 8:36pm

 Any ideas? Thanks.
Download the 90 day Enterprise Trial ISO, this ISO include a install.wim where you can get the correct files.
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2013 5:19am

Delete the 3 files from C:\Windows\System32\Tasks\Microsoft\Windows\SoftwareProtectionPlatform.

From the Windows DVD or ISO file go to Sources and use 7-ZIP to extract the install.wim file.

Copy the 3 original files from extracted install.wim (Windows\System32\Tasks\Microsoft\Windows\SoftwareProtectionPlatform) to a suitable location and add to each of them the .xml extension.

Import the 3 .xml files in Task Scheduler - Microsoft - Windows - SoftwareProtectionPlatform and restart the system.

Hope it helps!

May 22nd, 2013 5:40pm

you posted what we already know and what we already wrote. So this is nothing new (entropy is zero ;)
Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2013 6:36pm

many thanks,

this info solved my problem!

Cesare

July 18th, 2013 7:13am

This is also one of several errors I get. I seem to remember I got part way though this fix before (got 7-zip and extracted, I think), but the got diverted. But now when I go to install.wim, I can't extrat it - I get Can't open as Archive. Under Properties, it is marked as Read and the attributes can't be changed - Access Denied.

I got as far as this a few minutes ago an everythign froze, so hope it works this time!!

  • Proposed as answer by akermitb Friday, July 17, 2015 5:19 PM
  • Unproposed as answer by akermitb Friday, July 17, 2015 5:19 PM
Free Windows Admin Tool Kit Click here and download it now
December 18th, 2013 2:52pm

OK - I do this, then the bloody thing comes back a few days later (win 8.1). WHY????!!!
December 23rd, 2013 5:56pm

for anyone looking for the xml files, and don't feel like downloading the 1.7gb AIK, then extracting the 3.3gb install.wim file to a folder by mounting with ImageX, then extracting the 3 files and adding the .xml extension, here you go:

SvcRestartTask:

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Source>$(@%systemroot%\system32\sppc.dll,-200)</Source>
    <Author>$(@%systemroot%\system32\sppc.dll,-200)</Author>
    <Version>1.0</Version>
    <Description>$(@%systemroot%\system32\sppc.dll,-201)</Description>
    <URI>\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask</URI>
    <SecurityDescriptor>D:P(A;;FA;;;SY)(A;;FA;;;BA)(A;;FA;;;S-1-5-80-123231216-2592883651-3715271367-3753151631-4175906628)(A;;FR;;;S-1-5-87-2912274048-3994893941-1669128114-1310430903-1263774323)</SecurityDescriptor>
  </RegistrationInfo>
  <Triggers>
    <CalendarTrigger>
      <StartBoundary>2013-08-23T14:50:01Z</StartBoundary>
      <Enabled>true</Enabled>
      <ScheduleByDay>
        <DaysInterval>1</DaysInterval>
      </ScheduleByDay>
    </CalendarTrigger>
  </Triggers>
  <Principals>
    <Principal id="NetworkService">
      <UserId>S-1-5-20</UserId>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>false</AllowHardTerminate>
    <StartWhenAvailable>true</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
    <RestartOnFailure>
      <Interval>PT1M</Interval>
      <Count>3</Count>
    </RestartOnFailure>
  </Settings>
  <Actions Context="NetworkService">
    <ComHandler>
      <ClassId>{B1AEBB5D-EAD9-4476-B375-9C3ED9F32AFC}</ClassId>
      <Data><![CDATA[timer]]></Data>
    </ComHandler>
  </Actions>
</Task>

SvcRestartTaskLogon:

<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <URI>\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTaskLogon</URI>
    <SecurityDescriptor>D:P(A;;FA;;;SY)(A;;FA;;;BA)(A;;FRFW;;;S-1-5-80-123231216-2592883651-3715271367-3753151631-4175906628)(A;;FR;;;S-1-5-4)</SecurityDescriptor>
    <Version>1.0</Version>
    <Source>$(@%systemroot%\system32\sppc.dll,-200)</Source>
    <Author>$(@%systemroot%\system32\sppc.dll,-200)</Author>
    <Description>$(@%systemroot%\system32\sppc.dll,-202)</Description>
  </RegistrationInfo>
  <Triggers>
    <LogonTrigger>
      <Enabled>true</Enabled>
    </LogonTrigger>
  </Triggers>
  <Principals>
    <Principal id="InteractiveUser">
      <GroupId>S-1-5-4</GroupId>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>false</AllowHardTerminate>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
    <RestartOnFailure>
      <Interval>PT1M</Interval>
      <Count>3</Count>
    </RestartOnFailure>
  </Settings>
  <Actions Context="InteractiveUser">
    <ComHandler>
      <ClassId>{b1aebb5d-ead9-4476-b375-9c3ed9f32afc}</ClassId>
      <Data>logon</Data>
    </ComHandler>
  </Actions>
</Task>

SvcRestartTaskNetwork:

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <URI>\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTaskNetwork</URI>
    <SecurityDescriptor>D:P(A;;FA;;;SY)(A;;FA;;;BA)(A;;FRFW;;;S-1-5-80-123231216-2592883651-3715271367-3753151631-4175906628)(A;;FR;;;S-1-5-87-431836887-2321537645-4075769387-3393595759-2187231311)</SecurityDescriptor>
    <Version>1.0</Version>
    <Source>$(@%systemroot%\system32\sppc.dll,-200)</Source>
    <Author>$(@%systemroot%\system32\sppc.dll,-200)</Author>
    <Description>$(@%systemroot%\system32\sppc.dll,-203)</Description>
  </RegistrationInfo>
  <Triggers>
    <EventTrigger>
      <Enabled>true</Enabled>
      <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Microsoft-Windows-NetworkProfile/Operational"&gt;&lt;Select Path="Microsoft-Windows-NetworkProfile/Operational"&gt;*[System[EventID=10000]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
    </EventTrigger>
  </Triggers>
  <Principals>
    <Principal id="NetworkService">
      <UserId>S-1-5-20</UserId>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>false</AllowHardTerminate>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>false</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
    <RestartOnFailure>
      <Interval>PT1M</Interval>
      <Count>3</Count>
    </RestartOnFailure>
  </Settings>
  <Actions Context="NetworkService">
    <ComHandler>
      <ClassId>{b1aebb5d-ead9-4476-b375-9c3ed9f32afc}</ClassId>
      <Data><![CDATA[network]]></Data>
    </ComHandler>
  </Actions>
</Task>


Free Windows Admin Tool Kit Click here and download it now
January 2nd, 2014 11:30pm

I have had this problem a couple of times. Windows 8.1 not modified in any way and updated regularly.  But bot times the culprit was a driver of an oldish HP inkjet printer. Remove printer and the problem went away immediately and back to a clean EventLog.

Adding this comment as I like others tried all these marvellous suggestions only for the issue to come back.

I suggest you search deeper into the services which should start Automatically and fail to do.

I hope this helps

August 20th, 2015 5:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics