I have tried Google, but perhaps Google mojo is bad, since I have not found and suitable explanation
I have a batch file that stops and starts some services. This batch file is then scheduled in task scheduler using a service account.
If I change the extension from .bat to .cmd then the script fails, since the user does not appear to have the rights to stop and start a service.
But why does this change behavior just by changing the extension of the script?