JSI Tip 6386. When you start a service, you receive '%1 Is Not a Valid Win32 Application' and Event 7000 is logged?
February 27, 2003
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 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_MACHINESYSTEMCurrentControlSetServices
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 .
Example If the data value of ImagePath is
C:Program FilesMyStuffMyService.exe, change it to "C:Program FilesMyStuffMyService.exe".
NOTE: See 'C:PROGRAM' is a dangerous object!
About the Author
You May Also Like