|
原帖由 ku100 于 2008-6-20 07:28 PM 发表
1、本来是想调整x盘的大小,但无论FBWF的参数怎么变化,对x盘的大小的调节都无用。
2、索性将FBWF删除了,哈哈,想不到的是pe竟然可以正常运行。
3、如果不挂在wim的外置程序,x盘大小整100M;如果挂载外置程 ...
PE内核的注册表里面很多时后都已经装载了FBWF的注册项(如下面脚本所示),并且在引导其间自动载入(ControlSet001\Services\fbwf","Start","0")。
假如你的PE不是采用ISO模式引导,x盘大小有100M也不一定代表它是由FWBF所设定的。它有可能是由IMG/SDI所预置的X:硬盘空间!
[Add_FBWF]
Echo,"Adding FBWF Service..."
FileCopy,"%ScriptDir%\sysfiles\fbwflib.dll","%TargetDir%\i386\system32"
FileCopy,"%ScriptDir%\sysfiles\fbwf.sys","%TargetDir%\i386\system32\drivers"
FileCopy,"%ScriptDir%\sysfiles\fbwfdll.dll","%TargetDir%\i386\system32"
# FBWF registry
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","DisplayName","fbwf"
RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","ImagePath","system32\drivers\fbwf.sys"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","Description","fbwf driver"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","CacheType","1"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","ErrorControl","1"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","Start","0"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","Type","2"
RegWrite,HKLM,0x7,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf","DependOnService","fltmgr"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf\Instances","DefaultInstance","Fbwf Instance"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf\Instances\Fbwf Instance","Altitude","226000"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\fbwf\Instances\Fbwf Instance","Flags","0" |
|