J
Joe Tomczyk
Guest
Folks,
I've been trying unsuccessfully to install my version of the HID Injector Sample. I have tried both right-clicking the .inf file and selecting "Install" and using pnputil -a. Both yield the same result:
dvi: Install Device: Configuring device (oem38.inf:root\hidinjectorsample,HidInjectorSample.NT). 11:20:41.334
dvi: Install Device: Configuring device completed. 11:20:41.338
dvi: Device Status: 0x01802001, Problem: 0x0 (0x00000000)
dvi: Install Device: Starting device 'ROOT\HIDINJECTORSAMPLE\0'. 11:20:41.341
dvi: Install Device: Starting device completed. 11:20:41.371
!!! dvi: Device not started: Device has problem: 0x30 (CM_PROB_DRIVER_BLOCKED), problem status: 0xc000036b.
My .inx file is:
;/*++
;
;Copyright (c) Microsoft Corporation All rights Reserved
;
;Module Name:
;
; HidInjectorSample.inf
;
;Abstract:
; INF file for installing HID Injector minidriver
;
;--*/
;;;;;;;;;;;;;;;;;
; Version Section
;;;;;;;;;;;;;;;;;
[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171}
Provider=%ProviderString%
DriverVer=09/22/2020,0.0.0.1
CatalogFile=wudf.cat
PnPLockdown=1
;;;;;;;;;;;;;;;;;;;;;;;;
; ClassInstall32 Section
;;;;;;;;;;;;;;;;;;;;;;;;
[ClassInstall32]
AddReg=HidInjectorClassReg
[HidInjectorClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100
HKR,,Security,,"D(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;WD)"
;;;;;;;;;;;;;;;;;;;;;;
; Manufacturer Section
;;;;;;;;;;;;;;;;;;;;;;
[Manufacturer]
%ManufacturerString%=Crestron,NTAMD64
[Crestron.NTAMD64]
%DeviceDesc%=HidInjectorSample, ROOT\HidInjectorSample
;;;;;;;;;;;;;;;;;;;
; DDInstall Section
;;;;;;;;;;;;;;;;;;;
;
; copy files
;
[HidInjectorSample.NTAMD64]
CopyFiles=KMDriverCopy
[KMDriverCopy]
HidInjectorSample.sys
[DestinationDirs]
KMDriverCopy=12
[SourceDisksNames]
1=%DiskDesc%,,,
[SourceDisksFiles]
HidInjectorSample.sys=1
;
; add registry
;
[HidInjectorSample.NTAMD64.HW]
AddReg=HidInjectorSample_AddReg
[HidInjectorSample_AddReg]
HKR,,"LowerFilters",0x00010000,"vhf"
;
; add services
;
[HidInjectorSample.NTAMD64.Services]
AddService=HidInjectorSample,0x2,HidInjectorSample_Service_Inst
[HidInjectorSample_Service_Inst]
DisplayName = %ServiceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\HidInjectorSample.sys
[HidInjectorSample.NTAMD64.Wdf]
KmdfService=HidInjectorSample, HidInjectorSample_wdfsect
[HidInjectorSample_wdfsect]
KmdfLibraryVersion=$KMDFVERSION$
;
; Install as root enumerated device
;
[DeviceInstall32]
AddDevice = ROOT\HidInjectorSample\0,,HidInjectorSample_RootDevice_Inst
[HidInjectorSample_RootDevice_Inst]
HardwareIds = ROOT\HidInjectorSample
;;;;;;;;;;;;;;;;;
; Strings Section
;;;;;;;;;;;;;;;;;
[Strings]
ProviderString = "Crestron"
ManufacturerString = "Crestron"
ClassName = "HID Injector Class"
DeviceDesc = "HID Injection Sample"
ServiceDesc = "HID Injector Service"
DiskDesc = "HID Injector Installation Disk"
Thanks in advance.
Joe Tomczyk
Continue reading...
I've been trying unsuccessfully to install my version of the HID Injector Sample. I have tried both right-clicking the .inf file and selecting "Install" and using pnputil -a. Both yield the same result:
dvi: Install Device: Configuring device (oem38.inf:root\hidinjectorsample,HidInjectorSample.NT). 11:20:41.334
dvi: Install Device: Configuring device completed. 11:20:41.338
dvi: Device Status: 0x01802001, Problem: 0x0 (0x00000000)
dvi: Install Device: Starting device 'ROOT\HIDINJECTORSAMPLE\0'. 11:20:41.341
dvi: Install Device: Starting device completed. 11:20:41.371
!!! dvi: Device not started: Device has problem: 0x30 (CM_PROB_DRIVER_BLOCKED), problem status: 0xc000036b.
My .inx file is:
;/*++
;
;Copyright (c) Microsoft Corporation All rights Reserved
;
;Module Name:
;
; HidInjectorSample.inf
;
;Abstract:
; INF file for installing HID Injector minidriver
;
;--*/
;;;;;;;;;;;;;;;;;
; Version Section
;;;;;;;;;;;;;;;;;
[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171}
Provider=%ProviderString%
DriverVer=09/22/2020,0.0.0.1
CatalogFile=wudf.cat
PnPLockdown=1
;;;;;;;;;;;;;;;;;;;;;;;;
; ClassInstall32 Section
;;;;;;;;;;;;;;;;;;;;;;;;
[ClassInstall32]
AddReg=HidInjectorClassReg
[HidInjectorClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100
HKR,,Security,,"D(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;WD)"
;;;;;;;;;;;;;;;;;;;;;;
; Manufacturer Section
;;;;;;;;;;;;;;;;;;;;;;
[Manufacturer]
%ManufacturerString%=Crestron,NTAMD64
[Crestron.NTAMD64]
%DeviceDesc%=HidInjectorSample, ROOT\HidInjectorSample
;;;;;;;;;;;;;;;;;;;
; DDInstall Section
;;;;;;;;;;;;;;;;;;;
;
; copy files
;
[HidInjectorSample.NTAMD64]
CopyFiles=KMDriverCopy
[KMDriverCopy]
HidInjectorSample.sys
[DestinationDirs]
KMDriverCopy=12
[SourceDisksNames]
1=%DiskDesc%,,,
[SourceDisksFiles]
HidInjectorSample.sys=1
;
; add registry
;
[HidInjectorSample.NTAMD64.HW]
AddReg=HidInjectorSample_AddReg
[HidInjectorSample_AddReg]
HKR,,"LowerFilters",0x00010000,"vhf"
;
; add services
;
[HidInjectorSample.NTAMD64.Services]
AddService=HidInjectorSample,0x2,HidInjectorSample_Service_Inst
[HidInjectorSample_Service_Inst]
DisplayName = %ServiceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\HidInjectorSample.sys
[HidInjectorSample.NTAMD64.Wdf]
KmdfService=HidInjectorSample, HidInjectorSample_wdfsect
[HidInjectorSample_wdfsect]
KmdfLibraryVersion=$KMDFVERSION$
;
; Install as root enumerated device
;
[DeviceInstall32]
AddDevice = ROOT\HidInjectorSample\0,,HidInjectorSample_RootDevice_Inst
[HidInjectorSample_RootDevice_Inst]
HardwareIds = ROOT\HidInjectorSample
;;;;;;;;;;;;;;;;;
; Strings Section
;;;;;;;;;;;;;;;;;
[Strings]
ProviderString = "Crestron"
ManufacturerString = "Crestron"
ClassName = "HID Injector Class"
DeviceDesc = "HID Injection Sample"
ServiceDesc = "HID Injector Service"
DiskDesc = "HID Injector Installation Disk"
Thanks in advance.
Joe Tomczyk
Continue reading...