能否说一下用的是哪款PE,有些Y盘是虚拟光盘,有些是ram盘。
1、如是虚拟光盘,应该还有一个Z盘,这个Z盘是挂二级内核用的,而Y盘则是直接加载想要的镜像文件的,如不想要可到usbzip 的NanoPE 里复制isocmd.exe与ISODRIVE.SY_替换即可。
2、如是ram盘,先修改winpe.ini,注消下面两行试试。
MOUN %CurDrv%\MINIPE\OP.WIM,Y:,1
ENVI OPDir=Y:\外置程序
如不成功,则删掉RAMDRIV.SYS和RAMDISK.SY_试试,txtsetup.sif里的相关行去掉。
如还不成功,则要修改注删表SETUPREG.HI_文件。现在我贴上加ram盘与加wim支持的文件,你照这个反操作就可以,就是查找并删除这些及txtsetup.sif里的行,及system32里的文件。
A、建立一个Ramdisk盘
解开winpe.is_,得到winpe.iso,然后提取setupreg.hiv,用注册表编辑器加载配置单元到HKEY_LOCAL_MACHINE下,取名为!syspe,然后导入下面这个reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Enum\Root\UNKNOWN]
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Enum\Root\UNKNOWN\9999]
"ClassGUID"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}"
"Class"="RamDisk"
"ConfigFlags"=dword:00000004
"Mfg"="Nu2 Productions"
"HardwareID"=hex(7):72,00,61,00,6d,00,64,00,72,00,69,00,76,00,00,00,00,00
"Service"="Ramdriv"
"DeviceDesc"="Ramdisk"
"Capabilities"=dword:00000000
"Driver"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}\\0001"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Enum\Root\UNKNOWN\9999\Control]
"DisableCount"=dword:00000000
"ActiveService"="Ramdriv"
"FilteredConfigVector"=hex(7):30,00,30,00,00,00,30,00,30,00,00,00,30,00,30,00,\
00,00,30,00,30,00,00,00,30,00,30,00,00,00,30,00,30,00,00,00,30,00,30,00,00,\
00,30,00,30,00,00,00,30,00,30,00,00,00,30,00,30,00,00,00,30,00,30,00,00,00,\
30,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\Ramdriv]
"Type"=dword:00000001
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"DisplayName"="Ramdisk"
"ImagePath"="system32\\drivers\\ramdriv.sys"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\Ramdriv\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="Root\\UNKNOWN\\9999"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\Ramdriv\Parameters]
"BreakOnEntry"=dword:00000000
"DebugLevel"=dword:00000005
"DebugComp"=dword:ffffffff
"DiskSize"=dword:00100000
"DriveLetter"="Y:"
"RootDirEntries"=dword:00000200
"SectorsPerCluster"=dword:00000002
B、WimFltr组件:只要1个.SYS(WIMFLTR.SYS)和两个.DLL就可以了(WIMGAPI.DLL、FLTLIB.DLL)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\!SYSPE\ControlSet001\Enum\Root\LEGACY_FLTMGR]
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\!SYSPE\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000]
"Service"="FltMgr"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000000
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="FltMgr"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\FltMgr]
"Description"="File System Filter Manager Driver"
"DisplayName"="FltMgr"
"ErrorControl"=dword:00000001
"Group"="FSFilter Infrastructure"
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,66,00,6c,00,74,00,6d,00,67,00,72,\
00,2e,00,73,00,79,00,73,00,00,00
"Start"=dword:00000000
"Type"=dword:00000002
"Tag"=dword:00000001
"AttachWhenLoaded"=dword:00000001
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFltr]
"Type"=dword:00000002
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"Tag"=dword:00000004
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,77,00,69,00,6d,00,66,00,6c,00,74,\
00,72,00,2e,00,73,00,79,00,73,00,00,00
"DisplayName"="WimFltr"
"Group"="FSFilter Compression"
"DependOnService"=hex(7):46,00,6c,00,74,00,4d,00,67,00,72,00,00,00,00,00
"DependOnGroup"=hex(7):00,00
"Description"="Windows Image Mini-Filter Driver"
"DebugFlags"=dword:00000001
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFltr\Instances]
"DefaultInstance"="WimFltr Instance"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFltr\Instances\WimFltr Instance]
"Altitude"="170500"
"Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFltr\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFsf]
"DisplayName"="Windows Imaging File System Filter Driver"
"Group"="FSFilter Compression"
"ErrorControl"=dword:00000001
"Start"=dword:00000000
"Type"=dword:00000002
"DependOnService"=hex(7):46,00,6c,00,74,00,4d,00,67,00,72,00,00,00,00,00
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,77,00,69,00,6d,00,66,00,73,00,66,\
00,2e,00,73,00,79,00,73,00,00,00
"Tag"=dword:00000001
"DependOnGroup"=hex(7):00,00
"Description"="Windows Imaging File System Filter Driver"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFsf\Instances]
"DefaultInstance"="Wimfsf Instance"
[HKEY_LOCAL_MACHINE\!syspe\ControlSet001\Services\WimFsf\Instances\Wimfsf Instance]
"Altitude"="161000"
"Flags"=dword:00000000
上次为了给一个pe加上wim与ram盘找了很久的资料终于成功,楼主则要相反的结果,呵呵!!!!!
|