I've just managed to load a ramdisk from file using the registry, but I do not want changes to be written back to the file.
Using the 'copy image file to memory' seems to be what I need, but how can I enable this -t vm switch in the registry?
This is what I currently have
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImDisk\Parameters] "LoadDevices"=dword:00000001 "FileName0"="\\Device\\HarddiskVolume1\\RamDisk\\tempdrive.img" "DriveLetter0"="X" "Size0"=hex(b):00,00,00,00,00,00,00,00 "Flag0"=dword:00000200
Edit: According to http://www.ltr-data....127855d7e11.htm Flag0 with value of value 512 (200 hex) should work, but ImDisk still writes data back to the image file. Any ideas what I'm doing wrong?
Edited by Martin71, 08 January 2013 - 08:27 AM.