I have developed a C# program, although when I try and create a service from it e.g.
sc create "servicetest" binPath=
"C:\Users\Admin\Desktop\test\test.exe" start= auto error= ignore
I get the following message:
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
You need to create it as a service through the Visual Studio interface, which will provide you with the correct classes and methods you need to implement.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With