Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Mar 25 '11 at 9:05

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 3 down vote accepted

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

share|improve this answer
    
Wow, that's was a clear and accurate answer. Thank's for the link. I'm surprised though that the Scheduler can't imitate "run as user" when a user account is selected for permissions to run. –  Independent Mar 28 '11 at 8:05

Did you try using 'Process Explorer'. It's very powerful and very very useful. You may find what you are looking for in that tool.

share|improve this answer
    
Thank's. This is not really my topic (I still need the scheduled prompt to running visible) and are not worth a negative vote. I vote up ur answer to zero because process explorer indeed IS a useful tool in this topic. However you also get an accept if you find an answer of the problem :). –  Independent Mar 11 '11 at 14:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.