Knowledge Base

PRTG service is not started (Event ID 7000/Error 193 in system log)

Diese Seite steht leider noch nicht auf Deutsch zur Verfügung. Wir bitten um Ihr Verständnis!

On some systems the PRTG service is not started automatically and Event 7000 ("Error 193: %1 is not a valid Win32 application.") is written to the system log. This issue may occur if the path of the executable file for the service contains spaces.

This problem occurs if the path to the PRTG service executable contains spaces and if there is a file/folder with a similar name on your disk.

From the Microsoft Knowledge Base:

CAUSE: This issue may occur if the path of the executable file for the service contains spaces. When Windows starts a service, it parses the path of the service from left to right. If both of the following conditions are true:

  • The path of a service?s executable file contains spaces.
  • There is a file or folder on your computer?s hard disk that has the same name as a file or folder in the path to the service's executable file.

Windows may locate and try to run the file or folder before it locates and runs the executable file for the service. For example, if the path of the executable file for a service is C:\Program Files\MyProgram\MyService.exe, and if a folder that is named C:\Program also exists on your hard disk, Windows locates the C:\Program folder on your hard disk before the C:\Program Files\MyProgram\My Service.exe file, and then tries to run it.

SOLUTION: To resolve this issue, add quotation marks around the following value in the Windows registry, where $SERVICENAME$ is the name of the service: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\...
     ...Services\$SERVICENAME$\ImagePath

Please see the Microsoft Knowledge Base for more information: http://support.microsoft.com/default.aspx?scid=kb;en-us;812486

By Category