killing the process in .net

Discussion in 'ASP .Net' started by =?Utf-8?B?Vmlua2k=?=, Mar 24, 2007.

  1. 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.
     
    =?Utf-8?B?Vmlua2k=?=, Mar 24, 2007
    #1
    1. Advertising

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


    "Vinki" <> wrote in message
    news:...
    > 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.
     
    George Ter-Saakov, Mar 26, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Johnson Sr.

    Process killing

    Michael Johnson Sr., Feb 10, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    344
    Michael Johnson Sr.
    Feb 10, 2004
  2. Shruti A via .NET 247
    Replies:
    0
    Views:
    738
    Shruti A via .NET 247
    May 15, 2004
  3. GregO
    Replies:
    0
    Views:
    414
    GregO
    Jul 20, 2004
  4. Anshuman
    Replies:
    0
    Views:
    401
    Anshuman
    Jan 4, 2005
  5. Sting

    killing a process in ms windows - newbie

    Sting, Dec 28, 2003, in forum: C Programming
    Replies:
    2
    Views:
    337
    Richard Bos
    Dec 29, 2003
Loading...

Share This Page