%1 IS NOT A VALID WIN32 Application

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

Log onto the computer experiencing the problem.

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

We recommend you back up the registry prior to making any modifications to it. Editing the registry can cause serious damage to the operating system.