title: How to change start up type of a windows service using command line
body: <p>My focus is on web server.</p>
  
  <p>Apache web server does install service in automatic type (<code>httpd -k install</code>)  and Apache does not provide a parameter to install service in manual type (like MySQL: <code>mysqld --install-manual</code>).</p>
  
  <p>I read some about <a href="http://go.microsoft.com/fwlink/?LinkId=84961" rel="nofollow">SC</a> (<code>C:\Windows\System32\sc.exe</code>) and tried to change it with SC but I couldn't. So what's the solution?</p>