Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Errors when using credentials

Error Code: WINDOWS-1168 (CredRead)

Code Block
languagejava
titleEnglish: WINDOWS-1168
Windows Credential Manager does not return an entry named 'MyCredentialsKey': WINDOWS-1168 (CredRead) Element not found.

...

This error message tells you that the credentials key that you added to the job configuration does not match a respective entry with the Crendential Manager. Possible reasons include wrong spelling or the fact that the credentials have not been added by the Agent account but by some different account.

 

Error Code: COM-80020009 (Unsupported character in Windows user name)

Code Block
languagejava
titleCOM-80020009 Unsupported character in Windows user name
COM-80020009 java.lang.IllegalArgumentException: requirement failed: Unsupported character in Windows user name: 'MYDOMAIN\JOBUSER'
  • The account for the target user must be specified by Unicode characters and digits including space, comma_, - and @
  • For domain users specify the   user principal name (UPN) in the format username@DOMAIN

Errors when setting file permissions

Error Code: COM-80020009 (icacls.exe)

Code Block
languagejava
titleEnglish
COM-80020009 java.lang.RuntimeException: Windows command failed: C:\Windows\System32\icacls.exe => JOBUSER: No mapping between account names and security IDs was done.

...

 

A wrong username has been specfied for the target user with the Credential Manager. You can use the runas command line utility to check valid user namesCheck the Credential Manager for use of a valid user name and password.

Errors when performing a logon for a target user

Error Code: WINDOWS-1326 (LogonUser)

Code Block
languagejava
titleEnglish: WINDOWS-1326
WINDOWS-1326 (LogonUser) Logon failure: The user name or password is incorrect.

...

Frequently a wrong password has been used. This is suggested from the fact that in the preceding step the call to Icalcs to set permissions for log files did work for that target user, otherwise an exception would have been raised.

You could use the runas command line utility to check valid user namesCheck the Credential Manager for use of a valid user  name and password.

Error Code: WINDOWS-1385 (LogonUser)

Code Block
languagejava
titleEnglish: Windows-1385
WINDOWS-1385 (LogonUser) Logon failure: the user has not been granted the requested logon type at this computer.

...

The target user for the job is not assigned the following permissions:

  • Permission: SE_BATCH_LOGON_NAME
    • English: Log on as a batch job
    • German: Anmelden als Stapelverarbeitungsauftrag

Errors when creating

...

user environment

Error Code: WINDOWS-5 (CreateEnvironmentBlock)

Code Block
languagejava
titleEnglish: WINDOWS-5
WINDOWS-5 (CreateEnvironmentBlock) Access is denied
Code Block
languagejava
titleGerman: WINDOWS-5
collapsetrue
WINDOWS-5 (CreateEnvironmentBlock) Zugriff verweigert

 

  • Such problems can occur if at the time of process start for the target user an interactive Windows application is open for that target user on the same machine that the Agent is operated for, e.g. when using the runas utility in a console window or when starting a browser for the target user.
  • This problem does not occur when a number of parallel jobs for the target user are executed by an Agent.

Errors when loading a user profile

Error Code: WINDOWS-1314 (LoadUserProfile)

Code Block
languagejava
titleEnglish: WINDOWS-1314
WINDOWS-1314 (LoadUserProfile) A required privilege is not held by the client.

...

 

The Agent account is not assigned one or more of the following permissions: 

  • Permission: SE_BACKUP_NAME

    • English: Back up files and directories
    • German: Sichern von Dateien und Verzeichnissen
  • Permission: SE_RESTORE_NAME

    • English: Restore files and directories
    • German: Wiederherstellen von Dateien und Verzeichnissen

Error Code: WINDOWS-5 (LoadUserProfile)

Code Block
languagejava
titleEnglish: WINDOWS-5
WINDOWS-5 (LoadUserProfile) Access is denied
Code Block
languagejava
titleGerman: WINDOWS-5
collapsetrue
WINDOWS-5 (LoadUserProfile) Zugriff verweigert

 

Common causes for this error include:

  • The job  is configured to load the target user profile but the Agent account is not assigned the Administrator role. 

  • This role is required for the Agent acount if the target user profile should be loaded.

...