Windows service Rights question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steve Long (Steve_Noneya_at_NoSpam.com)
Date: 09/30/04


Date: Thu, 30 Sep 2004 12:11:34 -0700

In writing a Windows service with .NET, I'm noticing that the process for
some services can not be killed with specifically stopping the service. If
you try to kill the process with, say task manager, you get an access denied
message. I just wrote a test service and I can kill the process for this
service without actually stopping the service. Can someone tell me how to
keep the process for my service from being killed without actually stopping
the service?

I appreciate any insight into this thread.

Thanks
Steve



Relevant Pages

  • Re: Windows Service hangs
    ... the serial port and I actually have a GUI app that uses the same code as my ... Maybe I should have changed the emphasis of my question to how to kill ... > Whenever I write a windows service application, ... > listening to a serial port or sending data to it? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Aargh. Ripping the thing apart.
    ... subset of writing it all over again: I write it all over again, ... draft (and if push comes to shove, most modern word processors seem to ... Last time I had a problem like this, I used a diagram ... "kill your darlings" because that makes me want to kill anything I like ...
    (rec.arts.sf.composition)
  • Re: Kill does not stop process
    ... > working and stopped the CD writing. ... But the CD light kept flashing. ... I tried to kill them using kill as user ... > would not die. ...
    (Debian-User)
  • Re: 2008 Buell 1125r
    ... nunya wrote... ... she thinks i'll kill myself on it. ... much life insurance as i have she would be writing the check ...
    (rec.motorcycles.harley)
  • Re: Aargh. Ripping the thing apart.
    ... subset of writing it all over again: I write it all over again, ... draft (and if push comes to shove, most modern word processors seem to ... Last time I had a problem like this, I used a diagram ... "kill your darlings" because that makes me want to kill anything I like ...
    (rec.arts.sf.composition)