title: Restarting a service with jenkins
body: <p>My company is using Jenkins for their CI and so far we've only been using it for our web apps, but now we're getting to the windows service apps we use and I'm looking for some guidance on this.</p>
  
  <p>Currently we have a batch script that shuts down the service then do an Hg update and then turns the service back on.</p>
  
  <p>I need Jenkins to run it as admin so that windows will allow the script to toggle the services.</p>
  
  <p>My question is, how hard is it for Jenkins to run something with elevated privileges?</p>