killing the process in .net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Vmlua2k=?=

    killing the process in .net

    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.diagnost ics process, but its giving me error "Access
    denied". I wanted to use something with service controller.

    Any help will be grealty appreciated.

    Thanks.
  • George Ter-Saakov

    #2
    Re: killing the process in .net

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

    That small program can kill hung services.

    George.


    "Vinki" <Vinki@discussi ons.microsoft.c omwrote in message
    news:FD34C7DE-CEA1-4A29-85CB-D1A00E0EFE4C@mi crosoft.com...
    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.diagnost ics process, but its giving me error
    "Access
    denied". I wanted to use something with service controller.
    >
    Any help will be grealty appreciated.
    >
    Thanks.

    Comment

    Working...