Re: Ending service via task manager
From: Dan (dan_at_dontspamme.com)
Date: 06/02/05
- Next message: Ajith Kumar: "How to store/ use encoded private key at windows certificate store"
- Previous message: Raghu Malpani: "RE: AuthzRegisterSecurityEventSource fails with GetLastError code 2"
- In reply to: Pavel Lebedinsky [MSFT]: "Re: Ending service via task manager"
- Next in thread: Marco van Nieuwenhoven: "Re: Ending service via task manager"
- Reply: Marco van Nieuwenhoven: "Re: Ending service via task manager"
- Reply: Pavel Lebedinsky [MSFT]: "Re: Ending service via task manager"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 1 Jun 2005 22:53:21 -0400
Thank you very much. That provides a lot of insight into the problem.
However, my goal is to prevent users from shutting this service down through
the task manager. I am not trying to write spyware here: the service's
purpose is to monitor the status of a cluster of other processes. Is there
a way to prevent all non LocalSystem accounts from shutting down this
service from the task manager, even if the task manager has SeDebugPrivilege
enabled?
Once again, thanks very much for your help.
Dan
"Pavel Lebedinsky [MSFT]" <pavel@online.microsoft.com> wrote in message
news:etPlZVxZFHA.3096@TK2MSFTNGP15.phx.gbl...
> I think that task manager on Win2K doesn't enable SeDebugPrivilege
> when trying to open the process.
>
> As a workaround you can try launching task manager under the
> built in debugger. Close the existing instance if it's already running
then
> do this:
>
> C:\>ntsd -g -G taskmgr
>
> This should also allow you to do things like set priority and affinity
> for processes that you do not own.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Dan" wrote:
>
> > If I install a service to run on LocalSystem in Win2K, I cannot end it
> > through the task manager: I get an "Access is denied" error. However,
if
> > I
> > do the same in WinXP, I *am* able to end the service. Why is that?
>
>
- Next message: Ajith Kumar: "How to store/ use encoded private key at windows certificate store"
- Previous message: Raghu Malpani: "RE: AuthzRegisterSecurityEventSource fails with GetLastError code 2"
- In reply to: Pavel Lebedinsky [MSFT]: "Re: Ending service via task manager"
- Next in thread: Marco van Nieuwenhoven: "Re: Ending service via task manager"
- Reply: Marco van Nieuwenhoven: "Re: Ending service via task manager"
- Reply: Pavel Lebedinsky [MSFT]: "Re: Ending service via task manager"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|