Issue:
Windows Task Scheduler won't allow you to run a scheduled task that executes to the desktop unless the user assigned to run it is also logged in. I have encountered this with BAT files that were created and added to Task Scheduler. Everyone runs beautifully so long as the user that created them leaves their session on the server open.
If that user logs out I'm faced with a fail message that the process didn't run because the user wasn't logged in.
In some cases, I can re-write the BAT file and add the task directly to the task scheduler in a way that doesn't require a login.
However, there are some tasks - like a VI BAT file to run a VI Job automatically which I don't think I can easily rewrite to not use the Windows desktop.
I'm told that maybe Powershell could do this. In other cases, I think I've seen a utility used to automatically log a Windows User in should the server reboot.
Is there something that I'm overlooking that I could be doing to work around this limitation of BAT file with the task scheduler?
PS - Is there any utility which could send an email nightly to advise of which tasks executed without error and which ones produced an error?
------------------------------
Wayne Schulz - Schulz Consulting - 860-516-8990
------------------------------