How can I start and stop a windows service from a c# Form application?
You can do it like this, Details of Service Controller
ServiceController sc = new ServiceController("your service name"); if (sc.Status == ServiceControllerStatus.Stopped) { sc.Start(); }
Similarly you can stop using stop method
sc.Stop();