Use AT to Kill Processes

Learn how to stop troublesome processes.

Readers

July 26, 2004

1 Min Read
ITPro Today logo

Sometimes I have trouble stopping processes on my Windows 2000 server. I've tried using the Kill command with the -f switch, but the processes still won't stop. I finally wrote a batch file that runs the Kill command (i.e., kill -f process identifier). I use the AT scheduler to run the batch file. This solution uses the system account to run the Kill command. The system account owns the process and is therefore able to stop the process. I use the AT scheduler rather than Microsoft Scheduled Tasks because only the AT scheduler lets you schedule a job with the system account.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like