configure Windows service

Posted on 2012-03-28
Last Modified: 2012-04-14
is it possible to start the windows service automatically after installation?
Question by:singsunn
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

mikho earned 250 total points
ID: 37779171
try starting it with code.... example here :
LVL 86

Assisted Solution

jkr earned 250 total points
ID: 37779228
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
LVL 86

Expert Comment

ID: 37779562
Ooops, to directly start it, that's just

sc myservice start

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp Google Map 2 65
PowerShell:  Column widths won't expand 3 50
boost::uuid crashes 17 41
Set arraylist as datatable 2 13
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question