none
Error 0xe0000246 in installing driver RRS feed

  • Question

  • Hi,

    My driver has been successfully installed in hundreds of computers over several years. This is the first time I have seen this particular error on a customer's system.

    This particular error doesn't seem to have much documentation about it. This is a KMDF 1.9 driver that's trying to install a software only device.

    Can you tell me how do I find more information as to what went wrong and how to maybe resolve it?

    >>>  [Setup Import Driver Package - C:\Program Files\Mediafour\MacDrive 10\RAID Driver\MDRAID.inf]
    >>>  Section start 2016/06/08 23:56:48.434
          cmd: C:\Windows\System32\MsiExec.exe -Embedding BF4295DB2BCBC482522276A5E368E2DD E Global\MSI0000
         inf: Provider: Mediafour Corporation
         inf: Class GUID: {4d36e97d-e325-11ce-bfc1-08002be10318}
         inf: Driver Version: 01/25/2016,10.0.0.0
         inf: Catalog File: MDRAID.cat
         pol: {Driver package policy check} 23:56:48.442
         pol: {Driver package policy check - exit(0x00000000)} 23:56:48.442
         sto: {Stage Driver Package: C:\Program Files\Mediafour\MacDrive 10\RAID Driver\MDRAID.inf} 23:56:48.442
         inf:      {Query Configurability: C:\Program Files\Mediafour\MacDrive 10\RAID Driver\MDRAID.inf} 23:56:48.444
         inf:           Driver package uses WDF.
         inf:           Driver package 'MDRAID.inf' is configurable.
         inf:      {Query Configurability: exit(0x00000000)} 23:56:48.445
         flq:      Copying 'C:\Program Files\Mediafour\MacDrive 10\RAID Driver\MDRAID.sys' to 'C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.sys'.
         flq:      Copying 'C:\Program Files\Mediafour\MacDrive 10\RAID Driver\WdfCoInstaller01009.dll' to 'C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\WdfCoInstaller01009.dll'.
         flq:      Copying 'C:\Program Files\Mediafour\MacDrive 10\RAID Driver\MDRAID.cat' to 'C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.cat'.
         flq:      Copying 'C:\Program Files\Mediafour\MacDrive 10\RAID Driver\MDRAID.inf' to 'C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.inf'.
         sto:      {DRIVERSTORE IMPORT VALIDATE} 23:56:48.501
         sig:           {_VERIFY_FILE_SIGNATURE} 23:56:48.524
         sig:                Key      = MDRAID.inf
         sig:                FilePath = C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.inf
         sig:                Catalog  = C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.cat
    !    sig:                Verifying file against specific (valid) catalog failed! (0x800b0109)
    !    sig:                Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:           {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 23:56:48.535
         sig:           {_VERIFY_FILE_SIGNATURE} 23:56:48.536
         sig:                Key      = MDRAID.inf
         sig:                FilePath = C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.inf
         sig:                Catalog  = C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}\MDRAID.cat
         sig:                Success: File is signed in Authenticode(tm) catalog.
         sig:                Error 0xe0000241: The INF was signed with an Authenticode(tm) catalog from a trusted publisher.
         sig:           {_VERIFY_FILE_SIGNATURE exit(0xe0000241)} 23:56:48.550
         sto:      {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 23:56:48.627
         sig:      Signer Score = 0x0F000000
         sig:      Signer Name  = Mediafour Corporation
         sto:      {DRIVERSTORE IMPORT BEGIN} 23:56:48.628
         sto:      {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 23:56:48.628
         cpy:      {Copy Directory: C:\WINDOWS\System32\DriverStore\Temp\{1ade73ce-6f13-7547-88a1-226fa150372c}} 23:56:48.628
         cpy:           Target Path = C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e
         cpy:      {Copy Directory: exit(0x00000000)} 23:56:48.630
         idb:      {Register Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf} 23:56:48.631
         idb:           Created driver package object 'mdraid.inf_amd64_cf2de6f715e6aa4e' in SYSTEM database node.
         idb:           Created driver INF file object 'oem47.inf' in SYSTEM database node.
         idb:           Registered driver package 'mdraid.inf_amd64_cf2de6f715e6aa4e' with 'oem47.inf'.
         idb:      {Register Driver Package: exit(0x00000000)} 23:56:48.633
         idb:      {Publish Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf} 23:56:48.633
         idb:           Activating driver package 'mdraid.inf_amd64_cf2de6f715e6aa4e'.
         cpy:           Published 'mdraid.inf_amd64_cf2de6f715e6aa4e\mdraid.inf' to 'oem47.inf'.
         idb:           Indexed 2 device IDs for 'mdraid.inf_amd64_cf2de6f715e6aa4e'.
         sto:           Flushed driver database node 'SYSTEM'. Time = 16 ms
         idb:      {Publish Driver Package: exit(0x00000000)} 23:56:48.651
         sto:      {DRIVERSTORE IMPORT END} 23:56:48.655
         sig:           Installed catalog 'MDRAID.cat' as 'oem47.cat'.
         sto:      {DRIVERSTORE IMPORT END: exit(0x00000000)} 23:56:48.661
         sto: {Stage Driver Package: exit(0x00000000)} 23:56:48.662
    <<<  Section end 2016/06/08 23:56:48.671
    <<<  [Exit status: SUCCESS]


    >>>  [SetupCopyOEMInf - C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf]
    >>>  Section start 2016/06/08 23:56:48.672
          cmd: C:\Windows\System32\MsiExec.exe -Embedding BF4295DB2BCBC482522276A5E368E2DD E Global\MSI0000
         inf: Copy style: 0x00040000
         inf: Driver Store Path: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\mdraid.inf
         inf: Published Inf Path: C:\WINDOWS\INF\oem47.inf
         sig: Installing catalog MDRAID.cat as: oem47.CAT
    <<<  Section end 2016/06/08 23:56:48.683
    <<<  [Exit status: SUCCESS]


    >>>  [Device Install (UpdateDriverForPlugAndPlayDevices) - Root\MDRAIDBUS]
    >>>  Section start 2016/06/08 23:56:48.702
          cmd: C:\Windows\System32\MsiExec.exe -Embedding BF4295DB2BCBC482522276A5E368E2DD E Global\MSI0000
         ndv: INF path: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf
         ndv: Install flags: 0x00000001
         ndv: {Update Device Driver - ROOT\SYSTEM\0001}
         ndv:      Search options: 0x00000080
         ndv:      Searching single INF 'C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf'
         dvi:      {Build Driver List} 23:56:48.712
         dvi:           Searching for hardware ID(s):
         dvi:                root\mdraidbus
         dvi:           Created Driver Node:
         dvi:                HardwareID   - Root\MDRAIDBUS
         dvi:                InfName      - c:\windows\system32\driverstore\filerepository\mdraid.inf_amd64_cf2de6f715e6aa4e\mdraid.inf
         dvi:                DevDesc      - MDRAID Device
         dvi:                Section      - MDRAID_Device.NT
         dvi:                Rank         - 0x00ff0000
         dvi:                Signer Score - Authenticode
         dvi:                DrvDate      - 01/25/2016
         dvi:                Version      - 10.0.0.0
         dvi:      {Build Driver List - exit(0x00000000)} 23:56:48.715
         dvi:      {DIF_SELECTBESTCOMPATDRV} 23:56:48.715
         dvi:           Default installer: Enter 23:56:48.716
         dvi:                {Select Best Driver}
         dvi:                     Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.
         dvi:                     Selected:
         dvi:                          Description - [MDRAID Device]
         dvi:                          InfFile     - [c:\windows\system32\driverstore\filerepository\mdraid.inf_amd64_cf2de6f715e6aa4e\mdraid.inf]
         dvi:                          Section     - [MDRAID_Device]
         dvi:                {Select Best Driver - exit(0x00000000)}
         dvi:           Default installer: Exit
         dvi:      {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 23:56:48.718
         ndv:      Forcing driver install:
         ndv:           Inf Name       - oem47.inf
         ndv:           Driver Date    - 01/25/2016
         ndv:           Driver Version - 10.0.0.0
         ndv:      Driver package 'C:\WINDOWS\INF\oem47.inf' exists under 'C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\mdraid.inf' (oem47.inf).
         dvi:      Searching for hardware ID(s):
         dvi:           root\mdraidbus
         dvi:      Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.
         ump:      Installation will be processed asynchronously
    !!!  ndv:      Device install failed for device.
    !!!  ndv:      Error 0xe0000246: One of the installers for this device cannot perform the installation at this time.
         ndv:      Installing NULL driver.
         ump:      Installation will be processed asynchronously
         ndv: {Update Device Driver - exit(e0000246)}
    !!!  ndv: Failed to install device instance 'ROOT\SYSTEM\0001'. Error = 0xe0000246
    <<<  Section end 2016/06/08 23:56:48.724
    <<<  [Exit status: FAILURE(0xe0000246)]


    >>>  [Setup Delete Driver Package - C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf]
    >>>  Section start 2016/06/08 23:56:48.728
          cmd: C:\Windows\System32\MsiExec.exe -Embedding BF4295DB2BCBC482522276A5E368E2DD E Global\MSI0000
         pol: {Driver package policy check} 23:56:48.734
         pol: {Driver package policy check - exit(0x00000000)} 23:56:48.735
         sto: {Unstage Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf} 23:56:48.735
         sto:      {DRIVERSTORE DELETE BEGIN} 23:56:48.735
         sto:      {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 23:56:48.736
         idb:      {Unpublish Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf} 23:56:48.736
         idb:           Clearing active driver package 'mdraid.inf_amd64_cf2de6f715e6aa4e'.
         cpy:           Unpublished 'oem47.inf'.
         idb:           Deindexed 2 device IDs for 'mdraid.inf_amd64_cf2de6f715e6aa4e'.
         sto:           Flushed driver database node 'SYSTEM'. Time = 0 ms
         idb:      {Unpublish Driver Package: exit(0x00000000)} 23:56:48.745
         idb:      {Unregister Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e\MDRAID.inf} 23:56:48.746
         idb:           Unregistered driver package 'mdraid.inf_amd64_cf2de6f715e6aa4e' from 'oem47.inf'.
         idb:           Deleted driver package object 'mdraid.inf_amd64_cf2de6f715e6aa4e' from SYSTEM database node.
         idb:           Deleted driver INF file object 'oem47.inf' from SYSTEM database node.
         idb:      {Unregister Driver Package: exit(0x00000000)} 23:56:48.747
         cpy:      {Delete Directory: C:\WINDOWS\System32\DriverStore\FileRepository\mdraid.inf_amd64_cf2de6f715e6aa4e} 23:56:48.747
         cpy:      {Delete Directory: exit(0x00000000)} 23:56:48.749
         sto:      {DRIVERSTORE DELETE END} 23:56:48.749
         sig:           Uninstalled catalog 'oem47.cat'.
         sto:      {DRIVERSTORE DELETE END: exit(0x00000000)} 23:56:48.753
         sto: {Unstage Driver Package: exit(0x00000000)} 23:56:48.753
    <<<  Section end 2016/06/08 23:56:48.756
    <<<  [Exit status: SUCCESS]

    Thanks!

    Mridul

    Thursday, June 9, 2016 7:35 PM

Answers

  • SOLVED !!

    open regedit

    go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DeviceInstall\Parameters

    change DeviceInstallDisabled to 0

    restart ! done !!

    Thursday, May 2, 2019 9:54 PM

All replies

  • Post your INF file

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Thursday, June 9, 2016 8:05 PM
    Moderator
  • ;
    ; MDRAID.inf
    ;

    [Version]
    Signature="$WINDOWS NT$"
    Class=System
    ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
    Provider=%ManufacturerName%
    CatalogFile=MDRAID.cat
    DriverVer=02/29/2016,10.0.0.0
    DriverPackageType=PlugAndPlay

    [DestinationDirs]
    DefaultDestDir = 12

    ; ================= Class section =====================

    [SourceDisksNames]
    1 = %DiskName%,,,""

    [SourceDisksFiles]
    MDRAID.sys  = 1,,

    ;*****************************************
    ; Install Section
    ;*****************************************

    [Manufacturer]
    %ManufacturerName%=Standard,NTamd64

    [Standard.NTamd64]
    %MDRAID.DeviceDesc%=MDRAID_Device, Root\MDRAIDBUS

    [MDRAID_Device.NT]
    CopyFiles=Drivers_Dir

    [Drivers_Dir]
    MDRAID.sys

    ;-------------- Service installation
    [MDRAID_Device.NT.Services]
    AddService = MDRAID,%SPSVCINST_ASSOCSERVICE%, MDRAID_Service_Inst, MDRAID_EventLog_Inst

    ; -------------- MDRAID driver install sections
    [MDRAID_Service_Inst]
    DisplayName    = %MDRAID.SVCDESC%
    ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
    StartType      = 0               ; SERVICE_BOOT_START
    ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
    ServiceBinary  = %12%\MDRAID.sys
    LoadOrderGroup = Extended Base

    [MDRAID_EventLog_Inst]
    AddReg = MDRAID_EventLog_AddReg

    [MDRAID_EventLog_AddReg]
    HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\drivers\MDRAID.sys"
    HKR,,TypesSupported,0x00010001,7

    ;
    ;--- MDRAID_Device Coinstaller installation ------
    ;

    [DestinationDirs]
    MDRAID_Device_CoInstaller_CopyFiles = 11

    [MDRAID_Device.NT.CoInstallers]
    AddReg=MDRAID_Device_CoInstaller_AddReg
    CopyFiles=MDRAID_Device_CoInstaller_CopyFiles

    [MDRAID_Device_CoInstaller_AddReg]
    HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

    [MDRAID_Device_CoInstaller_CopyFiles]
    WdfCoInstaller01009.dll

    [SourceDisksFiles]
    WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

    [MDRAID_Device.NT.Wdf]
    KmdfService =  MDRAID, MDRAID_wdfsect
    [MDRAID_wdfsect]
    KmdfLibraryVersion = 1.9

    [Strings]
    SPSVCINST_ASSOCSERVICE= 0x00000002
    ManufacturerName="Mediafour Corporation"
    ClassName="System"
    DiskName = "MDRAID Installation Disk"
    MDRAID.DeviceDesc = "MDRAID Device"
    MDRAID.SVCDESC = "MDRAID Service"
    Thursday, June 9, 2016 8:58 PM
  • Hi,

    I posted my inf. Once again, the software has been installed on over a thousand computers over a year. This is first and only case where I have seen this error in the setupapi log.

    I will be grateful for any insights.

    Thanks,

    Mridul.

    Thursday, June 9, 2016 9:01 PM
  • CraniumRat,

    Were you able to find the reason ? I am facing similar issue for one of my customer. Product installs fine over several computer. Thanks.

    Mahesh.

    Thursday, March 9, 2017 1:21 AM
  • Hi all

    Same issue here. Works on hundreds/thousands of PCs, but for one machine I also get this error. Any help on this will be highly appreciated.

    Morten

    Thursday, August 3, 2017 12:16 PM
  • Which "this error"? This one ?

    !!!  ndv:      Error 0xe0000246: One of the installers for this device cannot perform the installation at this time.

         ndv:      Installing NULL driver.

    -- pa

    Thursday, August 3, 2017 1:21 PM
  • SOLVED !!

    open regedit

    go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DeviceInstall\Parameters

    change DeviceInstallDisabled to 0

    restart ! done !!

    Thursday, May 2, 2019 9:54 PM
  • You are a lifesaver, and i deal with PC daily, good work.
    Friday, May 31, 2019 3:27 AM