yes it is setup to run under a particular account but the credentials have not changed. i have gone through all the permission and the policies and the user has admin rights to almost everything.
Main Topics
Browse All TopicsI have written a vb6 app that links to outlook and populates contacts in a public folder.
i have tested and it works when ran from the 'Run' option from the start menu.
if i schedule the exe it doesnt run. it doesnt return any errors either. it just does nothing!
it has been working for 6 months scheduled and now it has just stopped working. i havent amended the exe or the scheduled task.
can anybody help?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
what if you ask it to run under the system account?
what if you create a new scheduled task (just as a test) and allow it to run notepad using the same credentials, does that work?
can you also go to the scheduled tasks folder and then go to advanced-->view log and paste the logs here.
if you get Result: The task completed with an exit code of (0), that the operation completed successfully. in that case its not the task scheduler or the credentials that are the issue, its the task itself that's the issue. if that's the case, then begin by checking for permission related issues.
Make sure Task Scheduler Service is started: By default on all Windows XP machines Scheduler service is started. To make sure please go to Control Panel->Administrative Tools->Services. Verify that the Status of the ‘Task Scheduler’ service reads ‘Started’. If it is not running then right-click it and select ‘Start’. Also please ensure that the 'Startup type' is set to 'Automatic' so that next time your computer starts this service starts automatically.
If it still doesn't work then Restart Task Scheduler from the services by right-clicking it and Clicking Restart.
next steps:
=========
can we have the schedlgu.txt?
What is the exit code that is logged for the failing job?
Try creating the job using the AT.EXE command
Reference:
==========
http://support.microsoft.c
wow this one is difficult. and you seem to be having a lot of patience as well :)
it doesnt seem to be an issue with task scheduler, and doesnt seem to look like a permissions issue either.
mmmm
is there any other info you can provide? i'll keep researching more in the interim.
have you tried runnign the task under the local system account or a different account? a local user account perhaps?
whats the version of mstask.dll on the affected machine as compared to a working machine? (just to make sure that the versions are the same)
Hi,
thanks for all your help so far!!
i have got somewhere with this now but not fully resolved the problem.
the problem was that i was scheduling the job on my server and connecting to the server via Remote Desktop (aka terminal services). according to microsoft if you schedule a job whilst logged in via terminal services the job doesnt run in the session it runs on the server console (i.e. when you actually sit at the server). so this has resolved this bit.
my only problem know is that it runs successfully if i sit at the server and watch it but if the server is logged off the job doesnt run!!
Discovered:
Make sure that the TASK SCHEDULER service is ticked for "Allow interaction with Desktop". Also, if any of the command lines, script being called, BAT files being utilised, etc. use Drive Mappings to network shares then these should be replaced with full UNC paths as the drive letter reference might not be resolved because the user is not logged on and therefore a NETLOGON script not executed.
Business Accounts
Answer for Membership
by: MrLonandBPosted on 2007-11-21 at 04:59:24ID: 20327159
Simple question and you've probably checked, but is the task scheduled to run under a particular account and the login credentials of the account have changed recently?