Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. How to prevent an exe to be killed (stopping the execution) through Task Manager in Windows Vista?

How to prevent an exe to be killed (stopping the execution) through Task Manager in Windows Vista?

Scheduled Pinned Locked Moved Windows API
helptutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vaibhav Deshpande 0
    wrote on last edited by
    #1

    Hi to all!!! I have created a service which invokes an application i.e. it is running on system account. This application is invoked when any user logs in. I am stucking at a point that suppose guest user logged in and my application is invoked (running in System account). Now I opened the Task Manager and clicked on the button of "Show process from all users"(and getting the administrator privileges i.e. entering administrator password) and then clicked on the end process button, he can kill the process. I want to overcome this i.e. I want to prevent the user from killing my application. Please help me.. With regards, Vaibhav Deshpande

    J M 2 Replies Last reply
    0
    • V Vaibhav Deshpande 0

      Hi to all!!! I have created a service which invokes an application i.e. it is running on system account. This application is invoked when any user logs in. I am stucking at a point that suppose guest user logged in and my application is invoked (running in System account). Now I opened the Task Manager and clicked on the button of "Show process from all users"(and getting the administrator privileges i.e. entering administrator password) and then clicked on the end process button, he can kill the process. I want to overcome this i.e. I want to prevent the user from killing my application. Please help me.. With regards, Vaibhav Deshpande

      J Offline
      J Offline
      JudyL_MD
      wrote on last edited by
      #2

      Why does your guest user have access to the administrator password? Admins are <insert deity of choice> - they can do what they want, by design. Judy

      V 1 Reply Last reply
      0
      • J JudyL_MD

        Why does your guest user have access to the administrator password? Admins are <insert deity of choice> - they can do what they want, by design. Judy

        V Offline
        V Offline
        Vaibhav Deshpande 0
        wrote on last edited by
        #3

        Hi!! Yes your question is right but I want to make my application full proof. As in Windows XP and Professional the facility of "Show process of all users" on the Task Manager is not given so there is no problem. But in Windows Vista such facility is given so it is possible for a guest user to see the process on the system account and then my stucking point occurs. With regards, Vaibhav

        1 Reply Last reply
        0
        • V Vaibhav Deshpande 0

          Hi to all!!! I have created a service which invokes an application i.e. it is running on system account. This application is invoked when any user logs in. I am stucking at a point that suppose guest user logged in and my application is invoked (running in System account). Now I opened the Task Manager and clicked on the button of "Show process from all users"(and getting the administrator privileges i.e. entering administrator password) and then clicked on the end process button, he can kill the process. I want to overcome this i.e. I want to prevent the user from killing my application. Please help me.. With regards, Vaibhav Deshpande

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          See here[^]

          --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze

          S 1 Reply Last reply
          0
          • M Michael Dunn

            See here[^]

            --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze

            S Offline
            S Offline
            Stephen Hewitt
            wrote on last edited by
            #5

            I see a lot of these kinds of questions. Good reply.

            Steve

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups