My focus is on web server.
Apache web server does install service in automatic type (httpd -k install
) and Apache does not provide a parameter to install service in manual type (like MySQL: mysqld --install-manual
).
I read some about SC (C:\Windows\System32\sc.exe
) and tried to change it with SC but I couldn't. So what's the solution?
SC should be able to handle this, are you getting any errors?
This would set the startup type to manual for a service called 'apache' :
SC \\computername CONFIG apache start= demand
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With