Error 193: %1 is not a valid Win32 application

You get an error when starting a Windows Service:

Error 193: %1 is not a valid Win32 application

This could be caused by a folder on your hard drive that has a similar name to the folder that contains the path to the service. For example, if the path of the executable file for a service is C:\Program Files\ProgramName\ServiceName.exe, and if a folder that is named C:\Program also exists on your hard disk, Windows locates the C:\Program folder on your hard disk before the C:\Program Files\ProgramName\ServiceName.exe file, and then tries to run it.

You can get rid of the Program folder, or perform the following steps:

1. Click Start > Run and type REGEDIT and click OK.

2. Click the plus sign next to HKEY_LOCAL_MACHINE
then CurrentControlSet
then Services
then ServiceName

3. Right-click ImagePath on the right side. In the Value data box, place quotes in the path.


Change: C:\Program Files\ProgramName\ServiceName.exe

To: “C:\Program Files\ProgramName\ServiceName.exe”

4. Click OK and close REGEDIT. Restart the computer.


  1. raman says

    what is the service name..
    please explain it..i got all the points as mentioned by u…
    only servicename to know ?

  2. emily says

    I can’t find the service name. How can I find it? I am receiving this error message when trying to open & view my cellphone media files using windows.

  3. Carlos Farias says

    You are Great!

    Thank You Very Much!
    I was wasting hours to figure out what was the cause of this error.
    I loose some hair fixing this, but today I am a bit wise.

  4. Amund says

    I got the same error when trying to run a .NET 4.5 Windows Service on Windows Server 2003 (which doesn’t support .NET 4.5, but 4.0). Builded the service for .NET 4.0 and everything was OK.

  5. Alex says

    I get this error when trying to start up a program. How am I to know what service its using?

  6. aarthi says

    Hi, How to keep the display settings?. Each time I restart the computer, the resolution is changed. Kindly help.

  7. iggy says

    Problem: install iprint(Novell) printer. Starts the process and errors out with Error 193: %1 is not a valid Win32 application… Not able to identify a particular service failure on the SYSTEM event log.
    Solution: Scanned the HKLM\SYSTEM\Controlset001\Control\Print\Printers\.. and removed inactive printers. Installed printer successfully.

  8. Jeggs says

    Yeah i have an hp pavilion and i know due to a virus named i cannot access C Drive (HP_PAVILION) a message comes up with
    “C:\resycled\ is not a valid Win32 Application”

    i deleted “C:\resycled” but now the same problem just different message “Windows cannot find ‘resycled\’. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.”

    Any Ideas? Thanks

  9. Robyn Day says

    I have the same problem with Vista. New HP Pavilion. Hard drive failure. Best buy replaced and reinstalled OS and returned. Now have flash error and can’t open PDF files. Error %1 not a valid Win32 application. Also do not have “ServiceName” to do above repair. Any help because Best Buy is useless once paid.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>