|
建议老大发布新版时,_networklist.bat 稍作调整。
发布版的内容
rem // NetworkSetup2 and NetworkUxManager
rem call RegCopy HKLM\System\ControlSet001\Control\NetworkSetup2
call RegCopy HKLM\System\ControlSet001\Control\NetworkSetup2\Filters
rem remove ms_pacer filter(QoS Packet Scheduler)
reg delete HKLM\Tmp_System\ControlSet001\Control\NetworkSetup2\Filters\{B5F4D659-7DAA-4565-8E41-BE220ED60542} /f
call RegCopy HKLM\System\ControlSet001\Control\NetworkSetup2\Plugins
这样 自定义补丁就可以覆盖上去了,如 下图秒切优先 就能完整覆盖.
if exist "%X_SYS%\seclogon.dll" (
call RegCopy HKLM\System\ControlSet001\Control\NetworkSetup2
) else (
call RegCopy HKLM\System\ControlSet001\Control\NetworkSetup2\Filters
rem remove ms_pacer filter(QoS Packet Scheduler)
reg delete HKLM\Tmp_System\ControlSet001\Control\NetworkSetup2\Filters\{B5F4D659-7DAA-4565-8E41-BE220ED60542} /f
call RegCopy HKLM\System\ControlSet001\Control\NetworkSetup2\Plugins
)
call RegCopy HKLM\System\ControlSet001\Control\NetworkUXManager
反之,覆盖算不上,也不太干净
|
|