过期罐头电脑论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2442|回复: 0
收起左侧

在WinPE中如何多建立一个Ramdisk盘

[复制链接]
yaojian 2012-12-11 08:27:37 | 显示全部楼层
解开winpe.is_,得到winpe.iso,然后提取setupreg.hiv,用注册表编辑器加载到HKEY_LOCAL_MACHINE下,取名为!system,然后导入下面这个reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\!system] [HKEY_LOCAL_MACHINE\!system\ControlSet001] [HKEY_LOCAL_MACHINE\!system\ControlSet001\Enum] [HKEY_LOCAL_MACHINE\!system\ControlSet001\Enum\Root] [HKEY_LOCAL_MACHINE\!system\ControlSet001\Enum\Root\UNKNOWN] [HKEY_LOCAL_MACHINE\!system\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\!system\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\!system\ControlSet001\Services] [HKEY_LOCAL_MACHINE\!system\ControlSet001\Services\Ramdriv]
"Type"=dword:00000001
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"DisplayName"="Ramdisk"
"ImagePath"="system32\\drivers\\ramdriv.sys" [HKEY_LOCAL_MACHINE\!system\ControlSet001\Services\Ramdriv\Enum]
"0"="Root\\UNKNOWN\\9999"
"Count"=dword:00000001
"NextInstance"=dword:00000001 [HKEY_LOCAL_MACHINE\!system\ControlSet001\Services\Ramdriv\Parameters]
"BreakOnEntry"=dword:00000000
"DebugLevel"=dword:00000005
"DebugComp"=dword:ffffffff
"DiskSize"=dword:00100000
"DriveLetter"="B:"
"RootDirEntries"=dword:00000200
"SectorsPerCluster"=dword:00000002
      其中DiskSize是内存盘的大小,DriveLetter是内存盘盘符
DiskSize是内存盘的大小
32 m          0x02000000
64 m          0x04000000
96 m          0x06000000
128 m        0x08000000
      最后把修改好的setupreg.hiv卸载并放回winpe.iso中,system32\drivers还要加入Ramdriv.sys。
      另外可以把Ramdriv.sys 改名,并修改相关的注册表就可再建其它Ramdisk盘
您需要登录后才可以回帖 登录 | 注册

本版积分规则

一键重装系统|雨人系统下载|联系我们|网站地图|过期罐头电脑论坛

GMT+8, 2024-11-23 08:51 , Processed in 0.046471 second(s), 26 queries .

官方免责声明:本站内容来自网友和互联网.若侵犯到您的版权.请致信联系,我们将第一时间删除相关内容!

Powered by Discuz!

专注于win7_win10_win11系统下载装机

© 2010-2023 GQGTPC.Com

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