snootalope
IS-IT--Management
I'm trying to run a scheduled tasks as a user that is a member of the backup operators group. If I go to scheduled services app and right click and run the task, it works just fine. However, if I try to call the scheduled task from a command line like so:
C:\schtasks /Run /TN "task"
I get the error:
ERROR: Unable to start the task scheduler service.
If I make this user a member of the Administrators group, it runs just fine from the command line. Thing is, I can't have this user being an admin.
I've also tried the Run As in the scheduled task properties and set it to run as admin, same result. Works by using the gui, but through the command line it fails with the same error.
Anyone encountered this before?
C:\schtasks /Run /TN "task"
I get the error:
ERROR: Unable to start the task scheduler service.
If I make this user a member of the Administrators group, it runs just fine from the command line. Thing is, I can't have this user being an admin.
I've also tried the Run As in the scheduled task properties and set it to run as admin, same result. Works by using the gui, but through the command line it fails with the same error.
Anyone encountered this before?