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,732
    313
    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 Duct Tape Coder

    Oct 22, 2010
    2,067
    3,455
    90
    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
    17,241
    90,950
    340
    SFC or Dism /Restore-Health should restore it