DISQUS

Tech-Recipes: Windows: Use WMIC to Start or Stop a Service from the Command Line | Windows | Tech-Recipes

  • Anonymous · 1 year ago
    Eh?

    To stop the service enter the following at a cmd prompt:
    net stop "Terminal Services"

    To start the service enter the following at a cmd prompt:
    net start "Terminal Services"

    To list running services enter the following at a cmd prompt:
    net start

    You can also create shortcuts to perform the start and stop tasks.
  • Bill Daly · 5 months ago
    This example doesn't work. You cannot stop or start the "Terminal Services" service without changing the startup type and rebooting. I think you just picked a bad example. Did you try it first?

    Otherwise, this is a very nice article.