Click here to Skip to main content
15,901,666 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Hi All,

I am developing an application, I have two questions.
1)How can I hide a process from task manager so that application also works fine and other utilities will not treat it as virus.

2)My requirement is application should start automatically on windows startup. So I registered exe in windows registry.
Now question is utilities like Doctor PC or TuneUp Utilities will detect my application and can stop it to start. Means is there any way that no other application will able to detect my application and if detected will not able to change my settings of application.

I have reason to do so. So please don’t ask stupid question like why you want to do so?

Any help will be appreciated.

Thanks
Posted
Comments
Richard MacCutchan 3-Jun-11 11:20am    
I don't believe it is possible to hide an application from task manager. After all if it was easy every virus writer in the world would be doing it.
wizardzz 3-Jun-11 11:41am    
I believe Services do not show up in task manager. Check out my solution.
wizardzz 3-Jun-11 11:53am    
Nevermind, I guess he really needs to circumvent all virus software.
fjdiewornncalwe 3-Jun-11 12:31pm    
What you are asking for isn't really possible (See JSOP's answer). I wouldn't even venture to give you any advice on this unless you were to explain clearly what you wanted to achieve. If what you want to do is possible and a solution were posted here, it would simply feed someone writing a worm/virus some more information on how to be a complete prick.

What you want to do is create and run your project as a service.

Here is a tutorial on this site:
Creating a C# Service Step-by-Step: Lesson I[^]
 
Share this answer
 
Comments
sunder.tinwar 3-Jun-11 11:47am    
Thanks but required can not be altered. The one which you are talking about is I am already familiar with.
wizardzz 3-Jun-11 11:52am    
I worked at a software company where our main product was a driver that disallowed certain changes to the harddrive. The only way to turn it on and off was a reboot. I'm not sure if antivirus software detected it, and it wasn't a concern since it was created for administrators to implement. I'm starting to believe that you are doing this for malicious reasons now, since circumventing anti virus software is such an important requirement.
Richard MacCutchan 3-Jun-11 11:55am    
In Windows 7 if I start Task Manager it shows me a list of services, so I don't think that's a solution. But then I feel happy about that as I certainly would not want invisible services running on my system.
wizardzz 3-Jun-11 12:06pm    
You are correct Rich
0) You can't hide a process from task manager (at least not at ring 3, where your app will be running).

1) Hiding from other apps is not as simple as you might expect, since most apps that would detect and stop your app from running would be able to enumerate the running processes, and thus find your app.

2) You're screwed.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900