On Windows task scheduler, I'm trying to run a task where an SQL query will execute and output(spool) my data to a csv file. running it manually works fine and scheduling it works fine too. However, when I try to run it with the option of "whether user is logged in or not", my task stays at "running" for a long time and does not output my result. What could be the issue and how do I solve it? This is windows 7 pro, and i'm on a work pc (not as an admin or anything).
My event log is 129, if that helps in anyway
Run with highest privileges? I'm happy to help with more detail so just hit me back and let me know. – Vomit IT - Chunky Mess Style Mar 09 '17 at 04:34