Currently I have a batch file which is an infinite loop that runs in the background. Task scheduler starts it, and it runs in the background without me needing to be logged in.
However, if kill the process, I can't figure out a way to start this back up in the background.
If I right click and run the task, it opens in a window.
I even found a simple VBScript to run a batch file using vbhide to hide the window. However, using this, I'm unable to log out!
How can I emulate task scheduler behavior without explicitly using task scheduler?