最近想学winpe制作,于是,找了个winxp的骨头版pe练手,看教程,说加载虚拟盘需要集成imdisk,我照着论坛的帖子做了,进去,提示,服务没有启动,后来干脆从官网下了个最新的imdisk,放在winpe环境下安装,通过比较注册表快照提取了注册表文件,然后把imdsksvc.exe,imdisk.cpl,imdisk.exe放在system32目录下,imdisk.sys,awealloc.sys放在system32/drivers目录下,然后提取SETUPREG.HI_和software文件,加载配置单元到注册表导入快照注册表文件,修改,保存至pe的iso相关目录下,进入pe后发现,开始栏没有了,imdisk运行不了,创建不了虚拟盘。仍是没有正确安装,提取的注册表如下:
- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\*\shell]
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\*\shell\ImDiskMountFile]
- @="加载为 ImDisk 虚拟盘(&M)"
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\*\shell\ImDiskMountFile\command]
- @="rundll32.exe imdisk.cpl,RunDLL_MountFile %L"
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\Drive\shell\ImDiskSaveImage]
- @="保存磁盘内容为镜像文件(&S)"
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\Drive\shell\ImDiskSaveImage\command]
- @="rundll32.exe imdisk.cpl,RunDLL_SaveImageFile %L"
- [HKEY_LOCAL_MACHINE\pes\OFTWARE\Classes\Drive\shell\ImDiskUnmount]
- @="卸载 ImDisk 虚拟盘(&U)"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\ImDiskUnmount\command]
- @="rundll32.exe imdisk.cpl,RunDLL_RemoveDevice %L"
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Microsoft\Cryptography\RNG]
- "Seed"=hex:c4,96,6a,ba,8e,02,fe,20,f4,47,c2,7e,57,b4,2a,10,c1,69,29,a9,14,fd,\
- b1,05,cf,73,5d,b0,1a,8a,86,2a,24,cd,f4,60,17,9f,8e,15,1c,ed,42,37,d9,6a,d5,\
- 7b,3b,d4,ce,fa,5e,7a,ba,f9,09,db,08,bf,e9,9e,a2,29,a9,84,51,3d,11,eb,d7,13,\
- f9,16,b4,cf,41,0a,55,b3
- [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
- "GrpConv"="grpconv -o"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Control\ServiceCurrent]
- @=dword:00000007
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_AWEALLOC]
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_AWEALLOC\0000]
- "Class"="LegacyDriver"
- "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
- "ConfigFlags"=dword:00000000
- "DeviceDesc"="AWE Memory Allocation Driver"
- "Legacy"=dword:00000001
- "Service"="AWEAlloc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_AWEALLOC\0000\Control]
- "*NewlyCreated*"=dword:00000000
- "ActiveService"="AWEAlloc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDISK]
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDISK\0000]
- "Class"="LegacyDriver"
- "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
- "ConfigFlags"=dword:00000000
- "DeviceDesc"="ImDisk Virtual Disk Driver"
- "Legacy"=dword:00000001
- "Service"="ImDisk"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Control]
- "*NewlyCreated*"=dword:00000000
- "ActiveService"="ImDisk"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDSKSVC]
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDSKSVC\0000]
- "Class"="LegacyDriver"
- "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
- "ConfigFlags"=dword:00000000
- "DeviceDesc"="ImDisk Virtual Disk Driver Helper"
- "Legacy"=dword:00000001
- "Service"="ImDskSvc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDSKSVC\0000\Control]
- "*NewlyCreated*"=dword:00000000
- "ActiveService"="ImDskSvc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\AWEAlloc]
- "Description"="Driver for physical memory allocation through AWE"
- "DisplayName"="AWE Memory Allocation Driver"
- "ErrorControl"=dword:00000000
- "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,61,00,77,00,65,00,61,00,6c,00,6c,\
- 00,6f,00,63,00,2e,00,73,00,79,00,73,00,00,00
- "Start"=dword:00000002
- "Type"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\AWEAlloc\Enum]
- "0"="Root\\LEGACY_AWEALLOC\\0000"
- "Count"=dword:00000001
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\AWEAlloc\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\pe\SYSTEM\ControlSet001\Services\ImDisk]
- "Description"="Disk emulation driver"
- "DisplayName"="ImDisk Virtual Disk Driver"
- "ErrorControl"=dword:00000000
- "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,69,00,6d,00,64,00,69,00,73,00,6b,\
- 00,2e,00,73,00,79,00,73,00,00,00
- "Start"=dword:00000002
- "Type"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDisk\Enum]
- "0"="Root\\LEGACY_IMDISK\\0000"
- "Count"=dword:00000001
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDisk\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\pe\SYSTEM\ControlSet001\Services\ImDskSvc]
- "Description"="Helper service for ImDisk Virtual Disk Driver."
- "DisplayName"="ImDisk Virtual Disk Driver Helper"
- "ErrorControl"=dword:00000000
- "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
- 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,\
- 00,6d,00,64,00,73,00,6b,00,73,00,76,00,63,00,2e,00,65,00,78,00,65,00,00,00
- "ObjectName"="LocalSystem"
- "Start"=dword:00000002
- "Type"=dword:00000010
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDskSvc\Enum]
- "0"="Root\\LEGACY_IMDSKSVC\\0000"
- "Count"=dword:00000001
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDskSvc\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\pe\SYSTEM\CurrentControlSet\Control\ServiceCurrent]
- @=dword:00000007
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_AWEALLOC]
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_AWEALLOC\0000]
- "Class"="LegacyDriver"
- "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
- "ConfigFlags"=dword:00000000
- "DeviceDesc"="AWE Memory Allocation Driver"
- "Legacy"=dword:00000001
- "Service"="AWEAlloc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_AWEALLOC\0000\Control]
- "*NewlyCreated*"=dword:00000000
- "ActiveService"="AWEAlloc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDISK]
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDISK\0000]
- "Class"="LegacyDriver"
- "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
- "ConfigFlags"=dword:00000000
- "DeviceDesc"="ImDisk Virtual Disk Driver"
- "Legacy"=dword:00000001
- "Service"="ImDisk"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDISK\0000\Control]
- "*NewlyCreated*"=dword:00000000
- "ActiveService"="ImDisk"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDSKSVC]
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDSKSVC\0000]
- "Class"="LegacyDriver"
- "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
- "ConfigFlags"=dword:00000000
- "DeviceDesc"="ImDisk Virtual Disk Driver Helper"
- "Legacy"=dword:00000001
- "Service"="ImDskSvc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDSKSVC\0000\Control]
- "*NewlyCreated*"=dword:00000000
- "ActiveService"="ImDskSvc"
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\AWEAlloc]
- "Description"="Driver for physical memory allocation through AWE"
- "DisplayName"="AWE Memory Allocation Driver"
- "ErrorControl"=dword:00000000
- "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,61,00,77,00,65,00,61,00,6c,00,6c,\
- 00,6f,00,63,00,2e,00,73,00,79,00,73,00,00,00
- "Start"=dword:00000002
- "Type"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\AWEAlloc\Enum]
- "0"="Root\\LEGACY_AWEALLOC\\0000"
- "Count"=dword:00000001
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\AWEAlloc\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\pe\SYSTEM\CurrentControlSet\Services\ImDisk]
- "Description"="Disk emulation driver"
- "DisplayName"="ImDisk Virtual Disk Driver"
- "ErrorControl"=dword:00000000
- "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,69,00,6d,00,64,00,69,00,73,00,6b,\
- 00,2e,00,73,00,79,00,73,00,00,00
- "Start"=dword:00000002
- "Type"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDisk\Enum]
- "0"="Root\\LEGACY_IMDISK\\0000"
- "Count"=dword:00000001
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDisk\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\pe\SYSTEM\CurrentControlSet\Services\ImDskSvc]
- "Description"="Helper service for ImDisk Virtual Disk Driver."
- "DisplayName"="ImDisk Virtual Disk Driver Helper"
- "ErrorControl"=dword:00000000
- "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
- 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,\
- 00,6d,00,64,00,73,00,6b,00,73,00,76,00,63,00,2e,00,65,00,78,00,65,00,00,00
- "ObjectName"="LocalSystem"
- "Start"=dword:00000002
- "Type"=dword:00000010
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDskSvc\Enum]
- "0"="Root\\LEGACY_IMDSKSVC\\0000"
- "Count"=dword:00000001
- "NextInstance"=dword:00000001
- [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDskSvc\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
复制代码
|