When a services start, you receive:
Error 193: %1 is not a valid Win32 application.
The System event log contains:
Event ID: 7000
Source: Service Control Manager
Type: Error
Description:
The <ServiceName> service failed to start due to the following error: %1 is not a valid Win32 application.
This problem may occur if the ImagePath Value Name for this service contains a space and the value is not encapsulated in quote marks.
To resolve the problem:
1. Use the Registry Editor to navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>
2. Double-click the ImagePath Value Name and encapsulate the string in quote marks.
3. Press OK.
4. Exit the Registry Editor.
5. Open a CMD prompt and type net start <ServiceName>.
Example If the data value of ImagePath is
C:\Program Files\MyStuff\MyService.exe, change it to "C:\Program Files\MyStuff\MyService.exe".
NOTE: See 'C:\PROGRAM' is a dangerous object!