Task Scheduler Jobs Running Silently

G

Guest

Hi,

I have been using Task Scheduler for many years, but have come across a
strange problem.

I have just started working in a new company and have set up some new batch
scripts to be kicked off by Task Scheduler, and for whatever the reason, the
jobs all seem to run silently i.e. the DOS window does not appear.

I have programmed Task Scheduler before and I think there is a flag which
programmatically controls this, however I can't find a corresponding
interface property to effect this change.

What is strange is that all newly created scheduled jobs seem to default to
this behaviour. I have ensured that I am signed on as the user who I have
set up as the account in which to run the job, but no joy. I'm wondering if
it may be something to do with a Windows Explorer setting.

Any suggestions/advice gratefully received.
 
J

Jerold Schulman

Hi,

I have been using Task Scheduler for many years, but have come across a
strange problem.

I have just started working in a new company and have set up some new batch
scripts to be kicked off by Task Scheduler, and for whatever the reason, the
jobs all seem to run silently i.e. the DOS window does not appear.

I have programmed Task Scheduler before and I think there is a flag which
programmatically controls this, however I can't find a corresponding
interface property to effect this change.

What is strange is that all newly created scheduled jobs seem to default to
this behaviour. I have ensured that I am signed on as the user who I have
set up as the account in which to run the job, but no joy. I'm wondering if
it may be something to do with a Windows Explorer setting.

Any suggestions/advice gratefully received.


See if tip 4579 in the 'Tips & Tricks' at http://www.jsiinc.com explains the behavior.


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top