To know the precise cause of the error, this must be done:
Go to Start and look for the Run Window, then type regedit
1. Then go to this path: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Foglight
2. Edit this entry: ImagePath
Add this string:
The result should appear like this:
C:\Quest_Software\Foglight\bin\fms.exe" --manager-start-service -Dquest.debug=1
Once it is saved, verify the change in the service itself, in the Path to Executable.
Start the Service.
In some instances, this behavior appears because the right to log on as a service is not present.