I have a new Windows Server 2008 R2 host with a strange (?) behavior. I try to schedule a new task into Task Scheduler. I'm using a user that's part of administrators group.
- If I do it from the Task Scheduler GUI - the task is scheduled successfully.
- If I try to do it from a cmd window - it fails with "access denied" (no further info).
- If I open the cmd window with "Run as administrator" -it is scheduled successfully.
I have to make #2 works since I use it in a batch file. Can you tell me what could be the reason and how to resolve it?
Thank you