What does HRESULT 0x800F021D (SPAPI_E_BAD_INTERFACE_INSTALLSECT) mean?

 
Previous Next
SPAPI_E_DEVICE_INTERFACE_REMOVED SPAPI_E_NO_SUCH_INTERFACE_CLASS

SPAPI_E_BAD_INTERFACE_INSTALLSECT

SPAPI_E_BAD_INTERFACE_INSTALLSECT (0x800F021D) is a Windows SetupAPI driver-installation error. This error identifies an invalid interface-installation section in the INF file. It is normally a driver-package authoring problem: the device interface directives or the section they reference are malformed or incomplete.

What to check

  • Find the named INF section and line number in setupapi.dev.log.
  • Check that referenced interface classes and installation sections exist and use the correct syntax for the target Windows version.
  • Use an updated package from the device vendor rather than editing a signed INF in place.

Microsoft: Overview of INF files

Microsoft: SetupAPI device installation log

Microsoft: Components of a driver package


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