Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zadig - Driver Installation: FAILED (Requested resource not found) #177

@saketora95

Description

@saketora95

I build a tiny program which could use POS Printer to print some text with Python and Windows 10 64 bit few days ago.
I need to set up printer use libusbK driver, so I found Zadig and success; today, I tried to set up for 2nd PC (Windows 10 64 bit) to check program have some problem or not, but I get some error and the log as below:

Zadig 2.4.721
Windows 10 64-bit (Build 18362)
ini file 'zadig.ini' not found - default parameters will be used
default driver set to 'WinUSB'
0 devices found.
3 devices found.
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_13FE&PID_5200&REV_0110
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_08&SubClass_06&Prot_50
libwdi:debug [wdi_create_list] Driver version: 10.0.18362.1
libwdi:debug [wdi_create_list] USBSTOR USB device (1): USB\VID_13FE&PID_5200\070B694FA8BFA669
libwdi:debug [wdi_create_list] Device description: 'USB DISK 3.0'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_0483&PID_5743&REV_0100
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_07&SubClass_01&Prot_02
libwdi:debug [wdi_create_list] Driver version: 10.0.18362.1
libwdi:debug [wdi_create_list] usbprint USB device (2): USB\VID_0483&PID_5743\012345678AB
libwdi:debug [wdi_create_list] Device description: 'Printer-80'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_04F3&PID_00A4&REV_1023
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_01&Prot_01
libwdi:debug [wdi_create_list] Driver version: 10.0.18362.175
libwdi:debug [wdi_create_list] HidUsb USB device (3): USB\VID_04F3&PID_00A4\5&222E27AA&0&5
libwdi:debug [wdi_create_list] Device description: '2.4G RX'
Using inf name: Printer-80.inf
Successfully extracted driver files.
Installing driver. Please wait...
libwdi:info [extract_binaries] successfully extracted driver files to C:\Users\UserName\usb_driver
libwdi:info [wdi_prepare_driver] successfully created 'C:\Users\UserName\usb_driver\Printer-80.inf'
libwdi:info [wdi_prepare_driver] Creating and self-signing a .cat file...
libwdi:info [CreateCat] successfully created file 'C:\Users\UserName\usb_driver\Printer-80.cat'
libwdi:info [RemoveCertFromStore] deleted existing certificate 'CN=USB\VID_0483&PID_5743 (libwdi autogenerated)' from 'Root' store
libwdi:info [RemoveCertFromStore] deleted existing certificate 'CN=USB\VID_0483&PID_5743 (libwdi autogenerated)' from 'TrustedPublisher' store
libwdi:debug [CreateSelfSignedCert] set Enhanced Key Usage, URL and CPS
libwdi:debug [CreateSelfSignedCert] created new key container
libwdi:debug [CreateSelfSignedCert] generated new keypair
libwdi:info [CreateSelfSignedCert] created new self-signed certificate 'CN=USB\VID_0483&PID_5743 (libwdi autogenerated)'
libwdi:debug [SelfSignFile] successfully created certificate 'CN=USB\VID_0483&PID_5743 (libwdi autogenerated)'
libwdi:info [SelfSignFile] added certificate 'CN=USB\VID_0483&PID_5743 (libwdi autogenerated)' to 'Root' and 'TrustedPublisher' stores
libwdi:info [SelfSignFile] successfully signed file 'C:\Users\UserName\usb_driver\Printer-80.cat'
libwdi:info [SelfSignFile] successfully deleted private key
libwdi:debug [wdi_install_driver] using progress bar mode
libwdi:debug [installer process] got parameter Printer-80.inf
libwdi:debug [process_message] got request for device_id
libwdi:debug [installer process] got device_id: 'USB\VID_0483&PID_5743\012345678AB'
libwdi:debug [process_message] got request for hardware_id
libwdi:debug [installer process] got hardware_id: 'USB\VID_0483&PID_5743&REV_0100'
libwdi:debug [installer process] got user_sid: 'S-1-5-21-2323712114-2148394435-215344373-1001'
libwdi:debug [installer process] using syslog 'C:\Windows\inf\setupapi.dev.log'
libwdi:debug [installer process] syslog reader thread started
libwdi:debug [installer process] successfully disabled the system restore point creation setting
libwdi:debug [process_message] switching timeout to infinite
libwdi:debug [installer process] Installing driver for USB\VID_0483&PID_5743&REV_0100 - please wait...
libwdi:debug [syslog] s\UserName\usb_driver\installer_x64.exe" "Printer-80.inf"
libwdi:debug [syslog]  11:09:38.256
libwdi:debug [syslog]      dvi:      {DIF_SELECTBESTCOMPATDRV} 11:09:38.272
libwdi:debug [syslog]      dvi:           Default installer: Enter 11:09:38.272
libwdi:debug [syslog]      dvi:                {Select Best Driver}
libwdi:debug [syslog]      dvi:                     Class GUID of device changed to: {ecfb0cfd-74c4-4f52-bbf7-343461cd72ac}.
libwdi:debug [syslog]      dvi:                     Selected Driver:
libwdi:debug [syslog]      dvi:                          Description - Printer-80
libwdi:debug [syslog]      dvi:                          InfFile     - c:\users\UserName\usb_driver\printer-80.inf
libwdi:debug [syslog]      dvi:                          Section     - LUsbK_Device
libwdi:debug [syslog]      dvi:                {Select Best Driver - exit(0x00000000)}
libwdi:debug [syslog]      dvi:           Default installer: Exit
libwdi:debug [syslog]      dvi:      {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 11:09:38.303
libwdi:debug [syslog]      ndv:      Force Installing Driver:
libwdi:debug [syslog]      ndv:           Inf Name       - printer-80.inf
libwdi:debug [syslog]      ndv:           Driver Date    - 12/01/2014
libwdi:debug [syslog]      ndv:           Driver Version - 3.0.7.0
libwdi:debug [syslog]      sto:      {Setup Import Driver Package: c:\users\UserName\usb_driver\printer-80.inf} 11:09:38.318
libwdi:debug [syslog]      inf:           Provider: libusbK
libwdi:debug [syslog]      inf:           Class GUID: {ECFB0CFD-74C4-4f52-BBF7-343461CD72AC}
libwdi:debug [syslog]      inf:           Driver Version: 12/01/2014,3.0.7.0
libwdi:debug [syslog]      inf:           Catalog File: Printer-80.cat
libwdi:debug [syslog]      sto:           {Copy Driver Package: c:\users\UserName\usb_driver\printer-80.inf} 11:09:38.334
libwdi:debug [syslog]      sto:                Driver Package = c:\users\UserName\usb_driver\printer-80.inf
libwdi:debug [syslog]      sto:                Flags          = 0x00000007
libwdi:debug [syslog]      sto:                Destination    = C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}
libwdi:debug [syslog]      sto:                Copying driver package files to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\amd64\libusb0.dll' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusb0.dll'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\amd64\libusbK.dll' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusbK.dll'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\amd64\libusbK.sys' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusbK.sys'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\amd64\libusb0_x86.dll' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusb0_x86.dll'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\amd64\libusbK_x86.dll' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusbK_x86.dll'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\Printer-80.cat' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\Printer-80.cat'.
libwdi:debug [syslog]      flq:                Copying 'c:\users\UserName\usb_driver\printer-80.inf' to 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\printer-80.inf'.
libwdi:debug [syslog]      sto:           {Copy Driver Package: exit(0x00000000)} 11:09:38.397
libwdi:debug [syslog]      pol:           {Driver package policy check} 11:09:38.443
libwdi:debug [syslog]      pol:           {Driver package policy check - exit(0x00000000)} 11:09:38.443
libwdi:debug [syslog]      sto:           {Stage Driver Package: C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\printer-80.inf} 11:09:38.443
libwdi:debug [syslog]      inf:                {Query Configurability: C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\printer-80.inf} 11:09:38.443
libwdi:debug [syslog]      inf:                     Driver package uses WDF.
libwdi:debug [syslog]      inf:                     Driver package 'printer-80.inf' is configurable.
libwdi:debug [syslog]      inf:                {Query Configurability: exit(0x00000000)} 11:09:38.443
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusb0.dll' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\amd64\libusb0.dll'.
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusbK.dll' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\amd64\libusbK.dll'.
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusbK.sys' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\amd64\libusbK.sys'.
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusb0_x86.dll' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\amd64\libusb0_x86.dll'.
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\amd64\libusbK_x86.dll' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\amd64\libusbK_x86.dll'.
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\Printer-80.cat' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\Printer-80.cat'.
libwdi:debug [syslog]      flq:                Copying 'C:\Users\UserName~1\AppData\Local\Temp\{aa7b0059-e1db-fb47-8723-c6033aa2c685}\printer-80.inf' to 'C:\Windows\System32\DriverStore\Temp\{64d4e4a7-d26e-5140-8d30-5f166cfb0ba9}\printer-80.inf'.
libwdi:debug [syslog]      sto:                {DRIVERSTORE IMPORT VALIDATE} 11:09:38.506
libwdi:debug [syslog] !!!  sig:                     Driver package INF file hash is not present in catalog file. Filename = printer-80.inf, Error = 0xE000024B
libwdi:debug [syslog] !!!  sig:                     Driver package appears to be tampered, and Code Integrity is enforced.
libwdi:debug [syslog] !!!  sig:                     Driver package failed signature validation. Error = 0xE000024B
libwdi:debug [syslog]      sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0xe000024b)} 11:09:38.522
libwdi:debug [syslog] !!!  sig:                Driver package failed signature verification. Error = 0xE000024B
libwdi:debug [syslog] !!!  sto:                Failed to import driver package into Driver Store. Error = 0xE000024B
libwdi:debug [syslog]      sto:           {Stage Driver Package: exit(0xe000024b)} 11:09:38.522
libwdi:debug [syslog]      sto:      {Setup Import Driver Package - exit (0xe000024b)} 11:09:38.537
libwdi:debug [syslog] !!!  ndv:      Driver package import failed for device.
libwdi:debug [syslog] !!!  ndv:      Error 0xe000024b: The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
libwdi:debug [syslog]      ndv: {Update Device Driver - exit(e000024b)}
libwdi:debug [syslog] !!!  ndv: Failed to install device instance 'USB\VID_0483&PID_5743\012345678AB'. Error = 0xe000024b
libwdi:debug [process_message] switching timeout back to finite
libwdi:debug [installer process] unable to locate the file hashes in cat file
libwdi:debug [process_message] installer process completed
Driver Installation: FAILED (Requested resource not found)
3 devices found.
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_13FE&PID_5200&REV_0110
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_08&SubClass_06&Prot_50
libwdi:debug [wdi_create_list] Driver version: 10.0.18362.1
libwdi:debug [wdi_create_list] USBSTOR USB device (1): USB\VID_13FE&PID_5200\070B694FA8BFA669
libwdi:debug [wdi_create_list] Device description: 'USB DISK 3.0'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_0483&PID_5743&REV_0100
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_07&SubClass_01&Prot_02
libwdi:debug [wdi_create_list] Driver version: 10.0.18362.1
libwdi:debug [wdi_create_list] usbprint USB device (2): USB\VID_0483&PID_5743\012345678AB
libwdi:debug [wdi_create_list] Device description: 'Printer-80'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_04F3&PID_00A4&REV_1023
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_01&Prot_01
libwdi:debug [wdi_create_list] Driver version: 10.0.18362.175
libwdi:debug [wdi_create_list] HidUsb USB device (3): USB\VID_04F3&PID_00A4\5&222E27AA&0&5
libwdi:debug [wdi_create_list] Device description: '2.4G RX'

I'm sorry that I'm not good at English and not very often use github, so there had some delete line in the log.
In the log, 'UserName' is my 3rd PC's user name, it is Chinese text before I replace.

Sincerely.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions