This issue started happening after the upgrade of Windows 2012 to Windows 2019.
This is the error message found at the end of the Job Report:
<...>
C:\>C:\Automic\Agents\Windows\WINDOWS_AGENT\bin\UCXJWX6M.EXE JNR=0194881610 MNR=0003 PNR=2300 IPA=###.###.###.### TYP=E RET=00000000 TXT=" Job ended"
Program 'UC4 Job Messenger' version '12.3.9+hf.2.build.1665688306044' started
Error 'General error occurred in function 'CProcess.cpp#sys::Process::getParentId:295'', reason: 24 - Das Programm hat einen Befehl ausgegeben, aber die Befehlslänge ist falsch. >CProcess.cpp#sys::Process::getParentId:295<
C:\>GOTO JOBENDE
ATTENTION - UC4:JOBMESSENGER failed
JOB ended with RETCODE 0
JOBMSG ended with RETCODE 1
JOB will abort with RETCODE from JOBMSG step
Windows 2019 and higher
AE v12.3 and AE v21
This is a defect
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Windows Agent
Automation.Engine 21.0.9 - Available
Fix AE-33714