Occasional Visitor
Posts: 1
Registered: ‎01-10-2017

SCCM Template - Action Failed Microsoft-CreateTask



When running the wizard, it fails on step 6 where it trys to create a Scheduled Task to be setup to execute the

dataload.ps1 script.


Can someone please give me an example of how to set this up manually? it'll save me some time from working it out myself! thanks in advance!!



A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520) --- Action Failed Microsoft-CreateTask --- Error IDSmiley Sadwfcnh2jypmk7qfr)


Of course it'd be great to get to the bottom of the issue and have scoured the other posts and concluded with the following;


  • On Win10 with the latest patches/build
  • I have full permissions to the SQL server and SA rights to the Db’s
  • SQL Db is in full recovery mode
  • Device guard is disabled
  • Also emailed '' in the hope of a solution