Automatically start a Windows Service on install

前端 未结 13 1310
轻奢々
轻奢々 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:44

    You can use the following command line to start the service:

    net start *servicename*
    

提交回复
热议问题