JSI Tip 6386. When you start a service, you receive '%1 Is Not a Valid Win32 Application' and Event 7000 is logged?

Jerold Schulman

February 27, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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!



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like