I am creating a Windows Service using sc commands with my application
.exe file (app.exe) but after registering while starting with sc start the serice is not starting.
And how to give configuration file while creating a Windows Service?
After creating I am getting errors
"[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion."
sc create servicename binpath= "path of executable"