Windows Job ends with Error code '1314 (= A required privilege is not held by the client.)'

Document ID : KB000087471
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U2001000 Job '' could not be started. Error code '1314 (= A required privilege is not held by the client.)'.

A Windows job ends with the error message described above.
Environment:
OS: Windows
OS Version: N/A
Cause:
Cause type:
Configuration
Root Cause: Local rights are missing on the OS layer.
Resolution:
Check the permissions for the user starting either the agent or the service manager.
Check the logon= setting in the agent's ini file.
       
1) The user who starts the agent or the service manager needs to explicitly have the following permissions (Found under "User Rights Assignment" in the "Local Security Settings on Windows):

Act as part of the operating system
Adjust memory quotas for a process
Allow log on locally
Back up files and directories **)
Logon as batch job *)
Logon as service
Replace a process level token
Restore files and directories
*) This right is only required if you start jobs by using the start option "logon as batch user".

**) This right is necessary for the execution of job objects.
For the extended File Transfer object (as of v9) this right is usually optional. It is necessary, however, when the agent transfers encrypted files with a file transfer because the agent uses the WinAPI "LoadUserProfile".

PLEASE NOTE: These cannot be implied through the group the user belongs to having the rights, the user itself must have the rights explicitly.

2) Be sure that the logon= setting in the Agent's ini file is set to logon=1


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A