title: Node js start and stop windows services
body: <p>I have a nodeJS app that communicates with a third party application installed as a windows service. My nodeJS application requires this service to be running, however if some circumstances it may not. </p>
  
  <p>Im trying to search for a method to check if this windows service is running and if not start it. After many days searching i have found many results for running a nodeJS application as a windows service but not one providing the ability to start/stop already installed windows services.</p>
  
  <p>Is this even possible? I have found tools like PSEXEC so I could make nodeJS run such a script but it would be preferable if nodeJS could perform this task natively.</p>
  
  <p>Any information to this end would be greatly useful and i find it hard to believe others haven't been in a situation where they have needed to do this also.</p>
  
  <p>Stephen</p>