Privileges
User must have permission to connect from the Deployment agent computer to the target computer and create the scheduled task on the target computer.
For additional references, please see Microsoft's guide here: https://docs.microsoft.com/en-us/windows/win32/api/taskschd/nf-taskschd-itaskservice-connect