How to get the Software Protection task back?

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

  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,508
    261
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pf100

    pf100 MDL Expert

    Oct 22, 2010
    1,476
    2,069
    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

    Feb 19, 2011
    8,976
    32,450
    270
    SFC or Dism /Restore-Health should restore it