How to make an unstoppable (from Task Manager) process.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ihteshamqazi
    New Member
    • Mar 2010
    • 3

    How to make an unstoppable (from Task Manager) process.

    Hi guyz.

    I am writing a parental control system. This is a C#.NET executable ParentalControl ler.exe and is started as System.Diagnost ics.Process.Sta rt. The app is working fine but i don't want the children to stop the ParentalControl ler.exe from Task Manager. I have tried a solution in which another app (guard.exe) is guarding the ParentalControl ler.exe but i dont like this solution theoritically because a clever child can stop both the executables. So i am looking for a solution in which the child just cannot stop the application and its guardian from Task Manager. However the administrator (Parent) can stop both executables.

    I hope i have explained the problem properly. Please help me.

    Thanks
  • searock
    New Member
    • Mar 2010
    • 9

    #2
    One quick solution is that you can rename your exe to csrss.exe

    Comment

    • ihteshamqazi
      New Member
      • Mar 2010
      • 3

      #3
      Thanks searock for your suggestion but the antivirus programs running would consider it as a virus and will try to remove it. How should i make it a legitimate critical process.

      Thanks

      Comment

      • tlhintoq
        Recognized Expert Specialist
        • Mar 2008
        • 3532

        #4
        You can check the close condition to see if it is Task Manager and if it is, then set the 'cancel' value to true - meaning cancel the closing.

        Comment

        Working...