Possible Duplicate:
C# start Windows Service programmatically
I want to start/stop a preexisting windows service from inside of wpf application . Any pointers on how to do that ?
You are looking for the ServiceController class and more specifically the Start/Stop methods.