Re: Ending service via task manager

From: Dan (dan_at_dontspamme.com)
Date: 06/02/05


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?
>
>



Relevant Pages

  • Windows XP Shutdown Problem
    ... I am having problems with shutting down Windows XP. ... The system cannot be shut down from the task manager either. ... plug on my computer many a time. ... have Vision Express) are programmes which can cause shut down problems ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: computer question
    ... If I have to choose between living with the problem or going back to DOS and ... WP51 ... ... >>'ve tried shutting the ... >>applications down with the task manager, ...
    (sci.med.transcription)
  • javaw.exe
    ... Task manager shows ... me the CPU is running at 100% continuously, ... culprit is always javaw.exe. ... Shutting down this process ...
    (microsoft.public.windowsxp.general)
  • Re: Ghost Application Running
    ... 2004 Windows MVP "Winny" Award ... > When shutting down system, windows says to shut down current applications. ... > When going to task manager, ...
    (microsoft.public.windowsxp.general)