View Full Version : Set service to manual instead of automatic
15th June 2003, 22:28
How can this be achieved during installation-time. I have several services with their own parameters to start, stop, install, uninstall, etc.
But installing the service sets it to automatically startup.
Is there a way to set it to manual by default
16th June 2003, 10:38
Call the ChangeServiceConfig API using the System plug-in (you can find a tutorial in the users manual).
16th June 2003, 11:17
You will also need to call some other Service API functions such as OpenSCManager(), OpenService(), and CloseServiceHandle() and optionally you would also need to call LockServiceDatabase() and UnlockServiceDatabase(). This would be much easier in a plugin, and if it would be useful to be able to control some of the attributes configurable using ChangeServiceConfig() and ChangeServiceConfig2() I can add support for this to the services plugin that I maintain.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.