%1 IS NOT A VALID WIN32 Application

In rare occasions, error message %1 Is Not a Valid Win32 Application may be returned when the Windows Agent service attempts to start. This may be a result of the Agent's ImagePath in the registry. The following steps describe how to resolve this issue:

Solution

We recommend you back up the registry before you modify it. Editing the registry can cause serious damage to the operating system.

  1. Sing into the computer experiencing the problem.
  2. Press the Windows Key and r button together.
  3. Type regedit in the open or run field then OK to apply.
  4. In the registry editor navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Advanced Monitoring Agent
  5. Double-click ImagePath.
  6. Add quotation marks around the complete path of the executable file for the service, i.e: "C:\Program Files\Advanced Monitoring Agent\winagent.exe"
  7. Click OK to save then exit out of the registry editor.
  8. Start the Agent service.