🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by sa Wed, 28 May 2008 06:25
hide instance in the task manager
#281
Author: sa
Date: Wed, 28 May 2008 06:25
7 lines
1086 bytes
Hello all

Can anybody give me some pointers, to hide the program instance in the 
Windows Task Manager - Application Tab.

Kind Regards
SA 
Re: hide instance in the task manager
#283
Author: Mike Collins
Date: Wed, 28 May 2008 01:50
45 lines
2894 bytes
First off, I'm only saying this because EVERYONE on the Microsoft forums 
always say it to me so...

Generally hiding your application would be considered as the sort of thing 
that malware does and thus a bad practise.  There ends the lecture :-)

But in saying that, there are several hacks that are floating around that 
would allow you to hide your application.  Most are not reliable and easily 
circumvented using other process monitors.  For example, i've seen some 
systems that register themselves as a service at run-time using 
RegisterServiceProcess, but i suspect that this is not possible in Vista as 
it has totally isolated service so they run in session 0 and have not direct 
access to the user desktop.

I would say that it really depends on what you are trying to do and why.  If 
your trying to write some malware'esk application then I'll leave you to it. 
If you have a legitimate reason to hide you application, like you want to 
prevent a user from terminating or messing around with it, then you'd 
probably be better off creating a service which is better form background 
style monitoring or processing and easier to prevent users from messing 
with.

You can use lower level native API hooks and injection to hide the 
application and I have successfully done that but it's generally a bad 
practice and has a lot of additional maintainance.  If you want some 
informaiton on this, then feel free to e-mail me directly at mike (at) 
kid-safe (dot) co (dot) uk.

If you want to use a prescribed architectural feature of Windows then you 
would need to look at something like a File system driver.

HTH

Mike

"sa" <shaikakbar250281@yahoo.co.in> wrote in message 
news:483c5222@newsgroups.borland.com...
> Hello all
>
> Can anybody give me some pointers, to hide the program instance in the 
> Windows Task Manager - Application Tab.
>
> Kind Regards
> SA
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads