Discussion Locked

Stopping Applications

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I currently have an program that does not run as a service. I have found that I can start this program using the AT and START commands. But still do not know how to stop or end the program automatically does anyone have any ideas.

6 replies

by dtcochran

Kevin:
The NT Resource Kit's kill command may be just the thing you need. I have found it to be just the ticket when I have apps that I can't end any other way. For example, when running NTBackup from the AT command and something goes awry, I cannot end the NTBackup app (it's apparently running in background). Using the kill command works. You need the process ID for the app from Task Manager | Processes. The syntax is KILL -f , where is the errant app's process id.

by Former member

THe reskit also has a utility that can change an application into a service. From there you can stop/start it as much as u want

by wayne.maples

the methods to make an application a service involve the Resource Kit utility
SRVANY.EXE, see my tip http://is-it-true.org/nt/atips/atips112.shtml for more information.

The other approach uses the AutoExNT service allows you to run a batch file,Autoexnt.bat, when you boot NT without having to log on to that computer. AutoExNT.exe is a service which will run the autoexnt.bat file.
AutoExNT is an NT Resource Kit utility. This would allow you to start any program using the autoexnt.bat files whenever the NT box is turned on, whether someone logs on or not. See my tip http://is-it-true.org/nt/atips/atips1.shtml for more information on AutoExNT.

-Wayne

This discussion is closed to new replies.