how to hide a process from windows task manager?
i want it to work in XP, VISTA and 7
Printable View
how to hide a process from windows task manager?
i want it to work in XP, VISTA and 7
There's absolutely no good reason to do this, so no. This is typically what rootkits do.
Easiest way is to just disguise it by making it show up as "svchost.exe". It'll get lumped in with all the others, and will become indistinguishable. That would be the safest route to follow actually, because ordinary programs should have a way to be closed by the TaskManager - that is why the TaskManager exists.
Here is a VB.NET way : http://www.codeguru.com/forum/showthread.php?t=406555
So it is indeed possible, but I would really, really advise against it.
if i don't want to hide the process i prefer to have a watcher process for the main process and when main process get killed the watcher process will restart it and vice versa.
thanks both of you.
rootkit has several main problem and the vb code works only for XP.
If you want an auto restarting application run it as a windows service. Thats one of the features services offer.
yes. i have also decided to create a service for this issue.
thanks.
Yep, a service is actually what I meant with post #3 :
Sorry it didn't come out right :blush:
hannes in post #3 you gave me the clue because when i saw that solution is not platfrom-independent (as i expected) i tried to change my approach so thank you very much for helping me always my friend.