I've scheduled a task that run's a BAT file from a UNC path.
Path = \\wisdomserver\deployment\
Right now this is what the BAT file is:
Echo is this running?
The trigger in Task Scheduler is "at log on of any user." And when a user logs onto the machine, it seems to run, but generates a result of 0x1. I think it's failing to run as it never stops at the pause.
If I right-click on the task and run, it does exactly what it's supposed to do.
I do see something flicker on the screen when I log in, but I don't see anything in the history. The history tab actually says "disabled."
My Google Foo is not working tonight and I'm not sure how to move forward. If the task is successfully running, why isn't it stopping at the "pause?"
I suppose I could write a simple copy file routine and test things that way, but I'm sick and out of time for today, so I thought I'd see what you all have to suggest here.