How to kill process using C#?
-
My computer is affected by a virus 'regsvr.exe' which slows down the machine by eating proccessors time. I have to explicitly kill it from the process tab in the task manager. For this reason i want to create a executiable that would kill its process. Also specify how to put my executiable in the startup menu.
-
My computer is affected by a virus 'regsvr.exe' which slows down the machine by eating proccessors time. I have to explicitly kill it from the process tab in the task manager. For this reason i want to create a executiable that would kill its process. Also specify how to put my executiable in the startup menu.
Why not just clean the virus off your machine? :rolleyes: and remember to practice safe computing in the future.
only two letters away from being an asset
-
My computer is affected by a virus 'regsvr.exe' which slows down the machine by eating proccessors time. I have to explicitly kill it from the process tab in the task manager. For this reason i want to create a executiable that would kill its process. Also specify how to put my executiable in the startup menu.
Ishaan Karnik wrote:
For this reason i want to create a executiable that would kill its process. Also specify how to put my executiable in the startup menu
I would rather use a anti virus to do this.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
My computer is affected by a virus 'regsvr.exe' which slows down the machine by eating proccessors time. I have to explicitly kill it from the process tab in the task manager. For this reason i want to create a executiable that would kill its process. Also specify how to put my executiable in the startup menu.
-
You can use this:
System.Diagnostics.Process.Start("tskill", "regsvr");<
But it much beter to use anti-virus to remove the virus or any other viruses.
I don't have a anti-virus software installed currently and the virus is not letting the anti-virus software install one.
-
I don't have a anti-virus software installed currently and the virus is not letting the anti-virus software install one.
-
My computer is affected by a virus 'regsvr.exe' which slows down the machine by eating proccessors time. I have to explicitly kill it from the process tab in the task manager. For this reason i want to create a executiable that would kill its process. Also specify how to put my executiable in the startup menu.