Windows – Task Scheduler runs as hidden, how to make it visible

networkingwindowswindows-server-2008

This small but really annoying thing worked well on the Windows Server 2003 machines. After upgraded to 2008 and it's new flawless Scheduler, the scheduled Console Applications are running in hidden mode.

I can't for my life find out, even with google other that have same problem? Every task has a "hide this" option that i Of Course has unticked – because I want it visible :). But the scheduler keeps hiding it ;). The console window has important output-logging which works fine if it rans manually.

Best Answer

This isn't possible anymore: services are run on a different desktop than users, and this affects the Task Scheduler as well. More info: http://blogs.technet.com/b/askperf/archive/2007/04/27/application-compatibility-session-0-isolation.aspx

What I'd suggest is that the scheduled tasks pipe the output to a log file, e.g. instead of abcd.exe, abcd.exe > c:\logs\abcdlog.txt