Software Deployment Question

How to set service to automatic instead of manual.

02/24/2009 4958 views

Any one know, how I after installed a service, can set it to start automatic when windows starts up..

0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

Have you tried Goog......NO! I'm not biting this time, I'm not!
Answered 02/24/2009 by: VBScab
Red Belt

If you refer to an MSI install then:

Set the StartType column with the SERVICE_AUTO_START bit for the entry in the ServiceInstall table; ex. ServiceInstall.StartType=2

For the installation to automatically start the service during install then add the msidbServiceControlEventStart (1) bit to the ServiceControl.Event column for the service entry in the ServiceControl table

If not then you could set it in the registry for the service, by using services.msc, SC or any other tool supporting service management.
Answered 02/24/2009 by: AngelD
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ