Windows Scheduler Fails to Run Application

Posted on 2009-12-22
Last Modified: 2012-05-08
I wrote this little application that reads some Active Directory and then shells out to a batch file which launches a vbs file which in turn uses CDO to sent an email notification.  I can run it all day and the application does as required.

But,  if I try to run the application using the Windows Scheduler, the application does not run and the scheduler show the last result, not as 0x0 but as oxe0434f4d (a most meaningful message...).

Any suggestions on this would be greatly appreciated.

Question by:hbash
    LVL 10

    Accepted Solution

    Are you sure Credentials provided to run schedule are correct?

    Are you able to run the application directly with out any errors?
    LVL 5

    Assisted Solution


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
    Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now