I've a website that puts info into a mySQL database and a windows service (written in VB.Net) that polls the db and actions what's in there. However, occasionally it stalls and rather than having to RDP into the server, I want superusers to click on a button to restart the service. I can get the button to say, do a directory listing of c:\ output to a test file so the whole 'getting a command to execute on a remote server' issue works. However, I can't restart services. I assume this is a security thing (although it has full rights to c:\ I thought I'd sussed that already). The website runs under the normal IUSR_user so am I doing something really stupid or can someone explain how to get the service to be restarted ?
Many thanks Adrian