创建虚拟设备绕过硬件检查

creative的speakeq设置软件(SPKEQ_CLV_PCAPP_US*.exe)需要特定pid的才可以安装。

利用devcon,造出虚拟的硬件设备,达到绕过硬件检测。

参考命令如下:

devcon install “gameport.inf” “HDAUDIO\FUNC_01&VEN_10EC&DEV_0269&SUBSYS_1B0A2386”

gameport.inf 文件如下:

;
; Copyright (C) Xy & Realtek & Creative Corporation. All rights reserved.
;
[Version]
Signature="$WINDOWS NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MSFT%
DriverVer = 08/01/2019, 1.0.0.8
CatalogFile = Xy.cat

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%CreativeLabs%=CreativeLabs,NTamd64

[CreativeLabs.NTamd64]
%CreativeLabsPort.DeviceDesc% = STUB_GAMEPORT,HDAUDIO\FUNC_01&VEN_10EC&DEV_0269&SUBSYS_1B0A2386
[STUB_GAMEPORT.NT]
DriverVer = 08/01/2019, 1.0.0.8

[STUB_GAMEPORT.NT.Services]
AddService = , %SPSVCINST_ASSOCSERVICE% ; null service install

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = “Xy”
;
; Game card manufacturers
;
CreativeLabs = “Creative Technology Ltd.”

;
; Device descriptions for known game ports
;
CreativeLabsPort.DeviceDesc = “Realtek for Creative “

发表评论

电子邮件地址不会被公开。 必填项已用*标注