title: Powershell Script converted to EXE via Win-PS2EXE can be run manually but errors out when run as a scheduled task
body: <p>The application moves files from one directory to another, runs an exe, and then moves files from one directory to another.</p>
  
  <p>When I run the application manually it works as expected. </p>
  
  <p>However, when trying to run it as a scheduled task I get the following error: 3762504530</p>
  
  <p><a href="https://i.stack.imgur.com/TCj7d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TCj7d.png" alt="enter image description here"></a></p>
  
  <p>I did some researching and it appears it may have to do with the application trying to run interactively even when there is no user actually logged in. </p>
  
  <p>I have tried to suppress outputs but that didn't seem to have any effect.</p>