Discussion Locked

running a .cmd or .bat in schedular

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a .cmd file that works great from the command prompt, but when I try to run it using the AT schedular in NT 4.0 It gives me an error message:

REPORT caused a General Protection
Fault in module )C25.DLL at 0007:1443

I have notbeen able to resolve this issue. I have tried checking properties of the application that I am using with the script. I have even tryed running it from the system command prompt:

at /interactive cmd.exe /k

this leaves the system command promp windo open so I can try to run the file. Like I said it works just fine while running it manually from the command prompt.

any help would be appriciated.

tom fowler

5 replies

by dao251

Tom

I'm not sure but you could try running Scheduler Service on behalf of any "real" Domain or Local account, not LOCAL SYSTEM (default).

Goto Control Panel -- Services and configure Scheduler service to run as any other account than local System. The, restart the service and try to schedule your .cmd

HTH,
Dima

by tfowler

I have already set the schedular to use my account (domain admins) and it still doesent work...

same as abouve

by dao251

and what kind of application you try to run?

yes, some apps cannot be run by Scheduler, requiring the user being logged on interactively. For example you cannot run apps emulating keyboard...

by tfowler

I am trying to run Tracs report interface. that is or barcode tracking system. we have similar scheduals running on the server I know that the application will run from the schedular I just cant make it work.

This discussion is closed to new replies.