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

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
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:


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!

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.