pbatard / libwdi

Windows Driver Installer library for USB devices
GNU General Public License v3.0
1.9k stars 466 forks source link

WUP-28 (Switch Gamecube USB Adapter) failed to install - System policy has been modified to reject unsigned drivers #285

Closed z4nn1ch closed 1 year ago

z4nn1ch commented 1 year ago

Hi, I try to install a USB driver with zadig but I fail and I did not find any solution to this issue. By the way I am running w10 pro but in a modified version

Advanced Log of Zadig:

Zadig 2.7.765
Windows 10 Pro, 64-bit (Build 19044.2194)
ini file 'zadig.ini' not found in 'C:\Users\Administrator\Downloads' - default parameters will be used
default driver set to 'WinUSB'
0 devices found.
9 devices found.
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_1E7D&PID_2C92&REV_0432&MI_02
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_01
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (0): USB\VID_1E7D&PID_2C92&MI_02\7&339A3B5F&0&0002
libwdi:debug [wdi_create_list] Device description: 'ROCCAT Kone Pro Air (Interface 2)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_057E&PID_0337&REV_0100
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (1): USB\VID_057E&PID_0337\15/07/2014
libwdi:debug [wdi_create_list] Device description: 'WUP-028'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_CA04&PID_DB60&REV_0001&MI_00
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_01&Prot_01
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (3): USB\VID_CA04&PID_DB60&MI_00\7&346D2DD9&0&0000
libwdi:debug [wdi_create_list] Device description: 'DB60 (Interface 0)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_1E7D&PID_2C92&REV_0432&MI_03
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (4): USB\VID_1E7D&PID_2C92&MI_03\7&339A3B5F&0&0003
libwdi:debug [wdi_create_list] Device description: 'ROCCAT Kone Pro Air (Interface 3)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_CA04&PID_DB60&REV_0001&MI_01
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (6): USB\VID_CA04&PID_DB60&MI_01\7&346D2DD9&0&0001
libwdi:debug [wdi_create_list] Device description: 'DB60 (Interface 1)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_1E7D&PID_2C92&REV_0432&MI_00
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_01&Prot_02
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (9): USB\VID_1E7D&PID_2C92&MI_00\7&339A3B5F&0&0000
libwdi:debug [wdi_create_list] Device description: 'ROCCAT Kone Pro Air (Interface 0)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_CA04&PID_DB60&REV_0001&MI_02
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (10): USB\VID_CA04&PID_DB60&MI_02\7&346D2DD9&0&0002
libwdi:debug [wdi_create_list] Device description: 'DB60 (Interface 2)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_1E7D&PID_2C92&REV_0432&MI_01
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (11): USB\VID_1E7D&PID_2C92&MI_01\7&339A3B5F&0&0001
libwdi:debug [wdi_create_list] Device description: 'ROCCAT Kone Pro Air (Interface 1)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_CA04&PID_DB60&REV_0001&MI_03
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 10.0.19041.2193
libwdi:debug [wdi_create_list] HidUsb USB device (12): USB\VID_CA04&PID_DB60&MI_03\7&346D2DD9&0&0003
libwdi:debug [wdi_create_list] Device description: 'DB60 (Interface 3)'
Using inf name: WUP-028.inf
Could not extract files
Driver Installation: FAILED (System policy has been modified to reject unsigned drivers)
libwdi:info [extract_binaries] Successfully extracted driver files to 'C:\Users\Administrator\usb_driver'
libwdi:info [wdi_prepare_driver] Successfully created 'C:\Users\Administrator\usb_driver\WUP-028.inf'
libwdi:info [wdi_prepare_driver] Creating and self-signing a .cat file...
libwdi:info [wdi_prepare_driver] Test signing is: Disabled
libwdi:debug [AddFileHash] 'wdfcoinstaller01011.dll': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Administrator\usb_driver\amd64\wdfcoinstaller01011.dll'
libwdi:debug [AddFileHash] 'winusbcoinstaller2.dll': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Administrator\usb_driver\amd64\winusbcoinstaller2.dll'
libwdi:debug [AddFileHash] 'wup-028.inf': INF type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Administrator\usb_driver\wup-028.inf'
libwdi:debug [AddFileHash] 'wdfcoinstaller01011.dll': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Administrator\usb_driver\x86\wdfcoinstaller01011.dll'
libwdi:debug [AddFileHash] 'winusbcoinstaller2.dll': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Administrator\usb_driver\x86\winusbcoinstaller2.dll'
libwdi:info [CreateCat] Successfully created file 'C:\Users\Administrator\usb_driver\WUP-028.cat'
libwdi:debug [CreateSelfSignedCert] Set Enhanced Key Usage, URL and CPS
libwdi:debug [CreateSelfSignedCert] Acquired existing key container
libwdi:debug [CreateSelfSignedCert] Generated new keypair...
libwdi:warning [CreateSelfSignedCert] Could not create self signed certificate: This system is missing required cryptographic services.
libwdi:error [wdi_prepare_driver] Could not sign cat file
pbatard commented 1 year ago
  1. Please don't post links to unofficial versions of Windows. THIS IS ILLEGAL. Only Microsoft has the right to distribute Microsoft copyrighted content.
  2. Could not create self signed certificate: This system is missing required cryptographic services. → There's your answer. You are using an unofficial version of Windows, therefore it is missing APIs and features that official version of Windows have, therefore Zadig/libwdi cannot work with your OS.