网卡PNP的问题

我借用华教无盘里的一个工具pnpenv.exe和litenet里的工具qpatch.exe来做
网卡PNP,815,810,VIA主板通过,但在845主板上会有网络一完整,表现在网上邻居中没有tcp/ip协议一项,不知是什么原因。
autoexec.bat

@echo off
pnpenv.exe>pci.bat
call pci.bat >nul
SET intel=%PNPK%F000
SET viasis=BUS_%PNPB%&DEV_%PNPE%&FUNC_%PNPF%
qpatch.exe lanpci.reg lan.reg
c:\windows\regedit.exe c:\lan.reg >nul
cd\windows
win.COM
lanpci.reg内容如下:
REGEDIT4

[-HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%intel%}]
“Capabilities”=hex:14,00,00,00
“HardwareID”=“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%}&CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_020000,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_0200”
“CompatibleIDs”=“PCI\VEN_{%PNPV%}&CC_020000,PCI\VEN_{%PNPV%}&CC_0200,PCI\VEN_{%PNPV%},PCI\CC_020000,PCI\CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}”
“DeviceDesc”=“Realtek RTL8139/810x Family Fast Ethernet NIC”
“HWRevision”=“0{%PNPZ%}”
“Class”=“Net”
“ConfigFlags”=hex:10,00,00,00
“ClassGUID”=“{4d36e972-e325-11ce-bfc1-08002be10318}”
“Driver”=“Net\0000”
“Mfg”=“Realtek Semiconductor Corp.”

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%intel%}\Bindings]
“NWLINK\0000”=“”
“NETBEUI\0000”=“”
“MSTCP\0000”=“”

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{CF2524C0-29AE-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%intel%}”=hex:00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{9B4E7760-3196-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%intel%}”=hex:00

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%viasis%}]
“Capabilities”=hex:14,00,00,00
“HardwareID”=“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%}&CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_020000,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_0200”
“CompatibleIDs”=“PCI\VEN_{%PNPV%}&CC_020000,PCI\VEN_{%PNPV%}&CC_0200,PCI\VEN_{%PNPV%},PCI\CC_020000,PCI\CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}”
“DeviceDesc”=“Realtek RTL8139/810x Family Fast Ethernet NIC”
“HWRevision”=“0{%PNPZ%}”
“Class”=“Net”
“ConfigFlags”=hex:10,00,00,00
“ClassGUID”=“{4d36e972-e325-11ce-bfc1-08002be10318}”
“Driver”=“Net\0000”
“Mfg”=“Realtek Semiconductor Corp.”

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%viasis%}\Bindings]
“NWLINK\0000”=“”
“NETBEUI\0000”=“”
“MSTCP\0000”=“”

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{CF2524C0-29AE-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%viasis%}”=hex:00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{9B4E7760-3196-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%viasis%}”=hex:00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\PCI]
“Options”=hex:00,00,00,00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0001]
“Network_Id”=“00000002”
文件在C盘根目录下。多谢高手解释

是这一句的问题:
[-HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]
删除后虽然有TCP/IP一硕,但换插槽后,PNP不成功

pnpb=02可能需要过渡

SET intel=%PNPK%F000
SET viasis=BUS_%PNPB%&DEV_%PNPE%&FUNC_%PNPF%
请问这个是什么东西?
设置变量吗?
怎么在文中没有用?你是怎么成功 的???

autoexec.bat
@echo off
pnpenv.exe>pci.bat
call pci.bat >nul
IF “%PNPB%”==“02” SET NPCIKEY=%PNPK%F000
IF “%PNPB%”==“00” SET NPCIKEY=BUS_%PNPB%&DEV_%PNPE%&FUNC_%PNPF%
IF “%PNPB%”==“01” SET NPCIKEY=%PNPK%F000
qpatch.exe lanpci.reg lan.reg
c:\windows\regedit.exe c:\lan.reg >nul
cd\windows
win.COM
lanpci.reg

REGEDIT4
[-HKEY_LOCAL_MACHINE\Enum\root\net]
[-HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%NPCIKEY%}]
“Capabilities”=hex:14,00,00,00
“HardwareID”=“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%}&CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_020000,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_0200”
“CompatibleIDs”=“PCI\VEN_{%PNPV%}&CC_020000,PCI\VEN_{%PNPV%}&CC_0200,PCI\VEN_{%PNPV%},PCI\CC_020000,PCI\CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}”
“DeviceDesc”=“Realtek RTL8139/810x Family Fast Ethernet NIC”
“HWRevision”=“0{%PNPZ%}”
“Class”=“Net”
“ConfigFlags”=hex:10,00,00,00
“ClassGUID”=“{4d36e972-e325-11ce-bfc1-08002be10318}”
“Driver”=“Net\0000”
“Mfg”=“Realtek Semiconductor Corp.”

[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%NPCIKEY%}\Bindings]
“NWLINK\0000”=“”
“MSTCP\0000”=“”

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{CF2524C0-29AE-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%NPCIKEY%}”=hex:00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{9B4E7760-3196-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%NPCIKEY%}”=hex:00
这个能启动,包括以前我没能启动的主板。