I'm trying to setup a user to be able to run a scheduled task on a remote
server using the following command:
schtasks /run /s MyServer /TN MyTask
Of course, this works fine if I make the user a local administrator on the
server hosting the scheduled task. But...I don't want this user to have full
administrator rights on the server.
I gave the user read/execute permissions on the security tab for the task
itself. I've also given the user "Log on as a batch job" permissions in the
local security policy, but I am still getting an "ERROR: Access is denied."
message.
As a work around I also tried giving a test user RDP access to the server to
see if that would do the trick, but I get an "Access is denied" message when
I click on the Scheduled Tasks icon in the control panel.
Anyone have any ideas on this one?
Bookmarks