how to make a process unstoppable?

2

1

There are some process in the Windows-Task-Manager that you can't kill them in Non-Administrator users :

enter image description here

And even in Administrator users, when you try to kill them, you receive this below warning :

enter image description here

I want to know, is there any way to make another program's process like this? i.e if I want to write a program with VB6 for example, is there any way to prevent the user to kill its process? (having this behavior, or a similar behavior that prevent stopping it)

Abraham

Posted 2015-01-05T06:05:36.923

Reputation: 452

related and related – user1686 – 2015-01-05T06:44:35.590

Answers

1

You can flag programs as critial. Doing this would bugcheck your system with Bug Check 0xF4: CRITICAL_OBJECT_TERMINATION when you try to kill the process. This is how csrss.exe is flagged and this is why you see this meesage.

magicandre1981

Posted 2015-01-05T06:05:36.923

Reputation: 86 560

Is there any code-base solution? I mean "Can I wrote my program in a way that behave like this?" Assume that I don't want to use any third-party software. – Abraham – 2015-01-05T06:26:03.317

@Abraham if you click on the first link provided, you can see a programmatical way to do it. Granted, it's using AutoIt language, but the program itself invoked system-standard DLLs, and such invocation is doable from any programming language; you just have to find how :) – pepoluan – 2015-01-05T08:54:35.427

@pepoluan Thank you :) I just was took a brief look. I read it again deeper. – Abraham – 2015-01-05T09:48:35.753