本帖最后由 sairen139 于 2023-2-27 15:13 编辑
如果不想替换掉pe里system32文件夹里的wimgapi.dll可以将这个解压后wimgapi.dll和df.exe都一起放到pe的windows文件夹里,这样也能直接命令行挂载wim文件!
如果想要直接用imdisk生成虚拟盘B盘或者Y盘来挂载wim文件,则可以下载附件【PE离线集成imdisk驱动支持命令行创建虚拟盘.zip】给你的pe离线集成imdisk驱动!
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\ImDiskMountFile]
@="加载到 ImDisk 虚拟磁盘"
"Icon"="imdisk.cpl,0"
[HKEY_CLASSES_ROOT\*\shell\ImDiskMountFile\command]
@="rundll32.exe imdisk.cpl,RunDLL_MountFile %L"
[HKEY_CLASSES_ROOT\Drive\shell\ImDiskSaveImage]
@="磁盘内容保存为映像文件"
"Icon"="imdisk.cpl,0"
[HKEY_CLASSES_ROOT\Drive\shell\ImDiskSaveImage\command]
@="rundll32.exe imdisk.cpl,RunDLL_SaveImageFile %L"
[HKEY_CLASSES_ROOT\Drive\shell\ImDiskUnmount]
@="卸载 ImDisk 虚拟磁盘"
"Icon"="imdisk.cpl,0"
[HKEY_CLASSES_ROOT\Drive\shell\ImDiskUnmount\command]
@="rundll32.exe imdisk.cpl,RunDLL_RemoveDevice %L"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\AWEAlloc]
"Description"="Driver for physical memory allocation through AWE"
"DisplayName"="AWE Memory Allocation Driver"
"ErrorControl"=dword:00000000
"ImagePath"=hex(2):5C,00,53,00,79,00,73,00,74,00,65,00,6D,00,52,00,6F,00,6F,00,\
74,00,5C,00,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\SYSTEM\ControlSet001\Services\ImDisk]
"Description"="Disk emulation driver"
"DisplayName"="ImDisk Virtual Disk Driver"
"ErrorControl"=dword:00000000
"ImagePath"=hex(2):5C,00,53,00,79,00,73,00,74,00,65,00,6D,00,52,00,6F,00,6F,00,\
74,00,5C,00,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\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
|