Run a scheduled task as an unprivileged user remotely

Solution 1:

I had a similar issue under Windows Server 2012 R2 and found the following working solution:

  • grant the users write access to the XML files in c:\windows\system32\tasks
  • grant the users permissions for Powershell Remoting
  • let users use Powershell Invoke-Command cmdlet to run SCHTASKS on the remote server:
powershell.exe -command "invoke-command {schtasks /run /tn TASKNAME} -computer SERVERNAME"