What does Windows error code 308 (ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT) mean?

 
Could be also:
ConstantTypeOS
HTTP_STATUS_PERMANENT_REDIRECTHTTP CodeAny
DRIVE_EXTENDERBugCheck CodeWindows
Previous Next
ERROR_INVALID_LOCK_RANGE ERROR_NOTIFICATION_GUID_ALREADY_DEFINED

ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT

The executable requires a missing subsystem

ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT means the loader recognized the image but could not find the operating-system subsystem needed to execute it. This is different from a missing DLL: the executable format or subsystem declaration itself cannot be supported in the current environment.

Diagnostic checks

  • Inspect the PE subsystem and machine type.
  • Confirm that optional Windows components required by the application are enabled.
  • Compare the binary with the target Windows edition and architecture.
  • Check whether the file is an obsolete 16-bit or otherwise unsupported image.

Resolution

Deploy a build targeting a subsystem available on the destination system, or install the documented optional component when that is the intended dependency.

References


Looking for a different code? Search another status or error code.