How to get the Software Protection task back?

Discussion in 'Windows 10' started by MonarchX, Apr 2, 2019.

  1. MonarchX

    MonarchX MDL Expert

    Joined:
    May 5, 2007
    Messages:
    1,732
    Likes Received:
    310
    Trophy Points:
    60
    I accidentally removed it entirely instead of just disabling it. It's the self-restarting task from that set of 3 or 4 tasks related to Software Protection. Can this task be restored or re-created? Uploaded perhaps? I'm on Win10 1809 LTSC.

    EDIT: I am not sure whether this task is even necessary. I think it only restart the Software Protection service, which is set to Automatic and runs in the background.
     
  2. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    You can back up tasks by exporting them as xml before you delete them. Then you can import it (them) back if you make a mistake.
    I'm guessing you're talking about one of the "\Microsoft\Windows\SoftwareProtectionPlatform" tasks and I have 3:
    SvcRestartTask
    SvcRestartTaskLogon
    SvcRestartTaskNetwork
    If you provide the exact name and location of the task you need I'm sure somebody will post the xml you need to restore the task.
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    SFC or Dism /Restore-Health should restore it