Any way to override .NET Windows Service Name without recompiling?

前端 未结 5 2117
别跟我提以往
别跟我提以往 2021-01-29 23:39

I have a windows service executable that I know is written in .NET which I need to install under a different service name to avoid a conflict. The install doesn\'t provide anyw

5条回答
  •  野性不改
    2021-01-30 00:00

    Try installing your service with sc.exe. A quick search will yield lots documentation. With that tool it's easy to modify existing services and/or add new ones -- including names.

    Edit: I install my .NET services with this tool.

提交回复
热议问题