|
在system32\Drivers目录下添加imdisk.sys,然后在PECMD.INI中添加下列语句
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Type=#1
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Start=#3
- REGI HKLM\pe\ControlSet001\Services\ImDisk\ErrorControl=#0
- REGI HKLM\pe\ControlSet001\Services\ImDisk\ImagePath=~system32\DRIVERS\imdisk.sys
- REGI HKLM\pe\ControlSet001\Services\ImDisk\DisplayName=ImDisk Virtual Disk Driver
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Description=Disk emulation driver
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Security\Security=@01001480b8000000c4000000140000003000000002001c000100000002801400ff010f00010100000000000100000000020088000600000000001400fd01020001010000000000051200000000001800ff010f0001020000000000052000000020020000000014008d010200010100000000000504000000000014008d010200010100000000000506000000000014000001000001010000000000050b00000000001800fd01020001020000000000052000000023020000010100000000000512000000010100000000000512000000
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Enum\0=Root\LEGACY_IMDISK\0000
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Enum\Count=#1
- REGI HKLM\pe\ControlSet001\Services\ImDisk\Enum\NextInstance=#1
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\NextInstance=#1
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Service=ImDisk
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Legacy=#1
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\ConfigFlags=#0
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Class=LegacyDriver
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\ClassGUID={8ECC055D-047F-11D1-A537-0000F8753ED1}
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\DeviceDesc=ImDisk Virtual Disk Driver
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Capabilities=#0
- REGI HKLM\pe\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Control=""
复制代码
在WINPE.INI下添加语句
- RAMD ImDisk,L24,FAT16,Y:
- MOUN !%CurDrv%\Tool.WIM,Y:,1
- FBWF P20 L32
- ENVI OPDir=Y:\外置程序
复制代码
结果进PE发现未创建Y盘,求解... |
|