title: IRegisteredTask::RunEx not working, and there's no logs?
body: <p>I'm trying to execute a scheduled task with a different user, as stated <a href="https://tyranidslair.blogspot.com/2019/09/the-art-of-becoming-trustedinstaller.html" rel="nofollow noreferrer">in this article</a></p>
  
  <p>I opened powershell in elevated mode (Windows 10 - 1809), and executed the following lines:</p>
  
  <pre><code>$a = New-ScheduledTaskAction -Execute notepad.exe
  Register-ScheduledTask -TaskName 'TestTask' -Action $a
  
  $svc = New-Object -ComObject 'Schedule.Service'
  $svc.Connect()
  
  $user = 'NT SERVICE\TrustedInstaller'
  $folder = $svc.GetFolder('\')
  $task = $folder.GetTask('TestTask')
  $task.RunEx($null, 0, 0, $user)
  </code></pre>
  
  <p>And the output is like this,</p>
  
  <p><a href="https://i.stack.imgur.com/YBy1Q.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YBy1Q.jpg" alt="enter image description here"></a></p>
  
  <p>No error, no notepad.exe created in background either.</p>
  
  <p>What was wrong here?</p>