title: Windows 10 Task Scheduler: Execute bash script without showing up cmd
body: <p>I have a task on my computer downloading a daily backup from my server. Basically it's:</p>
  
  <pre><code>bash.exe -c "cd /mnt/d/server_backups &amp;&amp; ./download_backup.sh"
  </code></pre>
  
  <p>This does work, however it always pops up the cmd window, which wouldn't actually bother me, if it wasn't because it interrupts whatever I'm doing (gaming, watching a movie, working) and just throws me to desktop.</p>
  
  <p>Changing task to "Run whether user is logged or not" doesn't work because apparently <em>windows session zero</em> (whatever that is) can't initiate calls with bash.</p>
  
  <p>Is there another way to either not show up the cmd window or doing it without the SO deciding on its own that I want to have it main focused and everything else minimized?</p>