D
dpfeuffer
Guest
Hi,
I have a signed 64-bit non-PnP KMDF driver, build with WDK 7600.16385.1, that runs under Windows 7..10. For the driver installation, I use a console application (devinst.exe), down stripped from the MS devcon sample code.
The driver installation works without any problem till Windows 10 1803.
Since Windows 10 1809, the driver installation fails when devinst.exe calls UpdateDriverForPlugAndPlayDevicesW(). GetLastError return the error code 0xe0000203 ERROR_NO_DRIVER_SELECTED.
The devinst.exe call looks like:
devinst.exe -i C:\MEN\ErtcSmb\Drivers\AMD64\13bb0370_smbpci.inf root\MEN_SMBPCI_FCH_SMBUS
with is functional the same as the devon call:
devcon.exe install C:\MEN\ErtcSmb\Drivers\AMD64\13bb0370_smbpci.inf root\MEN_SMBPCI_FCH_SMBUS
devcon.exe from the WDK for Windows 10, version 1809, produces the same error code as devinst.exe at the UpdateDriverForPlugAndPlayDevicesW() function call.
When I install the driver under 1803 and upgrade then to 1809, the driver works fine. So the problem is "only" the installation under 1809.
I compared the setupapi.dev.txt log file from 1803 with 1809. The logs are identical until:
[1803]
sto: {Setup Import Driver Package - exit (0x00000000)} 16:37:05.751
dvi: Searching for hardware ID(s):
dvi: root\men_smbpci_fch_smbus
dvi: Class GUID of device remains: {3d9f85af-e5e4-4b14-aab9-c01473275b9b}.
dvi: {Plug and Play Service: Device Install for ROOT\MEN\13BB0370_SMBPCI+INF&ROOT-MEN_SMBPCI_FCH_SMBUS}
...
[1809]
sto: {Setup Import Driver Package - exit (0x00000000)} 14:17:32.202
dvi: Searching for hardware ID(s):
dvi: root\men_smbpci_fch_smbus
ndv: {Update Device Driver - exit(e0000203)}
!!! ndv: Failed to install device instance 'ROOT\MEN\13BB0370_SMBPCI+INF&ROOT-MEN_SMBPCI_FCH_SMBUS'. Error = 0xe0000203
dvi: {DIF_DESTROYPRIVATEDATA} 14:17:32.258
dvi: Class installer: Enter 14:17:32.266
dvi: Class installer: Exit
dvi: Default installer: Enter 14:17:32.280
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 14:17:32.294
<<< Section end 2019/01/11 14:17:32.300
<<< [Exit status: FAILURE(0xe0000203)]
Have you any idea what can cause the error code 0xe0000203 ERROR_NO_DRIVER_SELECTED from UpdateDriverForPlugAndPlayDevices until Windows 10 1809?
Regards,
Dieter
Dieter
Continue reading...
I have a signed 64-bit non-PnP KMDF driver, build with WDK 7600.16385.1, that runs under Windows 7..10. For the driver installation, I use a console application (devinst.exe), down stripped from the MS devcon sample code.
The driver installation works without any problem till Windows 10 1803.
Since Windows 10 1809, the driver installation fails when devinst.exe calls UpdateDriverForPlugAndPlayDevicesW(). GetLastError return the error code 0xe0000203 ERROR_NO_DRIVER_SELECTED.
The devinst.exe call looks like:
devinst.exe -i C:\MEN\ErtcSmb\Drivers\AMD64\13bb0370_smbpci.inf root\MEN_SMBPCI_FCH_SMBUS
with is functional the same as the devon call:
devcon.exe install C:\MEN\ErtcSmb\Drivers\AMD64\13bb0370_smbpci.inf root\MEN_SMBPCI_FCH_SMBUS
devcon.exe from the WDK for Windows 10, version 1809, produces the same error code as devinst.exe at the UpdateDriverForPlugAndPlayDevicesW() function call.
When I install the driver under 1803 and upgrade then to 1809, the driver works fine. So the problem is "only" the installation under 1809.
I compared the setupapi.dev.txt log file from 1803 with 1809. The logs are identical until:
[1803]
sto: {Setup Import Driver Package - exit (0x00000000)} 16:37:05.751
dvi: Searching for hardware ID(s):
dvi: root\men_smbpci_fch_smbus
dvi: Class GUID of device remains: {3d9f85af-e5e4-4b14-aab9-c01473275b9b}.
dvi: {Plug and Play Service: Device Install for ROOT\MEN\13BB0370_SMBPCI+INF&ROOT-MEN_SMBPCI_FCH_SMBUS}
...
[1809]
sto: {Setup Import Driver Package - exit (0x00000000)} 14:17:32.202
dvi: Searching for hardware ID(s):
dvi: root\men_smbpci_fch_smbus
ndv: {Update Device Driver - exit(e0000203)}
!!! ndv: Failed to install device instance 'ROOT\MEN\13BB0370_SMBPCI+INF&ROOT-MEN_SMBPCI_FCH_SMBUS'. Error = 0xe0000203
dvi: {DIF_DESTROYPRIVATEDATA} 14:17:32.258
dvi: Class installer: Enter 14:17:32.266
dvi: Class installer: Exit
dvi: Default installer: Enter 14:17:32.280
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 14:17:32.294
<<< Section end 2019/01/11 14:17:32.300
<<< [Exit status: FAILURE(0xe0000203)]
Have you any idea what can cause the error code 0xe0000203 ERROR_NO_DRIVER_SELECTED from UpdateDriverForPlugAndPlayDevices until Windows 10 1809?
Regards,
Dieter
Dieter
Continue reading...