none
Error when installing a custom driver: Failed to install the driver on any of the devices on the system : The required line was not found in the INF. RRS feed

  • Question

  • Hi everyone,

    I am currently trying to write a Windows driver and have been unsuccessfully trying to install the driver via an inf file. Currently, my attempts to install the driver via PnPutil fail:

    >PnPutil.exe -i -a C:/Path/to/inpoutx64.inf
    
    Microsoft PnP Utility
    
    Processing inf :            inpoutx64.inf
    Failed to install the driver on any of the devices on the system : The required line was not found in the INF.
    
    Total attempted:              1
    Number successfully imported: 0

    The log file of the installation (C:/Windows/inf/setupapi.dev.log) contains the following new entry:

    >>>  [SetupCopyOEMInf - C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf]
    >>>  Section start 2018/06/04 11:36:03.463
          cmd: PnPutil.exe  -i -a C:/Users/dadmin.CAD-PC5/CMakeBuilds/0cb82103-953d-2f32-9598-4c476c31d84d/build/x64-Debug/inpoutx64.inf
         sto: {Import Driver Package: C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf} 11:36:03.489
         sto:      Importing driver package into Driver Store:
         sto:           Driver Store   = C:\Windows\System32\DriverStore (Online | 6.1.7601)
         sto:           Driver Package = C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf
         sto:           Architecture   = amd64
         sto:           Locale Name    = neutral
         sto:           Flags          = 0x00000000
         sto:      Driver package 'inpoutx64.inf' does not contain device drivers.
         sto:      Copying driver package files to 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'.
         inf:      Opened INF: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf' ([strings])
         inf:      Opened INF: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf' ([strings])
         flq:      {FILE_QUEUE_COPY}
         flq:           CopyStyle      - 0x00000000
         flq:           SourceRootPath - 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug'
         flq:           SourceFilename - 'inpoutx64.cat'
         flq:           TargetDirectory- 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'
         flq:      {FILE_QUEUE_COPY exit(0x00000000)}
         flq:      {FILE_QUEUE_COPY}
         flq:           CopyStyle      - 0x00000000
         flq:           SourceRootPath - 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug'
         flq:           SourceFilename - 'inpoutx64.inf'
         flq:           TargetDirectory- 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'
         flq:      {FILE_QUEUE_COPY exit(0x00000000)}
         flq:      {FILE_QUEUE_COPY}
         flq:           CopyStyle      - 0x00000000
         flq:           SourceRootPath - 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug'
         flq:           SourceFilename - 'Inpoutx64.sys'
         flq:           TargetDirectory- 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'
         flq:           SourceDesc     - 'Instd1'
         flq:           SourceTagfile  - 'Instd1'
         flq:      {FILE_QUEUE_COPY exit(0x00000000)}
         flq:      {_commit_file_queue}
         flq:           CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
         flq:           {_commit_copy_subqueue}
         flq:                subqueue count=3
         flq:                source media:
         flq:                     SourcePath   - [C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug]
         flq:                     SourceFile   - [inpoutx64.cat]
         flq:                     Flags        - 0x00000000
         flq:                {_commit_copyfile}
         flq:                     CopyFile: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.cat'
         flq:                           to: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\SET13D0.tmp'
         flq:                     MoveFile: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\SET13D0.tmp'
         flq:                           to: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.cat'
         flq:                {_commit_copyfile exit OK}
         flq:                {_commit_copyfile}
         flq:                     CopyFile: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf'
         flq:                           to: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\SET13D1.tmp'
         flq:                     MoveFile: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\SET13D1.tmp'
         flq:                           to: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.inf'
         flq:                {_commit_copyfile exit OK}
         flq:                source media:
         flq:                     Tagfile      - [instd1]
         flq:                     Description  - [Instd1]
         flq:                     SourcePath   - [C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug]
         flq:                     SourceFile   - [Inpoutx64.sys]
         flq:                     Flags        - 0x00000000
         flq:                {_commit_copyfile}
         flq:                     CopyFile: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\Inpoutx64.sys'
         flq:                           to: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\SET13D2.tmp'
         flq:                     MoveFile: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\SET13D2.tmp'
         flq:                           to: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\Inpoutx64.sys'
         flq:                {_commit_copyfile exit OK}
         flq:           {_commit_copy_subqueue exit OK}
         flq:      {_commit_file_queue exit OK}
         pol:      {Driver package policy check} 11:36:03.522
         pol:      {Driver package policy check - exit(0x00000000)} 11:36:03.522
         sto:      {Stage Driver Package: C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.inf} 11:36:03.523
         inf:           Opened INF: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.inf' ([strings])
         inf:           Opened INF: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.inf' ([strings])
         sto:           Copying driver package files:
         sto:                Source Path      = C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}
         sto:                Destination Path = C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}
         flq:           {FILE_QUEUE_COPY}
         flq:                CopyStyle      - 0x00000010
         flq:                SourceRootPath - 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'
         flq:                SourceFilename - 'inpoutx64.cat'
         flq:                TargetDirectory- 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}'
         flq:           {FILE_QUEUE_COPY exit(0x00000000)}
         flq:           {FILE_QUEUE_COPY}
         flq:                CopyStyle      - 0x00000010
         flq:                SourceRootPath - 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'
         flq:                SourceFilename - 'inpoutx64.inf'
         flq:                TargetDirectory- 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}'
         flq:           {FILE_QUEUE_COPY exit(0x00000000)}
         flq:           {FILE_QUEUE_COPY}
         flq:                CopyStyle      - 0x00000010
         flq:                SourceRootPath - 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}'
         flq:                SourceFilename - 'Inpoutx64.sys'
         flq:                TargetDirectory- 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}'
         flq:           {FILE_QUEUE_COPY exit(0x00000000)}
         flq:           {_commit_file_queue}
         flq:                CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
         flq:                {_commit_copy_subqueue}
         flq:                     subqueue count=3
         flq:                     source media:
         flq:                          SourcePath   - [C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}]
         flq:                          SourceFile   - [inpoutx64.cat]
         flq:                          Flags        - 0x00000000
         flq:                     {_commit_copyfile}
         flq:                          CopyFile: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.cat'
         flq:                                to: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\SET13EF.tmp'
         flq:                          MoveFile: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\SET13EF.tmp'
         flq:                                to: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.cat'
         flq:                     {_commit_copyfile exit OK}
         flq:                     {_commit_copyfile}
         flq:                          CopyFile: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\inpoutx64.inf'
         flq:                                to: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\SET13F0.tmp'
         flq:                          MoveFile: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\SET13F0.tmp'
         flq:                                to: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.inf'
         flq:                     {_commit_copyfile exit OK}
         flq:                     {_commit_copyfile}
         flq:                          CopyFile: 'C:\Users\DADMIN~1.CAD\AppData\Local\Temp\{6c5e9882-0996-27b9-06f2-f0470501296a}\Inpoutx64.sys'
         flq:                                to: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\SET13F1.tmp'
         flq:                          MoveFile: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\SET13F1.tmp'
         flq:                                to: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\Inpoutx64.sys'
         flq:                     {_commit_copyfile exit OK}
         flq:                {_commit_copy_subqueue exit OK}
         flq:           {_commit_file_queue exit OK}
         sto:           {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 11:36:03.548
         inf:                Opened INF: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.inf' ([strings])
         sig:                {_VERIFY_FILE_SIGNATURE} 11:36:03.552
         sig:                     Key      = inpoutx64.inf
         sig:                     FilePath = C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.inf
         sig:                     Catalog  = C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.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)} 11:36:03.566
         sig:                {_VERIFY_FILE_SIGNATURE} 11:36:03.566
         sig:                     Key      = inpoutx64.inf
         sig:                     FilePath = C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.inf
         sig:                     Catalog  = C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.cat
         sig:                     Success: File is signed in Authenticode(tm) catalog.
         sig:                     Error 0xe0000242: The publisher of an Authenticode(tm) signed catalog has not yet been established as trusted.
         sig:                {_VERIFY_FILE_SIGNATURE exit(0xe0000242)} 11:36:03.579
         sto:                Validating driver package files against catalog 'inpoutx64.cat'.
    !    sto:                Driver package signer is unknown but user trusts the signer.
         sto:           {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 11:36:05.646
         sto:           Verified driver package signature:
         sto:                Digital Signer Score = 0xFF000000
         sto:                Digital Signer Name  = <unknown>
         sto:           {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 11:36:05.648
         inf:                Opened INF: 'C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}\inpoutx64.inf' ([strings])
         sto:                Create system restore point:
         sto:                     Description = Device Driver Package Install: CGC Instruments System devices
         sto:                     Time        = 11108ms
         sto:                     Status      = 0x00000000 (SUCCESS)
         sto:           {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 11:36:16.762
         sto:           Importing driver package files:
         sto:                Source Path      = C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}
         sto:                Destination Path = C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6
         sto:           {Copy Directory: C:\Windows\System32\DriverStore\Temp\{217ecd5c-fe92-00f7-4985-780a2989993c}} 11:36:16.765
         sto:                Target Path = C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6
         sto:           {Copy Directory: exit(0x00000000)} 11:36:16.766
         sto:           {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.inf} 11:36:16.767
         idb:                Registered driver store entry 'inpoutx64.inf_amd64_neutral_451ea421d82a62d6'.
         idb:                Published 'inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.inf' to 'C:\Windows\INF\oem36.inf'
         idb:                Published driver store entry 'inpoutx64.inf_amd64_neutral_451ea421d82a62d6'.
         sto:                Published driver package INF 'oem36.inf' was changed.
         sto:                Active published driver package is 'inpoutx64.inf_amd64_neutral_451ea421d82a62d6'.
         sto:           {Index Driver Package: exit(0x00000000)} 11:36:17.020
         sto:           {DRIVERSTORE_IMPORT_NOTIFY_END} 11:36:17.020
         sto:                Commit system restore point:
         sto:                     Description = Device Driver Package Install: CGC Instruments System devices
         sto:                     Time        = 0ms
         sto:                     Status      = 0x00000000 (SUCCESS)
         sto:           {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 11:36:17.022
         sto:      {Stage Driver Package: exit(0x00000000)} 11:36:17.030
         ndv:      Doing device matching lookup!
         inf:      Opened INF: 'C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.inf' ([strings])
         inf:      Saved PNF: 'C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.PNF' (Language = 0409)
    !    ndv:      Unable to mark devices that match new INF - (e0000102)!
         sto:      Driver package was staged to Driver Store. Time = 13572 ms
         sto:      Imported driver package into Driver Store:
         sto:           Filename = C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.inf
         sto:           Time     = 13587 ms
         sto: {Import Driver Package: exit(0x00000000)} 11:36:17.087
         inf: Opened INF: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf' ([strings])
         inf: Driver Store location: C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.inf
         inf: Published Inf Path: C:\Windows\INF\oem36.inf
         inf: Opened INF: 'C:\Users\dadmin.CAD-PC5\CMakeBuilds\0cb82103-953d-2f32-9598-4c476c31d84d\build\x64-Debug\inpoutx64.inf' ([strings])
         inf: Installing catalog inpoutx64.cat as: oem36.CAT
    <<<  Section end 2018/06/04 11:36:17.640
    <<<  [Exit status: SUCCESS]
    
    
    >>>  [Device Install (DiInstallDriver) - C:\Windows\INF\oem36.inf]
    >>>  Section start 2018/06/04 11:36:17.640
          cmd: PnPutil.exe  -i -a C:/Users/dadmin.CAD-PC5/CMakeBuilds/0cb82103-953d-2f32-9598-4c476c31d84d/build/x64-Debug/inpoutx64.inf
         inf: {SetupCopyOEMInf: C:\Windows\INF\oem36.inf} 11:36:17.641
         inf:      Driver Store location: C:\Windows\System32\DriverStore\FileRepository\inpoutx64.inf_amd64_neutral_451ea421d82a62d6\inpoutx64.inf
         inf:      Published Inf Path: C:\Windows\INF\oem36.inf
         inf:      Opened INF: 'C:\Windows\INF\oem36.inf' ([strings])
         inf:      Saved PNF: 'C:\Windows\INF\oem36.PNF' (Language = 0409)
         inf:      Installing catalog inpoutx64.cat as: oem36.CAT
    !    inf:      Failed to install catalog - error ignored
    !    inf:      Error 2: The system cannot find the file specified.
         inf:      OEM source media location: C:\Windows\INF\
         inf: {SetupCopyOEMInf exit (0x00000000)} 11:36:17.658
         inf: Opened PNF: 'C:\Windows\INF\oem36.inf' ([strings])
    <<<  Section end 2018/06/04 11:36:17.658
    <<<  [Exit status: FAILURE(0xe0000102)]

    And last but not least my inf file:

    [SourceDisksNames]
    1 = %InstallDisk1%, Instd1, 0
    
    [SourceDisksFiles]
    inpoutx64.sys = 1
    
    [Version]
    Signature   = "$Windows NT$"
    Class       = "System"
    ClassGuid   = {4d36e97d-e325-11ce-bfc1-08002be10318}
    Provider    = "Me"
    DriverVer   = 05/29/2018,1.0
    CatalogFile = inpoutx64.cat
    
    [DestinationDirs]
    DefaultDestDir	          = 12
    Inpoutx64.DriverFiles     = 12          ;%windir%\system32\drivers
    
    ;;
    ;; Default install sections
    ;;
    
    [DefaultInstall]
    OptionDesc          = %Inpoutx64ServiceDesc%
    CopyFiles           = Inpoutx64.DriverFiles
    
    [DefaultInstall.Services]
    AddService          = %Inpoutx64ServiceName%,,Inpoutx64.Service
    
    ;;
    ;; Default uninstall sections
    ;;
    
    [DefaultUninstall]
    DelFiles   = Inpoutx64.DriverFiles
    
    [DefaultUninstall.Services]
    DelService = Inpoutx64,0x200      ; Flags not to stop service first
    
    ; Service Parameters
    [Inpoutx64.Service]
    DisplayName      = %Inpoutx64ServiceName%
    Description      = %Inpoutx64ServiceDesc%
    ServiceBinary    = %12%\Inpoutx64.sys     ;%windir%\system32\drivers\Inpoutx64.sys
    ServiceType      = 1                    ;SERVICE_KERNEL_DRIVER
    StartType        = 3                    ;SERVICE_DEMAND_START
    ErrorControl     = 1                    ;SERVICE_ERROR_NORMAL
    LoadOrderGroup   = ""
    
    [Inpoutx64.DriverFiles]
    Inpoutx64.sys
    
    [Strings]
    Inpoutx64ServiceDesc  = "Inpoutx64"
    Inpoutx64ServiceName  = "Inpoutx64"
    InstallDisk1          = "Driver disk 1"

    I have run it through Chkinf and the utility reported no errors or warnings. Unfortunately I am currently stuck and do not know what's the issue with the inf file.

    Any help is greatly appreciated!

    Monday, June 4, 2018 3:10 PM

Answers

  • The DefaultInstall section allows the driver to be installed by right-clicking on the INF and selecting Install, which means that this is likely a class filter driver (layering on all devices of the System class, in this case)

     -Brian


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


    Monday, June 4, 2018 6:42 PM
    Moderator

All replies

  • The issue is that the INF file does not describe a PnP device. The driver looks like a "kernel service" something that can be installed and run with "sc" command.

    If you've received this driver from other people, ask them to provide instructions how to install it. 

    -- pa

    Monday, June 4, 2018 5:03 PM
  • The DefaultInstall section allows the driver to be installed by right-clicking on the INF and selecting Install, which means that this is likely a class filter driver (layering on all devices of the System class, in this case)

     -Brian


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


    Monday, June 4, 2018 6:42 PM
    Moderator
  • Hi Brian,

    thanks a lot for your suggestion, that actually worked! Do you happen to know how I could automate this process? I am developing this driver so an automated installation on each build would be very convenient.

    I don't know what a class filter driver is. This thing is not really a "driver" it merely allows userspace programs to read from a location in physical memory (the same what you get on Linux when reading from /dev/mem).

    Thanks again for your help!

    Tuesday, June 5, 2018 8:15 AM
  • "sc" looks to me like a command to start & stop services, but not to install drivers. How would you install a driver inf via sc?

    Also, I haven't received this driver from other people, I am writing it myself and asking here, since I ran out of ideas.

    Tuesday, June 5, 2018 8:18 AM
  • How would you install a driver inf via sc?

    https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sc-create

    On Win8+ there's also InfDefaultInstall.exe  - this is what the shell "Install" verb does for inf files.

    Good luck with reading physical memory...

    -- pa


    • Edited by Pavel A Tuesday, June 5, 2018 12:29 PM Wishing the OP good luck for reading physical memory
    Tuesday, June 5, 2018 12:20 PM
  • If it runs in kernel mode, it is a driver; regardless of whether to talks to hardware. All driver installations may be automated using the Setup APIs

     -Brian


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

    Tuesday, June 5, 2018 7:41 PM
    Moderator