I am trying to load a blank ramdisk at startup through the registry but am having trouble with SizeN value. I am familiar with editing the registry, but my attempts to add a "64-bit binary value...in reverse byte order" representing 256MB (1024*1024*256=268435456) have failed to create anything. Is there any easier way to specify the value through a .reg file or editing the registry manually? At this point I know I'm just doing it wrong.SizeN
These values should be 64-bit binary values and specifies the size for virtual disks. For file backed disks, the file size is adjusted to this size. N should be replaced with 0 for the first virtual disk, 1 for the second and so on. These parameters are optional for file backed virtual disks. Note that the Size values are specified in reverse byte order, the first byte represent the least significant byte of the 64-bit size.
I know ImDisk works because everything functions fine when I auto load at startup a predefined image with the following:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImDisk] "Start"=dword:00000002 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImDisk\Parameters] "DriveLetter0"="R" "FileName0"="\\??\\C:\RAMDISK.IMA" "Flags0"=dword:00000200 "LoadDevices"=dword:00000001Thanks,