Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
I need the sample code for a program in vb or delphi or ... which hide a program or procces from taskmanager (example my program is running). Can anyone help?
Posted
Comments
phil.o 5-Sep-13 4:10am    
Just a personal opinion : I would not like at all that anyone hides some process from my knowledge.
Thus, I refuse to be of any kind of help for that requirement.
Pheonyx 5-Sep-13 4:14am    
Agreed
r1355 5-Sep-13 4:20am    
I'm a student
[no name] 5-Sep-13 5:11am    
So? Doesn't matter. Still no legitimate reason to do this.

I cannot see any legitimate reasons for doing this: which makes it malware.
We do not assist, condone or support in any way the creation, modification, or use of malicous software.

Please do not ask again.
 
Share this answer
 
1) There is no legitimate reason to do so.

2) It's not possible, at the very least for the reason spelled out in 1.
 
Share this answer
 
There are actually legitimate reasons to do this.

Here's a discussion on MSDN where a developer needs to force a user to restart their machine following a software update, and doesn't want a user to defeat his app by finding it in task manager and killing it.

This is all the help you're going to get here... I hope this is what you need.

- Pete
 
Share this answer
 
Comments
phil.o 5-Sep-13 10:30am    
For that matter, you can use Group Policy Objects (GPOs), which allow you to define the behavior of the system after system updates.

And if you are talking about non-system updates (specific software), you can always issue the shutdown -r -f -t {whateverdelayyouwishinmilliseconds} shell command from your updater.

Edit after reading your link : the OP of the mentionned post says that he would like to hide his application from the Applications tab, but not from the Processes one.
pdoxtader 5-Sep-13 10:47am    
Yes, there are 100 ways to skin a cat.

I can do any number of hacky seeming things... I could do this, and more. I could open windows up on the windows login screen, for instance, and imitate the windows login screen to capture someone's credentials. That doesn't mean I'm writing viruses. I'm sure Grif and Dave can do lots of stuff that they wouldn't offer to help people do here also. And they learned it from somewhere... The difference between us and this guy is that he was stupid enough to ask about it HERE, where people will assume he's writing a virus and bash him about it.

I'm just not assuming that... and by the way - that link I posted? It was the 1st thing that came up on google when I googled it. A MSDN discussion about exactly this...

It's not a secret (how to do this), and he will find out how if he really looks. So lets all just get down off our high horses for a minute here.

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