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,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top