killing the process in .net

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.
 
G

George Ter-Saakov

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top