Restarting service from a client computer without rights

I have already created the program to restart a SQL database but it only works if the client has the rights. This is going to be done on a local network from a client computer when they can't get a person that has the password on the phone. Any thoughts I'm currently using the servicecontroller to start and stop database. When I don't have the rights I get a access denied error, or This operation might require other privileges. Not sure if impersonation would work since I don't have the userid and password.

Answers


Setup a service on an account with enough rights to do the restart and write another application that will communicate with that service and tell it to do the restart.


You said in a comment "If we could get connected to the server we wouldn't need to run this program."

There is no solution without some rights on the SQL Server box, be it using a web page, WMI, a local service, whatever.


Need Your Help

Transparent div background, with a tint of color?

css html colors transparency

Can anyone tell me how to make a div's background transparent, but with a tint of color, such as black. I've tried this using CSS although I can only get the div to be either transparent or filled ...

Flash Without a SWF File?

javascript html flash email

Is there any way to embed Flash completely in HTML, without reference to an external SWF file? I ask because I would like to send an HTML file as an email attachment that the recipient will open in a