killing the process in .net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Everyone,

I am using service controller class to start, stop services on my remote
machine. Is there any way I can also do the kill command for the services
that hung up when I issue the service.stop command.

I know I can use System.diagnostics process, but its giving me error "Access
denied". I wanted to use something with service controller.

Any help will be grealty appreciated.

Thanks.
 
Not sure what exactly you looking for code or utility.
Anyway, got sysinternals.com and download PSKill.exe (I think it's part of
their big utility package).

That small program can kill hung services.

George.
 
Back
Top