• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 857
  • Last Modified:

how to kill system process in c#.net

hi,

I have a process developed as system process, when I try to kill this process in my code (process.Kill();) I get this error:

Access is denied in :Win32Exception

so, how can I kill this process when I need to kill it ?
0
Ameerh24
Asked:
Ameerh24
1 Solution
 
V4nP3rs13Commented:
hmmm... I've never heard about Win32Exception, but try this:
Try to download some out-windows programs (Like BartPE) and remove the file that causes this process, or you can download some of the free process killer programs fro mthe internet, and stop the process
 
0
 
CodeCruiserCommented:
I think making the process a System Process is causing the Access Denied exception.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now