OK, second time I'm posting this question...
some a-hole thought it was off topic on the windows forms forum (so they just deleted it... how nice eh ). guess since its a Component and not quite a "control" its out of place... how lame.
my question is about the service controller. I started looking at it today, but do not see anywhere that allows someone to specify "who" is controlling the services.
Where does the service controller derive its authority I can start / stop services locally. I can start / stop services on my domain (my user is part of the domain admin group, so I assume this is why that is possible).
for this component to be of any use to me personally I need to be able to somehow specify the client's credentials.
Thankyou in advance for not deleting my question, and anyone who may know the answer and takes time out of their busy schedules to respond to this.
Steve

where does ServiceController gain its authority to start and stop services?
Denis Voyer
thanks so much!
KnutVG
A search for "ServiceController WindowsIdentity" yields a couple of good results. The one for ASP.NET uses the user identity of the page (meaning anonymous login is disabled so Internet Explorer and more recent versions of Firefox use NTLM to authenticate you on the server, assuming it's on the same domain) and impersonate you. The concept is the same.
.neo
BrianD65
Giving the user group administrator access on the remote server is not an option. Surely there is a way to assign just enough permissions to allow users to control a service without having to open up other resources on the server... This seems like a straight-forward thing to do but I can't find any information on how to do this.
Thanks
P. Weyrosta
Doug K
"Notice that remote users authenticated over the network but not interactively logged on can only perform user-defined operations. To perform other operations, the user must be logged on interactively or the service must use one of the service accounts."
Suck! Is there a way I can change the DACL using .Net natively (or perhaps some obscure admin screen within Windows) so remote users authenticated over the network CAN perform status query, start, and stop commands All those Win32 functions look incredibly nasty.