I have created a batch file startservice.bat to start a windows service and scheduling this batch files using task scheduler on windows server 2012 R2.
startservice.bat
NET START myservice
But after scheduler runs a cmd pop up comes but service is not actually started.
If I run this batch file manually then service starts.