Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a VB Expert!

Join 244,288 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 984 people online right now. Registration is fast and FREE... Join Now!




Create a process that cannot be stopped from Windows XP Task Manager

 
Reply to this topicStart new topic

Create a process that cannot be stopped from Windows XP Task Manager

B_Pra
2 Dec, 2008 - 12:35 AM
Post #1

New D.I.C Head
*

Joined: 8 Jul, 2008
Posts: 4

Hi, Today is my first day I am submitting a post here.
I am developing a Folders/Files Protector Software in Vb6 and need to know how to make a process which cannot be stopped from Windows XP Task Manager Processes List.If any one knows a way that it can be done Please give me a solution for this. If you can please email me the solution to bandula@singaporeinformatics.lk.



User is offlineProfile CardPM
+Quote Post


VB Crash
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
2 Dec, 2008 - 01:59 AM
Post #2

D.I.C Head
**

Joined: 28 Nov, 2008
Posts: 130



Thanked: 7 times
My Contributions
1.You need to post a code.
2.Try with
vb

App.Taskvisible=False


Vace
User is offlineProfile CardPM
+Quote Post

B_Pra
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
2 Dec, 2008 - 07:43 PM
Post #3

New D.I.C Head
*

Joined: 8 Jul, 2008
Posts: 4

No, that is not what i need. I already know how to user the taskvisible property.It can be used to hide the programme from Applications of Task Manager. I need to apply the same with Processes list of Task Manager. But I need not to hide it,I need to make is as it can not be closed from Process list.Please Help.............................
User is offlineProfile CardPM
+Quote Post

daneburton
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
2 Dec, 2008 - 09:35 PM
Post #4

New D.I.C Head
*

Joined: 23 Nov, 2008
Posts: 2

I have no idea how you could hide the applicaiton from the process list, however why not just rename the process to somethin a user would not recognise?

It's very 'virus like' but you could name it to something like 'syshost.exe'.
User is offlineProfile CardPM
+Quote Post

B_Pra
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
3 Dec, 2008 - 09:33 PM
Post #5

New D.I.C Head
*

Joined: 8 Jul, 2008
Posts: 4

Hi,

I can change My process as a name of a system process. But what i am going to create is a security software.

Some Users are clever enough to recognise such a duplicate process and terminate it.

I need to truly make it as it cannot be terminated by a user.

And I need to know how to create an exe in vb6 to block the access to a folder even in Dos mode. and it should be applied for renaming and deletion of that folder as well.


Help.....................
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
3 Dec, 2008 - 09:40 PM
Post #6

Unix Ronin
Group Icon

Joined: 10 May, 2007
Posts: 10,438



Thanked: 198 times
Dream Kudos: 2725
Expert In: Goofing Off

My Contributions
QUOTE(B_Pra @ 3 Dec, 2008 - 11:33 PM) *

And I need to know how to create an exe in vb6 to block the access to a folder even in Dos mode. and it should be applied for renaming and deletion of that folder as well.

Programs don't have the ability to do the kinds of things you are asking. It isn't an option to protect them in these ways. The only way that I know of doing these sorts of things is to hook the Windows Messaging API & look for your process name in the list. If you see your name in the list, revoke it, & then pass the message on. Hooking the Windows Messaging API is no simple task, so you are going to have to do some research on this one. You are going to have to learn a little bit about how Windows works before you can start to interfere with with.
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
3 Dec, 2008 - 10:03 PM
Post #7

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,353



Thanked: 81 times
Dream Kudos: 2800
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
no2 is right.
If you still wish to use Hooking Functions, I suggest you do a little reading on EnumWindows(), EnumChildWindows() and GetWindowLong().
You will just need these 2 functions (GetWindowLong() isn't necessary) to hook into any Window and subclass its child controls.
User is offlineProfile CardPM
+Quote Post

VB Crash
RE: Create A Process That Cannot Be Stopped From Windows XP Task Manager
5 Dec, 2008 - 07:34 PM
Post #8

D.I.C Head
**

Joined: 28 Nov, 2008
Posts: 130



Thanked: 7 times
My Contributions
I think this shold help you. Click here.

Vace
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 03:28PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month