title: Kill windows process that keeps restarting
body: <p><strong>I am trying to stop a windows service that is using a port I need, but the service keeps restarting it self. How do I stop it from restarting itself?</strong></p>
  
  <p>I followed this question to kill it (<a href="https://stackoverflow.com/questions/39632667/how-to-kill-the-process-currently-using-a-port-on-localhost-in-windows">How to kill the process currently using a port on localhost in windows?</a>), but when I listen for the port again a new service started already: </p>
  
  <p><a href="https://i.stack.imgur.com/5cXmv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5cXmv.png" alt="enter image description here"></a></p>
  
  <p>How this happened and some notes:</p>
  
  <ul>
  <li>I created a Nodejs service and started it as a windows service (so now it is running in it's own windows instance)</li>
  <li>My service had a cmd line to stop it self <code>net stop "Service Name"</code>. This semi-failed for some reason (it did stop, kinda, but then it starts again)</li>
  <li>I have even uninstalled the Nodejs service completely, but still something is starting it up over and over (because the port stays in use)</li>
  <li>I can't move the Nodejs service files, because they are <code>in use</code></li>
  </ul>