Manage Windows Services via Command Prompt

I ever wrote how to manage Windows Services via Administrative Tools and Manage MySQL Service via DOS Console or DOS Prompt. Few readers are asking me to manage other service than MySQL via DOS Console. This time I want to answer that question. Actually, you just need to replace MySQL service name with Windows Service which you want start or stop.

For example, you want to start a service calls Indexing Service, just type at your prompt net stop “Indexing Service”.

  1. First, open your console by click Start –> Run menu, enter cmd in box and then press Enter.
  2. At prompt, enter net stop service_name and then press Enter. Like example above, if I want to stop Indexing Service, type net stop "Indexing Service" and then press Enter.
  3. If your want to start it, enter net start service_name and then press Enter. Once again, if you want start Indexing Service, type net start "Indexing Service" and then press Enter.
  4. To get Windows service list, just look it via Service console. You can to view them by Start -> Control Panel -> Administrative Tools -> Services.

For your notation, if the service name is two words, give additional double quote such as Indexing Service, you need double quote mark in begin and end of service name. So, you’ll need type it like this “Indexing Service but if service name is a word, the double quote is not needed.

(Article no: 00138)

One Comment

Rebuild Content Index | Otak Atik [dot] Com  on October 25th, 2008

[...] Stop Indexing Service first by enter net stop “Indexing Service” at DOS console. To open DOS console, you can click Start -> Run, enter cmd in box and then press Enter. For detail information to start Indexing Service, you can read this article. [...]

Leave a Comment