configure Windows service

is it possible to start the windows service automatically after installation?
Who is Participating?
mikhoConnect With a Mentor Commented:
try starting it with code.... example here :
jkrConnect With a Mentor Commented:
All you need to do is setting 'SERVICE_AUTO_START' as the 'dwStartType' parameter to 'CreateService()' ( Alternatively, use 'sc.exe' after the installation, i.e.

sc config myservice start=auto
Ooops, to directly start it, that's just

sc myservice start
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.