3
Answers

Creating a Windows Service using c#

ravi kumar

ravi kumar

7y
269
1

Hi,

I Created a windows Service called "TestServer" using c# code on remote system , in the code I m giving below command. I have Given Startup Type as auto. But when remote system is restarted the service is not starting until I manually I start. Can any one help me suggesting what might be the issue here.

Command : sc create \\10.140.345.34 TestServer displayname= "TestServer" binpath= "\\10.140.159.78\c$\Services\Service.exe" start= auto

Answers (3)