Permissions for Process.Kill()

  • Thread starter Thread starter Matthew Wieder
  • Start date Start date
M

Matthew Wieder

What permissions must a user have to be able to succesffuly execute a
Process.Kill? I can run it with Admin privleges but not with regular
user priveleges - I get an "Access is Denied." The client should be
able to run our software was a regular user, so what additional
permission must I grant that user for this to work?
thanks!
 
I believe the relevant permissions aren't .NET imposed, but system imposed.
If a process is run under the local system account or the administrator
account, or even under a different regular user's account, then a user
process isn't able to kill it. Is the process you're trying to kill running
under the same account as your program is running under?

Chris
 
no - they're running under different account. If given enough
permissions, I should be able to kill the process though - I'm just
trying to determine what are the correct permissions to give.
thanks!
 
There are specific permissionsto be bale to kill a process and I'm
asking what they are - I know if I add the user to the admin group it
will work, I'm trying to only give him the permissions he needs. Can
anyone help?
thanks.
 
Matthew Wieder wrote:
|| There are specific permissionsto be bale to kill a process and I'm
|| asking what they are - I know if I add the user to the admin group it
|| will work, I'm trying to only give him the permissions he needs. Can
|| anyone help?
|| thanks.
||


Processes created with the default security descriptor can only be killed by their creators and Administrators.

Willy.
 
What specifically needs the admin privleges? Obviously the user doesn't
need admin priveleges on the file system for example. What specific reg
keys or roles can I add the user to to allow him to kill a process.
thanks.
 
Back
Top