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. C / C++ / MFC
  4. About termintaing System processes..

About termintaing System processes..

Scheduled Pinned Locked Moved C / C++ / MFC
jsonquestion
10 Posts 3 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.
  • S Offline
    S Offline
    Supriya Tonape
    wrote on last edited by
    #1

    Hi, We can not kill the system processes (eg. System, Services.exe etc) trhu Terminateproc API, am I right??? Also for System processes we dont get handle when we try to get it from 'openprocess' API... do let me know.. Thanks Supriya Tonape

    K T 2 Replies Last reply
    0
    • S Supriya Tonape

      Hi, We can not kill the system processes (eg. System, Services.exe etc) trhu Terminateproc API, am I right??? Also for System processes we dont get handle when we try to get it from 'openprocess' API... do let me know.. Thanks Supriya Tonape

      K Offline
      K Offline
      kakan
      wrote on last edited by
      #2

      Why don't you just shutdown Windows, instead of try to kill it's vital processes? :confused:

      S 1 Reply Last reply
      0
      • S Supriya Tonape

        Hi, We can not kill the system processes (eg. System, Services.exe etc) trhu Terminateproc API, am I right??? Also for System processes we dont get handle when we try to get it from 'openprocess' API... do let me know.. Thanks Supriya Tonape

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        Supriya Tonape wrote:

        We can not kill the system processes (eg. System, Services.exe etc) trhu Terminateproc API, am I right??? Also for System processes we dont get handle when we try to get it from 'openprocess' API...

        Yeah you can kill the these process, but for killing that process you should be havinf SYSTEM priviledge.. Only services running in your computer can run on this priviledge.

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        S 1 Reply Last reply
        0
        • K kakan

          Why don't you just shutdown Windows, instead of try to kill it's vital processes? :confused:

          S Offline
          S Offline
          Supriya Tonape
          wrote on last edited by
          #4

          I wanted to terminate the process thru my appln, so cant shutdown windows:) seems, didnt get my prob, by Ur way after restarting PC again those SYSTEM processes wud get started...hope U got that :) thanks Supriya Tonape

          1 Reply Last reply
          0
          • T ThatsAlok

            Supriya Tonape wrote:

            We can not kill the system processes (eg. System, Services.exe etc) trhu Terminateproc API, am I right??? Also for System processes we dont get handle when we try to get it from 'openprocess' API...

            Yeah you can kill the these process, but for killing that process you should be havinf SYSTEM priviledge.. Only services running in your computer can run on this priviledge.

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            cheers, Alok Gupta VC Forum Q&A :- I/ IV

            S Offline
            S Offline
            Supriya Tonape
            wrote on last edited by
            #5

            Thanks Alok, Even if U have those privileges(me not very sure abt this privileges) U cant kill SYSTEM processes since they are necessary n if U will kill it manually from TASK Manager Ur PC wud get rebooted. But anyways, I got the solution, like GetLastError() returns me "E_ACCESSDENIED" error and thats OK wid my appln :) thanks Supriya Tonape

            T 2 Replies Last reply
            0
            • S Supriya Tonape

              Thanks Alok, Even if U have those privileges(me not very sure abt this privileges) U cant kill SYSTEM processes since they are necessary n if U will kill it manually from TASK Manager Ur PC wud get rebooted. But anyways, I got the solution, like GetLastError() returns me "E_ACCESSDENIED" error and thats OK wid my appln :) thanks Supriya Tonape

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              Supriya Tonape wrote:

              Even if U have those privileges(me not very sure abt this privileges) U cant kill SYSTEM processes since they are necessary

              Yeap you can kill them... because I myself have done that.....

              Supriya Tonape wrote:

              since they are necessary n if U will kill it manually from TASK Manager Ur PC wud get rebooted.

              When i killed that application ... My system get unstable, not rebooted and after some time as precaution measure Windows have restarted these process with new PID. check this site.. i hope it still working http://www.securenm.com that application is using similiar concept

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

              cheers, Alok Gupta VC Forum Q&A :- I/ IV

              1 Reply Last reply
              0
              • S Supriya Tonape

                Thanks Alok, Even if U have those privileges(me not very sure abt this privileges) U cant kill SYSTEM processes since they are necessary n if U will kill it manually from TASK Manager Ur PC wud get rebooted. But anyways, I got the solution, like GetLastError() returns me "E_ACCESSDENIED" error and thats OK wid my appln :) thanks Supriya Tonape

                T Offline
                T Offline
                ThatsAlok
                wrote on last edited by
                #7

                Supriya Tonape wrote:

                Even if U have those privileges(me not very sure abt this privileges) U cant kill SYSTEM processes since they are necessary

                AFAIK, I myself created Service that can kill these process.... secondly at that time my system don't get rebooted but it get unstable.. and Windows Reexecute this process to make system stable.... Check out that software at http://www.securenm.com, i am not sure that site is still up

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV

                S 1 Reply Last reply
                0
                • T ThatsAlok

                  Supriya Tonape wrote:

                  Even if U have those privileges(me not very sure abt this privileges) U cant kill SYSTEM processes since they are necessary

                  AFAIK, I myself created Service that can kill these process.... secondly at that time my system don't get rebooted but it get unstable.. and Windows Reexecute this process to make system stable.... Check out that software at http://www.securenm.com, i am not sure that site is still up

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta VC Forum Q&A :- I/ IV

                  S Offline
                  S Offline
                  Supriya Tonape
                  wrote on last edited by
                  #8

                  It might be, By the way I was talking abt SYSTEM PROCESS n not service if U see my last mail. thanks n regards Supriya Tonape

                  T 1 Reply Last reply
                  0
                  • S Supriya Tonape

                    It might be, By the way I was talking abt SYSTEM PROCESS n not service if U see my last mail. thanks n regards Supriya Tonape

                    T Offline
                    T Offline
                    ThatsAlok
                    wrote on last edited by
                    #9

                    Supriya Tonape wrote:

                    It might be, By the way I was talking abt SYSTEM PROCESS n not service if U see my last mail.

                    Calm Down MADAME, sorry if I sound rude.. have you ever heard about SERVICES...? if not let me explain them, they are normal exe but with speacial features, they don't need any user account to run it, i.e. it runs under SYSTEM ACCOUNT, ever before you login your PC (yeap)... So I hope you got my point, I just want to provide you information, MADAME.. Just a community service....

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                    cheers, Alok Gupta VC Forum Q&A :- I/ IV

                    S 1 Reply Last reply
                    0
                    • T ThatsAlok

                      Supriya Tonape wrote:

                      It might be, By the way I was talking abt SYSTEM PROCESS n not service if U see my last mail.

                      Calm Down MADAME, sorry if I sound rude.. have you ever heard about SERVICES...? if not let me explain them, they are normal exe but with speacial features, they don't need any user account to run it, i.e. it runs under SYSTEM ACCOUNT, ever before you login your PC (yeap)... So I hope you got my point, I just want to provide you information, MADAME.. Just a community service....

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                      cheers, Alok Gupta VC Forum Q&A :- I/ IV

                      S Offline
                      S Offline
                      Supriya Tonape
                      wrote on last edited by
                      #10

                      Thanks.wud like to reply U my view points but no time.Anyways bye regrads Supriya Tonape

                      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