471,354 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Process.Kill() permissions

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

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200511/1
Nov 19 '05 #1
0 1439

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Markus Poehler | last post: by
6 posts views Thread by Matthew Wieder | last post: by
5 posts views Thread by GTS | last post: by
10 posts views Thread by Lars-Erik Aabech | last post: by
4 posts views Thread by Richard Rossel | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.