We have a service, running under the LOCALSYSTEM account and flagged to
interact with the desktop, that loads a DLL named SYScheduler. This DLL
has a couple of threads that, one, wait for specific times to run
specific jobs, and two, run the jobs, either by calling a function in
another DLL or running an external executable.
We have found that, any time it is trying to run the external
executables, the executable is erroring out, no AV or anything, just the
big dialog that asks if you want to send info to Microsoft, we are
running mostly on XP but will be having to support Vista soon.
Most of these executables are written in Delphi but some are
If we run the service under an administrator account, they work
just as planned.
We used to do this using MSSQL Server Agent; but since M$ removed Agent from
SQL2005, we had to create our own scheduler.
SQL Server Agent ran these same executables just fine running in the
LOCALSYSTEM account, why the difference?
Anyone come across this before? What is the cause?
Any idea how to diagnose the reasons behind this and work out what is