Symptoms
When staring an Agent you can see the following lines in the Agent´s log:
U0022023 No associated window can be found for process 'Agentname'. Exit code 66
Cause
This error, "U0022023 No associated window can be found for process..." is a Windows error, documented in MSKB articles 142676, 175687, and 184802. There are followingalternatives to correct this error.
Resolution
The "No associated windows" error with exit code 66 usually has one of these two options as a solution:
1. The log files are locked (this happens with Windows operating systems where it will keep a log file locked for some reason). Try deleting the log files in the \Temp directory the Agent (DO NOT restore them from the recycle bin afterwards). If necessary, add write and modify permissions for the user starting the Agent for the temp directory.
2. The other option is click the link below and make the changes in the Microsoft Windows registry and in user rights management, as described on the Microsoft site - http://support.microsoft.com/default.aspx?scid=kb;en-us;184802 .
3. Check the Agent´s ini file if there is an character before the [GLOBAL] section. If so, delete it.