Process.Kill() permissions

  • Thread starter Darren Mart via DotNetMonster.com
  • Start date
D

Darren Mart via DotNetMonster.com

The question: are any user groups besides Administrators permitted to kill
processes?

Need more info? Happy to oblige:

- I'm writing a business object that will run as a service under a specific
username (won't run as System).

- the object creates an instance of Word and automates a Mail Merge. (Yes, I
know this is not recommended -- that's another thread for another day...)

- Winword.exe hangs indefinitely if any error occurs (damn modal dialogs). So,
I have code that cycles through the processes and kills any "winword" entries.
It cleans up nicely on my machine because I added the Service username to the
Admin group. Any other environment -- access denied. I won't score Admin
rights on Dev and Production, but I may have a chance at a less God-like
usergroup that can kill processes, if one exists.

Thanks.
Darren
 

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top