无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 4042|回复: 6
打印 上一主题 下一主题

[求助] 关于winpe集成imdisk的问题

[复制链接]
跳转到指定楼层
1#
发表于 2017-4-15 16:17:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
最近想学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运行不了,创建不了虚拟盘。仍是没有正确安装,提取的注册表如下:

  1. Windows Registry Editor Version 5.00

  2. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\*\shell]

  3. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\*\shell\ImDiskMountFile]
  4. @="加载为 ImDisk 虚拟盘(&M)"

  5. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\*\shell\ImDiskMountFile\command]
  6. @="rundll32.exe imdisk.cpl,RunDLL_MountFile %L"

  7. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\Drive\shell\ImDiskSaveImage]
  8. @="保存磁盘内容为镜像文件(&S)"

  9. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Classes\Drive\shell\ImDiskSaveImage\command]
  10. @="rundll32.exe imdisk.cpl,RunDLL_SaveImageFile %L"

  11. [HKEY_LOCAL_MACHINE\pes\OFTWARE\Classes\Drive\shell\ImDiskUnmount]
  12. @="卸载 ImDisk 虚拟盘(&U)"

  13. [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\ImDiskUnmount\command]
  14. @="rundll32.exe imdisk.cpl,RunDLL_RemoveDevice %L"

  15. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Microsoft\Cryptography\RNG]
  16. "Seed"=hex:c4,96,6a,ba,8e,02,fe,20,f4,47,c2,7e,57,b4,2a,10,c1,69,29,a9,14,fd,\
  17.   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,\
  18.   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,\
  19.   f9,16,b4,cf,41,0a,55,b3

  20. [HKEY_LOCAL_MACHINE\pes\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
  21. "GrpConv"="grpconv -o"

  22. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Control\ServiceCurrent]
  23. @=dword:00000007

  24. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_AWEALLOC]
  25. "NextInstance"=dword:00000001

  26. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_AWEALLOC\0000]
  27. "Class"="LegacyDriver"
  28. "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
  29. "ConfigFlags"=dword:00000000
  30. "DeviceDesc"="AWE Memory Allocation Driver"
  31. "Legacy"=dword:00000001
  32. "Service"="AWEAlloc"

  33. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_AWEALLOC\0000\Control]
  34. "*NewlyCreated*"=dword:00000000
  35. "ActiveService"="AWEAlloc"

  36. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDISK]
  37. "NextInstance"=dword:00000001

  38. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDISK\0000]
  39. "Class"="LegacyDriver"
  40. "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
  41. "ConfigFlags"=dword:00000000
  42. "DeviceDesc"="ImDisk Virtual Disk Driver"
  43. "Legacy"=dword:00000001
  44. "Service"="ImDisk"

  45. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDISK\0000\Control]
  46. "*NewlyCreated*"=dword:00000000
  47. "ActiveService"="ImDisk"

  48. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDSKSVC]
  49. "NextInstance"=dword:00000001

  50. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDSKSVC\0000]
  51. "Class"="LegacyDriver"
  52. "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
  53. "ConfigFlags"=dword:00000000
  54. "DeviceDesc"="ImDisk Virtual Disk Driver Helper"
  55. "Legacy"=dword:00000001
  56. "Service"="ImDskSvc"

  57. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Enum\Root\LEGACY_IMDSKSVC\0000\Control]
  58. "*NewlyCreated*"=dword:00000000
  59. "ActiveService"="ImDskSvc"

  60. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\AWEAlloc]
  61. "Description"="Driver for physical memory allocation through AWE"
  62. "DisplayName"="AWE Memory Allocation Driver"
  63. "ErrorControl"=dword:00000000
  64. "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  65.   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,\
  66.   00,6f,00,63,00,2e,00,73,00,79,00,73,00,00,00
  67. "Start"=dword:00000002
  68. "Type"=dword:00000001

  69. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\AWEAlloc\Enum]
  70. "0"="Root\\LEGACY_AWEALLOC\\0000"
  71. "Count"=dword:00000001
  72. "NextInstance"=dword:00000001

  73. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\AWEAlloc\Security]
  74. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  75.   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,\
  76.   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,\
  77.   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,\
  78.   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,\
  79.   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,\
  80.   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

  81. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDisk]
  82. "Description"="Disk emulation driver"
  83. "DisplayName"="ImDisk Virtual Disk Driver"
  84. "ErrorControl"=dword:00000000
  85. "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  86.   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,\
  87.   00,2e,00,73,00,79,00,73,00,00,00
  88. "Start"=dword:00000002
  89. "Type"=dword:00000001

  90. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDisk\Enum]
  91. "0"="Root\\LEGACY_IMDISK\\0000"
  92. "Count"=dword:00000001
  93. "NextInstance"=dword:00000001

  94. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDisk\Security]
  95. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  96.   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,\
  97.   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,\
  98.   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,\
  99.   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,\
  100.   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,\
  101.   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

  102. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDskSvc]
  103. "Description"="Helper service for ImDisk Virtual Disk Driver."
  104. "DisplayName"="ImDisk Virtual Disk Driver Helper"
  105. "ErrorControl"=dword:00000000
  106. "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  107.   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,\
  108.   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
  109. "ObjectName"="LocalSystem"
  110. "Start"=dword:00000002
  111. "Type"=dword:00000010

  112. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDskSvc\Enum]
  113. "0"="Root\\LEGACY_IMDSKSVC\\0000"
  114. "Count"=dword:00000001
  115. "NextInstance"=dword:00000001

  116. [HKEY_LOCAL_MACHINE\pe\SYSTEM\ControlSet001\Services\ImDskSvc\Security]
  117. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  118.   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,\
  119.   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,\
  120.   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,\
  121.   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,\
  122.   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,\
  123.   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

  124. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Control\ServiceCurrent]
  125. @=dword:00000007

  126. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_AWEALLOC]
  127. "NextInstance"=dword:00000001

  128. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_AWEALLOC\0000]
  129. "Class"="LegacyDriver"
  130. "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
  131. "ConfigFlags"=dword:00000000
  132. "DeviceDesc"="AWE Memory Allocation Driver"
  133. "Legacy"=dword:00000001
  134. "Service"="AWEAlloc"

  135. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_AWEALLOC\0000\Control]
  136. "*NewlyCreated*"=dword:00000000
  137. "ActiveService"="AWEAlloc"

  138. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDISK]
  139. "NextInstance"=dword:00000001

  140. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDISK\0000]
  141. "Class"="LegacyDriver"
  142. "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
  143. "ConfigFlags"=dword:00000000
  144. "DeviceDesc"="ImDisk Virtual Disk Driver"
  145. "Legacy"=dword:00000001
  146. "Service"="ImDisk"

  147. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDISK\0000\Control]
  148. "*NewlyCreated*"=dword:00000000
  149. "ActiveService"="ImDisk"

  150. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDSKSVC]
  151. "NextInstance"=dword:00000001

  152. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDSKSVC\0000]
  153. "Class"="LegacyDriver"
  154. "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
  155. "ConfigFlags"=dword:00000000
  156. "DeviceDesc"="ImDisk Virtual Disk Driver Helper"
  157. "Legacy"=dword:00000001
  158. "Service"="ImDskSvc"

  159. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_IMDSKSVC\0000\Control]
  160. "*NewlyCreated*"=dword:00000000
  161. "ActiveService"="ImDskSvc"

  162. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\AWEAlloc]
  163. "Description"="Driver for physical memory allocation through AWE"
  164. "DisplayName"="AWE Memory Allocation Driver"
  165. "ErrorControl"=dword:00000000
  166. "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  167.   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,\
  168.   00,6f,00,63,00,2e,00,73,00,79,00,73,00,00,00
  169. "Start"=dword:00000002
  170. "Type"=dword:00000001

  171. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\AWEAlloc\Enum]
  172. "0"="Root\\LEGACY_AWEALLOC\\0000"
  173. "Count"=dword:00000001
  174. "NextInstance"=dword:00000001

  175. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\AWEAlloc\Security]
  176. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  177.   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,\
  178.   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,\
  179.   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,\
  180.   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,\
  181.   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,\
  182.   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

  183. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDisk]
  184. "Description"="Disk emulation driver"
  185. "DisplayName"="ImDisk Virtual Disk Driver"
  186. "ErrorControl"=dword:00000000
  187. "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  188.   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,\
  189.   00,2e,00,73,00,79,00,73,00,00,00
  190. "Start"=dword:00000002
  191. "Type"=dword:00000001

  192. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDisk\Enum]
  193. "0"="Root\\LEGACY_IMDISK\\0000"
  194. "Count"=dword:00000001
  195. "NextInstance"=dword:00000001

  196. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDisk\Security]
  197. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  198.   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,\
  199.   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,\
  200.   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,\
  201.   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,\
  202.   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,\
  203.   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

  204. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDskSvc]
  205. "Description"="Helper service for ImDisk Virtual Disk Driver."
  206. "DisplayName"="ImDisk Virtual Disk Driver Helper"
  207. "ErrorControl"=dword:00000000
  208. "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  209.   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,\
  210.   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
  211. "ObjectName"="LocalSystem"
  212. "Start"=dword:00000002
  213. "Type"=dword:00000010

  214. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDskSvc\Enum]
  215. "0"="Root\\LEGACY_IMDSKSVC\\0000"
  216. "Count"=dword:00000001
  217. "NextInstance"=dword:00000001

  218. [HKEY_LOCAL_MACHINE\pe\SYSTEM\CurrentControlSet\Services\ImDskSvc\Security]
  219. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  220.   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,\
  221.   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,\
  222.   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,\
  223.   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,\
  224.   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,\
  225.   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

复制代码

2#
发表于 2017-4-15 18:10:31 | 只看该作者
将以下注册表保存为reg文件,挂在注册表文件 Software 为PE-SOFT 、挂载注册表文件 DEFAULT 为PE-DEF导入刚才保存注册表REG文件
  1. Windows Registry Editor Version 5.00

  2. [HKEY_LOCAL_MACHINE\pe-soft]

  3. [HKEY_LOCAL_MACHINE\pe-soft\Classes]

  4. [HKEY_LOCAL_MACHINE\pe-soft\Classes\Drive]

  5. [HKEY_LOCAL_MACHINE\pe-soft\Classes\Drive\shell]

  6. [HKEY_LOCAL_MACHINE\pe-soft\Classes\Drive\shell\ImDiskUnmount]
  7. @="卸载 ImDisk 虚拟磁盘"
  8. "Icon"="imdisk.cpl,0"

  9. [HKEY_LOCAL_MACHINE\pe-soft\Classes\Drive\shell\ImDiskUnmount\command]
  10. @="rundll32.exe imdisk.cpl,RunDLL_RemoveDevice %L"

  11. [HKEY_LOCAL_MACHINE\pe-soft\Classes\Drive\shell\ImDiskSaveImage]
  12. @="将磁盘内容保存为映像文件"
  13. "Icon"="imdisk.cpl,0"

  14. [HKEY_LOCAL_MACHINE\pe-soft\Classes\Drive\shell\ImDiskSaveImage\command]
  15. @="rundll32.exe imdisk.cpl,RunDLL_SaveImageFile %L"

  16. [HKEY_LOCAL_MACHINE\pe-soft\Classes\*]

  17. [HKEY_LOCAL_MACHINE\pe-soft\Classes\*\shell]

  18. [HKEY_LOCAL_MACHINE\pe-soft\Classes\*\shell\ImDiskMountFile]
  19. @="装载为 ImDisk 虚拟磁盘"
  20. "Icon"="imdisk.cpl,0"

  21. [HKEY_LOCAL_MACHINE\pe-soft\Classes\*\shell\ImDiskMountFile\command]
  22. @="rundll32.exe imdisk.cpl,RunDLL_MountFile %L"

  23. [HKEY_LOCAL_MACHINE\pe-sys]

  24. [HKEY_LOCAL_MACHINE\pe-sys\ControlSet001]

  25. [HKEY_LOCAL_MACHINE\pe-sys\ControlSet001\services]

  26. [HKEY_LOCAL_MACHINE\pe-sys\ControlSet001\services\ImDskSvc]
  27. "Type"=dword:00000010
  28. "Start"=dword:00000002
  29. "ErrorControl"=dword:00000000
  30. "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  31.   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,\
  32.   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
  33. "DisplayName"="ImDisk虚拟磁盘驱动器助手"
  34. "ObjectName"="LocalSystem"
  35. "Description"="ImDisk 虚拟磁盘驱动程序的帮助器服务。"

  36. [HKEY_LOCAL_MACHINE\pe-sys\ControlSet001\services\ImDisk]
  37. "Type"=dword:00000001
  38. "Start"=dword:00000002
  39. "ErrorControl"=dword:00000000
  40. "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  41.   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,\
  42.   00,2e,00,73,00,79,00,73,00,00,00
  43. "DisplayName"="ImDisk虚拟磁盘驱动器"
  44. "Description"="磁盘仿真驱动程序"

  45. [HKEY_LOCAL_MACHINE\pe-sys\ControlSet001\services\ImDisk\Enum]
  46. "0"="Root\\LEGACY_IMDISK\\0000"
  47. "Count"=dword:00000001
  48. "NextInstance"=dword:00000001
复制代码

System32目录添加 imdisk.cpl imdisk.exe(如果不用命令行的Imdisk的话这个exe可以去掉)
Drive目录添加 imdisk.sys文件
以上方法我在8 10成功

点评

挂载注册表文件 DEFAULT 为PE-DEF,我看你注册表文件下没有pe-def子项啊,另外SETUPREG.HI_不用导入了么,我提取的注册表全部不要?  详情 回复 发表于 2017-4-15 19:02
回复

使用道具 举报

3#
 楼主| 发表于 2017-4-15 19:02:07 | 只看该作者
金 发表于 2017-4-15 18:10
将以下注册表保存为reg文件,挂在注册表文件 Software 为PE-SOFT 、挂载注册表文件 DEFAULT 为PE-DEF导入刚 ...

挂载注册表文件 DEFAULT 为PE-DEF,我看你注册表文件下没有pe-def子项啊,另外SETUPREG.HI_不用导入了么,我提取的注册表全部不要?

点评

setupreg.hi_是CAB压缩后的配置单元,需要解压后挂载导入。然后再用CAB压缩,你搜索一下CAB最大压缩右键的注册表。 这个setupreg.hiv即相当于SYSTEM配置单元。  详情 回复 发表于 2017-4-16 02:56
不好意思说错了,是SYSTEM文件,挂载为PE-SYS  详情 回复 发表于 2017-4-15 23:24
回复

使用道具 举报

4#
发表于 2017-4-15 19:03:15 | 只看该作者
没有自动挂载?很方面的!很多没有必要固定挂载盘符!
HKCR, "*\shell\mount", , 0, "自动挂载 "
HKCR, "*\shell\mount", Icon, 0, "imdisk.cpl,0"
HKCR, "*\shell\mount\command", ,0x00020000, "imdisk.exe -a -f ""%1"" -m #:"
回复

使用道具 举报

5#
 楼主| 发表于 2017-4-15 23:21:16 | 只看该作者
经过核实是winpe过度精简的问题,我换了win2003的pe加上上述代码没有问题,我原来那个winpe安装的时候提示驱动没有经过微软签名认证,可能是这个原因把,xp的pe环境下使用安装包安装时提示,点击忽略imdisk还是能够正常运行
回复

使用道具 举报

6#
发表于 2017-4-15 23:24:14 | 只看该作者
dengxin 发表于 2017-4-15 19:02
挂载注册表文件 DEFAULT 为PE-DEF,我看你注册表文件下没有pe-def子项啊,另外SETUPREG.HI_不用导入了么 ...

不好意思说错了,是SYSTEM文件,挂载为PE-SYS
回复

使用道具 举报

7#
发表于 2017-4-16 02:56:43 | 只看该作者
dengxin 发表于 2017-4-15 19:02
挂载注册表文件 DEFAULT 为PE-DEF,我看你注册表文件下没有pe-def子项啊,另外SETUPREG.HI_不用导入了么 ...

setupreg.hi_是CAB压缩后的配置单元,需要解压后挂载导入。然后再用CAB压缩,你搜索一下CAB最大压缩右键的注册表。
这个setupreg.hiv即相当于SYSTEM配置单元。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-22 23:55

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表