Thursday, 11 June 2009

Service Remote Start/Stop


Question: How to start/stop a service on a remote computer?

Answer: Using sc from command line.

examples:

  • sc \\Server1 start/stop "Service Number One"
  • runas /user:Domain1\admin "sc \\Server1 start \"Service Number One\""

No comments:

Post a Comment