ShrimpBoy Posted February 6, 2006 Share Posted February 6, 2006 Hi!I need to use one of those drivers to install a RAMDrive in my WinPE 1.6 based on Win2K3...-RAMDISK Sample provided by Microsoft site ( http://support.microsoft.com/kb/q257405/ )-RAMDISK driver from Win2K3 installation files ( I386\RAMDISK.IN_ and RAMDISK.SY_ ) I would like to install it without applying registry directly into setupreg.hiv before booting WinPE...Is it possible?Can you provide a clear method to do that?Thanks!ShrimpyOneP.S.: I'm really cheap and I don't want to pay for a RAMDISK Driver to be legit, so use the free drivers that I've handy... Link to comment Share on other sites More sharing options...
ChrisBaksa Posted February 7, 2006 Share Posted February 7, 2006 Yes it is. You need to mount the registry and apply a the ramdriv.reg file to the setupreg.hiv prior to compiling the image. It's called a reg slam.here is how...:LoadRegistry reg.exe load HKLM\NewSys %1\system32\setupreg.hiv:RegistrySlam RegEdit.exe /s "%~dp0\ramdrv.reg":UNLoadRegistry reg.exe unload HKLM\NewSys Chris Link to comment Share on other sites More sharing options...
ShrimpBoy Posted February 7, 2006 Author Share Posted February 7, 2006 Hi!I know that!Thanks a lot for trying!What I want is to have a startnet.cmd that install and start the RAMDrive...Thanks!ShrimpyOne Link to comment Share on other sites More sharing options...
ShrimpBoy Posted February 7, 2006 Author Share Posted February 7, 2006 Hi!It almost work...I took the Ramdriv.sys provided with BartPE and did the following...copy ramdriv.sys to system32\drivers folderwrite ramdriv.reg to System32When I bootI do the following...Regedit /s RAMDriv.regregsvr32 /s %SystemRoot%\System32\netcfgx.dllfactory -minintnetcfg -v -winpenet start dhcpnet start nlaI have the RAMDrive, but got this message while trying to connect to network..."Your system is low on virtual memory. To ensure that Windows runs properly, increase the size of your virtual memory paging file. For more information, see Help."How can I fix this??ShrimpyOneRAMDriv.reg____________________________________________Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]"Temp"="Y:""Tmp"="Y:"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}]"Class"="RamDisk"@="RAM Disk"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001]"ProviderName"="QSoft""MatchingDeviceId"="ramdriv""DriverDesc"="Ramdisk [ QSoft ]"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\UNKNOWN\9999]"ClassGUID"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}""Class"="RamDisk""ConfigFlags"=dword:00000004"Mfg"="QSoft""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 [ QSoft ]""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& quot;,0x00010000,00,00,00,00,00,00,00,00,00,00,00,00"=""[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdriv]"Type"=dword:00000001"Start"=dword:00000003"ErrorControl"=dword:00000001"DisplayName"="Ramdisk [ QSoft ]""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:00200000"DriveLetter"="Y:""RootDirEntries"=dword:00000200"SectorsPerCluster"=dword:00000002____________________________________________ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now