Results 1 to 3 of 3

Thread: How to stop an EXE from running on NT Server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    2

    Exclamation

    I have about ten servers that run a backup client exe file when initiated by the backup server. This file is sometimes initiated by accident and the backup is stopped from the backup server. The clients still run the exe that was initiated until manually stopped through the task manager. I would like to write a VBScript to stop this processes by exe name on all of the servers so I don't have to run from server to server ending the program. I don't know whether to use API, ADSI or something else. Anyone have any Ideas on how to do this?

    -Steve

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    I suppose you could get the handle of the window and use the SENDMESSAGE API to kill it....

    for more info, post (or just search) in the API forum

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    2

    Post No window to get handle

    Unfortunately it only runs as a background process. There is no window for interaction. Thanks, I will look in the API forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width