Hi!
It almost work...
I took the Ramdriv.sys provided with BartPE and did the following...
copy ramdriv.sys to system32\drivers folder
write ramdriv.reg to System32
When I boot
I do the following...
Regedit /s RAMDriv.reg
regsvr32 /s %SystemRoot%\System32\netcfgx.dll
factory -minint
netcfg -v -winpe
net start dhcp
net start nla
I 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??
ShrimpyOne
RAMDriv.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
____________________________________________