How to keep a thread from terminating

mkm2175

Solid State Member
Messages
8
I have a program and want to make the thread/program to where it cant be terminated on its own. Like if you try to terminate it, moreless says access is denied kinda like certain threads that are needed to run windows.

But I would also like to have a way where I can terminate if i want to.

I run windows xp sp3.

Is this possible?
 
As far as I know it's not - I'm pretty sure the "system" threads like this are ones specifically marked as such in the kernel. Without patching the kernel there's no way that I know of to create such a process.

It'd help if you gave a few more specifics - what don't you want users closing, and why? The "normal" thing to do here would be to convert such a program into a service then stop non-privileged users from being able to stop services at all.
 
Back
Top Bottom