title: Start Service with C #
body: <p>I'm trying to start a service with C # but throws me the following error:</p>
  
  <pre><code>ServiceController service = new ServiceController(sServiceName);
  service.MachineName = localComputerName;
  service.Start();
  service.WaitForStatus(ServiceControllerStatus.Running);
  </code></pre>
  
  <blockquote>
    <p>System.InvalidOperationException: Cannot open service on computer 
    System.ComponentModel.Win32Exception: Access is denied    at
    System.ServiceProcess.ServiceController.GetServiceHandle(Int32
    desiredAccess)    at System.ServiceProcess.ServiceController.Stop()</p>
  </blockquote>