title: How to remotely Start/Stop SQLServer services kicking off existing connections?
body: <p>I know there is already a <a href="https://stackoverflow.com/questions/133883/stop-and-start-a-service-via-batch-or-cmd-file">question</a> about this but my issue is more oriented to remote scenarios.</p>
  
  <p>With <em>net start/stop</em> you can specify a <em>/y</em> parameter to bounce users off current sessions but you cannot start/stop remotely.</p>
  
  <p>With <em>sc</em> you can start/stop remotely but if the SQLServer instance is being used it won't let you stop the service (with a "[SC] ControlService FAILED 1051: A stop control has been sent to a service that other running services are dependent on." message)</p>
  
  <p>So my question is: what's the best way of kicking out users stopping the SqlServer service remotely?</p>