Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Invisible program...

Under NT you can run that program as a service and set the security of that
program so the user can't shut it down. The easiest solution to run a
progranm as a service is by using srvany.
"Phil Weber" <pweber@teleport.com> wrote in message
news:37a8223f@NEWS.DEVX.COM...
> > However, there's an API to disable CTRL-ALT-DEL.
>
> Skull: Not under NT.
> --
> Phil Weber
>
>
[454 byte] By [Floris De Paepe] at [2007-11-10 0:20:30]
# 1 Re: Invisible program...
Under NT you can run that program as a service and set the security of that
program so the user can't shut it down. The easiest solution to run a
progranm as a service is by using srvany.
"Phil Weber" <pweber@teleport.com> wrote in message
news:37a8223f@NEWS.DEVX.COM...
> > However, there's an API to disable CTRL-ALT-DEL.
>
> Skull: Not under NT.
> --
> Phil Weber
>
>
Floris De Paepe at 2007-11-11 20:03:27 >
# 2 Re: Invisible program...
Floris,

> Under NT you can run that program as a service and set the security of
that
> program so the user can't shut it down. The easiest solution to run a
> program as a service is by using srvany.

Have you actually *tried* this?

Actually, even as admin, there are programs (usually services) that you
can't shut down via task manager, but you can easily shut down via
CTRL-ALT-DEL. You can also kill them via the KILL program in the NT Resource
Kit (I've used this a lot).

But the original question was:

"How can I make my program seem totally invisible, so that the user can't
see
it under the running tasks and if he does find it, how can I stop him from
closing it via Ctrl-Alt-Del?"

The original answer was correct -- you can't

--
L.J. Johnson, Slightly Tilted Software
Microsoft MVP (Visual Basic)
LJJohnsn@Flash.Net or LJJohnson@mvps.org
<http://www.flash.net/~ljjohnsn>
Ask The NT Pro at <http://www.inquiry.com>
L.J. Johnson at 2007-11-11 20:04:27 >
# 3 Re: Invisible program...
Floris,

> Under NT you can run that program as a service and set the security of
that
> program so the user can't shut it down. The easiest solution to run a
> program as a service is by using srvany.

Have you actually *tried* this?

Actually, even as admin, there are programs (usually services) that you
can't shut down via task manager, but you can easily shut down via
CTRL-ALT-DEL. You can also kill them via the KILL program in the NT Resource
Kit (I've used this a lot).

But the original question was:

"How can I make my program seem totally invisible, so that the user can't
see
it under the running tasks and if he does find it, how can I stop him from
closing it via Ctrl-Alt-Del?"

The original answer was correct -- you can't

--
L.J. Johnson, Slightly Tilted Software
Microsoft MVP (Visual Basic)
LJJohnsn@Flash.Net or LJJohnson@mvps.org
<http://www.flash.net/~ljjohnsn>
Ask The NT Pro at <http://www.inquiry.com>
L.J. Johnson at 2007-11-11 20:05:31 >
# 4 Re: Invisible program...
When the user tries to shut down your app, you can fire off another instance
of your app and allow the first to shut down.

Mike

"L.J. Johnson" <ljjohnsn@flash.net> wrote:
>Floris,
>
>> Under NT you can run that program as a service and set the security of
>that
>> program so the user can't shut it down. The easiest solution to run a
>> program as a service is by using srvany.
>
>
>Have you actually *tried* this?
>
>Actually, even as admin, there are programs (usually services) that you
>can't shut down via task manager, but you can easily shut down via
>CTRL-ALT-DEL. You can also kill them via the KILL program in the NT Resource
>Kit (I've used this a lot).
>
>But the original question was:
>
>"How can I make my program seem totally invisible, so that the user can't
>see
>it under the running tasks and if he does find it, how can I stop him from
>closing it via Ctrl-Alt-Del?"
>
>The original answer was correct -- you can't
>
>--
>L.J. Johnson, Slightly Tilted Software
>Microsoft MVP (Visual Basic)
>LJJohnsn@Flash.Net or LJJohnson@mvps.org
><http://www.flash.net/~ljjohnsn>
>Ask The NT Pro at <http://www.inquiry.com>
>
>
>
Mike at 2007-11-11 20:06:30 >
# 5 Re: Invisible program...
When the user tries to shut down your app, you can fire off another instance
of your app and allow the first to shut down.

Mike

"L.J. Johnson" <ljjohnsn@flash.net> wrote:
>Floris,
>
>> Under NT you can run that program as a service and set the security of
>that
>> program so the user can't shut it down. The easiest solution to run a
>> program as a service is by using srvany.
>
>
>Have you actually *tried* this?
>
>Actually, even as admin, there are programs (usually services) that you
>can't shut down via task manager, but you can easily shut down via
>CTRL-ALT-DEL. You can also kill them via the KILL program in the NT Resource
>Kit (I've used this a lot).
>
>But the original question was:
>
>"How can I make my program seem totally invisible, so that the user can't
>see
>it under the running tasks and if he does find it, how can I stop him from
>closing it via Ctrl-Alt-Del?"
>
>The original answer was correct -- you can't
>
>--
>L.J. Johnson, Slightly Tilted Software
>Microsoft MVP (Visual Basic)
>LJJohnsn@Flash.Net or LJJohnson@mvps.org
><http://www.flash.net/~ljjohnsn>
>Ask The NT Pro at <http://www.inquiry.com>
>
>
>
Mike at 2007-11-11 20:07:35 >
# 6 Re: Invisible program...
Mike,

> When the user tries to shut down your app, you can fire off another
instance
> of your app and allow the first to shut down.

Yep, you could. Doesn't stop the user from shutting it down, just makes the
shutdown "temporary". Sneaky...

--
L.J. Johnson, Slightly Tilted Software
Microsoft MVP (Visual Basic)
LJJohnsn@Flash.Net or LJJohnson@mvps.org
<http://www.flash.net/~ljjohnsn>
Ask The NT Pro at <http://www.inquiry.com>
L.J. Johnson at 2007-11-11 20:08:33 >
# 7 Re: Invisible program...
Mike,

> When the user tries to shut down your app, you can fire off another
instance
> of your app and allow the first to shut down.

Yep, you could. Doesn't stop the user from shutting it down, just makes the
shutdown "temporary". Sneaky...

--
L.J. Johnson, Slightly Tilted Software
Microsoft MVP (Visual Basic)
LJJohnsn@Flash.Net or LJJohnson@mvps.org
<http://www.flash.net/~ljjohnsn>
Ask The NT Pro at <http://www.inquiry.com>
L.J. Johnson at 2007-11-11 20:09:36 >