in reply to Re: Killing processes in Win32...?
in thread Killing processes in Win32...?

If the user has System or Admin privs, it shouldn't be a security issue. The command-line <kbd>kill</kbd> utility that comes with the Resource Kit can kill the services (you have to kill <kbd>inetinfo.exe</kbd> and <kbd>mtx.exe</kbd>).

Naturally one does not want to try running shell commands from a service (I was thinking of using Win32::Daemon).

Sometimes something crashes the inetnet service, so it does not respond to <kbd>net stop</kbd>... otherwise I'd not need to ask the question.

Replies are listed 'Best First'.
Re: Re: Re: Killing processes in Win32...?
by RayRay459 (Pilgrim) on Jul 21, 2001 at 01:23 UTC
    Did you ever get anywhere with this? I am trying to do the same thing. I want to connect to a remote server and kill inetinfo.exe if net stop w3svc fails and also restart it without using something like WRSHDNT. If you have any info, i would greatly appreciate it. Thnx ~Ray~