Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   No new posts How to create a process that cannot be killed by the user? (http://www.go4expert.com/forums/posts-create-process-killed-user-t4743/)

saiprasannasp 18Jun2007 19:54

No new posts How to create a process that cannot be killed by the user?
 
Hi All,
I am trying to create a process that cannot be killed by the user. The process after starting, will open the access token and use AdjustTokenPrivilege to disable all the privilege . but still the user can use task manager to kill the process. please help me in solving this problem.

DaWei 18Jun2007 20:31

Re: No new posts How to create a process that cannot be killed by the user?
 
You can disable the task manager for a current user with either policy or registry modifications. If you're trying to disable it for admin level users, and hide processes, and all that, then I think it's probably something underhanded you're trying to do.

saiprasannasp 18Jun2007 20:44

Re: No new posts How to create a process that cannot be killed by the user?
 
Quote:

Originally Posted by DaWei
You can disable the task manager for a current user with either policy or registry modifications. If you're trying to disable it for admin level users, and hide processes, and all that, then I think it's probably something underhanded you're trying to do.

Please don't mistake me. I dont have malicious intentions. There is one such process created by Nortan antivirus (VpTray.exe), which runs for each and every user session. that process can not be killed by the users. I don't want to disable task manager. just want to make a process prompt an access denied message when ever an user tries to kill the process. VpTray.exe does the same.


All times are GMT +5.5. The time now is 05:13.