Automatically start a Windows Service on install

前端 未结 13 1370
轻奢々
轻奢々 2020-11-28 19:13

I have a Windows Service which I install using the InstallUtil.exe. Even though I have set the Startup Method to Automatic, the service does not start when installed, I have

13条回答
  •  没有蜡笔的小新
    2020-11-28 19:58

    Automatic startup means that the service is automatically started when Windows starts. As others have mentioned, to start it from the console you should use the ServiceController.

提交回复
热议问题