May 27, 2007
My Digital Life Editorial Team

Free Ramdisk for Windows Vista, XP, 2000 and 2003 Server

Ramdisk or RAM-Disk is a virtual hard drive based on software abstraction that treats a segment of random access memory (RAM) as secondary storage which is similar to hard disks, except with advantage that ramdisk is a lot faster and access time is greatly improved. As there is no mechanical moving parts involved, there won’t be question of wear and tear too. Ramdisk has one obvious downside, that it’s volatile and not solid state. Contents in Ramdisk is stored in computer RAM, which will be lost when the power of computer is switched off.

With these benefits and limit, ramdisk can be used to store frequently accessed yet less important temporary data to speed up the system performance, such as swap space for virtual memory, temporary files used for programs such as Internet Explorer, BT client, P2P eMule, compression utility, translation software and etc, frequently accessed data from a database or used to hold uncompressed programs for short periods. From privacy point of view, Ramdisk is also a working drive for decrypted version of encrypted document, as all trace of the data will be wiped and deleted once power off.

There are plenty of Ramdisk driver and software available, such as RamDisk9xME, RAMDiskXP, RAMDiskSE and RAMDiskVE from Cenatek, RamDisk and RamDisk Plus from SuperSpeed, RAMDisk Enterprise Lite and Full version plus 64 MB limited free RAMDiskbased on Microsoft Ramdisk below from QSoft, and Ramdisk.sys driver for Windows 2000 from Microsoft published under KB257405. However, most of these Ramdisk drivers either is not free, or limit in its functionality especially on the size on RAM-disk. Some not even support Windows Vista.

The following freeware RRamdisk.sys, originally written by Gavotte based on Microsoft’s Ramdisk.sys, and later being added a GUI interface by lyh728 is not only free to use, it also stable, doesn’t have size limitation, supports popular FAT16,FAT32, NTFS filesystems, and supports Windows 2000 operating system and above including Vista.

Download Gavotte Ramdisk with GUI (ramdisk.zip).
Alternative download link.

To use Ramdisk, the most important requirement is that the system has a lot of memory, much a lot than the size of Ramdisk that you intends to create. It works on system with minimum 256 MB RAM, where you’re recommended not to set Ramdisk with size more than 64 MB.

Ramdisk Install Failed in Vista

Installation and setup of Ramdisk is pretty simple. Unpack the zip archive to a folder, and run ramdisk.exe. In Windows Vista, you need to right click on it and select “Run as Administrator”, if not you will get a Failed error message. Click on Install Ramdisk to install RRamdisk.sys driver. Answer Yes or Allow if prompted with driver not signed with valid digital signature or can’t verify the publisher of this driver software warning message. Once Ramdisk is installed, all buttons that previously grayed out inactive are now activated.

Install Ramdisk

Now you can set the disk size in Bytes, configure the drive letter for the Ramdisk. You can also specify which media type is the drive – RAM Drive, Fixed Media or Removable Media (for simulating a floppy drive). The default choice, Fixed Media indicates that the Ramdisk is simulating a hard disk drive should work in most case. Click on OK when done with configuration. Note that if you modify the settings of the Ramdisk during the time when system process is accessing the Ramdisk, you will require to reboot the system. Caveat is that, if you put IE Temporary Internet files into the Ramdisk, you will always need to restart computer even though you’re not running IE.

Ramdisk in Vista

A additional drive, the Ramdisk with default drive letter R: (assuming you’re not changing it) will be created, and immediately accessible for usage.

Other buttons in the Ramdisk GUI are pretty obvious in usage. Use “Remove Ramdisk” to uninstall Ramdisk, or more specifically RRamdisk.sys driver from the system. Save Image… and Load Image… allows users to save or open an image file for the whole contents of Ramdisk, useful if you want to store data in Ramdisk in unaltered state to be open up later.

Ramdisk.exe accepts a image file as its argument so that the image file can be loaded automatically into the Ramdisk from command line. Potential usage include adding of “ramdisk imgfilename” to system boot up script such as autoexec.bat to load the data into memory disk.

There are more customization and other potential usage for Gavotte Ramdisk not included in the GUI. However, you need to manually edit the registry. These additional functions are maintained by addswap.exe and rdutil.exe which explained pretty well by the Readme (included in Page 2). In most case, you won’t need to come to this extent.

  1. Parameters registry is

    HKLM\System\CurrentControlSet\Services\RRamdisk\Parameters\

    Why RRamdisk? Because XP SP1 contain a Ramdisk driver for XP Embeded.

  2. Parameter: DiskSizeM, DiskSizeK

    Your desired disk size, the unit is M bytes or K bytes. The DiskSizeK has higher priority.

  3. Parameter: MediaType

    The reported drive type:

    1 — RAM Drive
    2 — Fixed Media (default)
    3 — Removable Media
    4 — Floppy Diskette

  4. Parameter: DriveLetter

    Name say it is, default is R:

  5. Parameter: SectorsPerCluster

    Your desired cluster size, zero for driver pickup:

    <= 2M FAT12, cluster=512
    <= 32M FAT16, cluster=512
    <= 64M FAT16, cluster=1k
    <= 128M FAT16, cluster=2k
    <= 256M FAT16, cluster=4k
    <= 512M FAT32, cluster=2k
    <= 16G FAT32, cluster=4k
    and more...

    You can specify smaller cluster size, force pre-format as FAT32.

  6. Parameter: Image

    Maintained by rdutil utlilty, mainly for preload NTFS image. Eg:

    1. Load ramdisk, don’t write anything.
    2. Format the ramdisk

      FORMAT /FS:NTFS /Q /V:RamDisk /A:512 R:

    3. Adjust logfile to minimum size

      CHKDSK /L:2048 R:

    4. Reset access rights

      CACLS R:\ /G: BUILTIN\Adminstrators:F

    5. Create necessary structure

      MKDIR R:\TEMP

    6. Pack the disk image and save to registry

      rdutil R: registry

    Notes:

    1. You should leave RamDisk as clean as possible before packing, the max packed image size is 64K.
    2. The disk image only valid to same RamDisk size, you should re-create disk image when size changed.
    3. The driver internal formater will disable if this registry present, corrupt/size-mismatch value leave an un-formated disk.

    rdutil Utlility Usage:

    1. Backup registry image

      rdutil save filename

    2. Restore registry image

      rdutil load filename

    3. Report packed image size

      rdutil R:
      rdutil registry
      rdutil unpacked_file

      Second command reading DriveLetter from registry, while the third is packing an unpacked image file.

    4. Packing image & save to registry

      rdutil R: registry

    5. Packing image & save to file

      rdutil R: packed_file

    6. Unpacking image

      rdutil unpack packed_file unpacked_file

    7. Link NTFS junction to Ramdisk

      rdutil link temp \

  7. You can re-format RamDisk except RAMDrive media type. Eg:

    FixedMedia type:
    FORMAT /FS:NTFS /FORCE /Q /V:RamDisk /A:512 R:

    RemovableMedia type:
    ECHO Y | FORMAT /FS:NTFS /FORCE /Q /V:RamDisk /A:512 R:

    You can place your format command to startup script. I don’t recommend re-format to FAT, the pre-formated RamDisk is more efficient than other format utililty.

  8. Pagefile support – You can set pagefile to FixMedia type disk w/ pre-formated system. If you need other MediaType or re-format, use the addswap.exe utility:

    addswap r:\pagefile.sys 16 32

    Create pagefile r:\pagefile.sys with min=16M max=32M.

  9. TEMP directory – You should set TEMP/TMP directory to TEMP sub-directory, don’t use the root directory.
  10. NTFS junction point to RAMDrive – You can’t create NTFS junction point to RAMDrive media type, Fixed & Removable Media type should work.
  11. Connectix VirtualPC compatibility – Someone report problem with VirtualPC+physical volume/disk. Please set MediaType to RAMDrive/Removable.
  12. Mountpoint without DriveLetter

    Clear DriveLetter registry value will not create Drive Letter for Ramdisk.

    Attn. Don’t delete the DriveLetter registry, which fall to default R:. You can setup mountpoint/junction linking to this unnamed Ramdisk. Eg:

    rdutil link C:\ramdisk
    link C:\ramdisk to root of Ramdisk

    rdutil link C:\TEMP TEMP
    link C:\TEMP to \TEMP at Ramdisk

    rmdir C:\ramdisk
    rmdir can remove the link without clear target content

    NoDriveLetter configuration isn’t recommended, because most AntiVirus software cannot realtime scan Volume w/o Drive Letter.

Related posts:

  1. View and Retrieve or Change Windows (XP, Vista, 2003, 2000 and more) and Office (XP, 2003, 92) Product Key or CD Key
  2. Fast Shutdown Faster Windows 2000, Windows XP, Windows 2003 and Windows Vista
  3. Install Windows Server 2003 Administration Tools Pack (adminpak) on Windows Vista
  4. Reveal and Recover Windows NT, 2000, XP, 2003 and Longhorn Login (including Administrator) Username and Password with Login Recovery
  5. Restore Windows XP and 2003 .bkf Backups in Windows Vista and Longhorn Server with NT Backup Restore Utility

171 Comments

  • “such as swap space for virtual memory”

    FACEPALM

    • Inception ram! :P

  • J’ai lu beaucoup d’articles messages sur le th

  • No matter if some one searches for his vital thing, so he/she needs to be available that in detail, thus that thing is maintained over here.

  • I found a version working on Windows 7 32bit under filename: Gavotte_RAMDisk_1.0.4096.5_200811130.zip
    In readme.txt it says: “01.01.2008 support >=4G ram under 32bit windows (UsePAE=1)”
    There is also x64 version in the archive.

    I have 6GB of RAM. 3GB available for windows and 3GB RAMdisk :)

  • works for me on windows 7 64bit

  • [...] your computer has more than the minimum ram, over 2gb, consider placing the cache on a ram drive. Ramdisk is a free program to make a ram drive. Ram drives are very fast. Faster than any hard disk. If your [...]

  • Gavotte Ramdisk has been working fine on my Vista32 4GB laptop, using the “non-system” or “unavailable” memory between 3 and 4 GB that Vista32 can’t use. Have had NO problems installing, setting up, removing and reinstalling RamDrives – in fact my only quibble is that read/write speeds aren’t very fast. But….. having the pagefile and FF cache in otherwise unusable RAM is a great way to take advantage of memory that would otherwise do nothing at all. Once in a while I’ll copy a game into the Ramdisk and run it from there – while overall speed really doesn’t improve much, transitions and cutscenes are definitely faster and smoother. I really like this software – it’s so easy to setup and use and has never caused me any problems – highly recommend it to anyone who has memory above the ~3GB limit that Win 32bit OS can use – and most of the freeware Ramdisk software out there can’t make use of that area of memory anyway.

  • Tried to install this app on win7 64bit but it seems to fail at the install bit, I have run it as administrator and read the instructions.

    Any advice?

  • First of all, to get this program work, you need to right click, and "run as administrator".

    It WILL create a RAMDISK. However, if you want to use it to access more than the 3.5GB limitation of ram in Windows, this method will NOT work on Vista!

    On a 32 bit system, Windows Vista, I have 8GB of RAM.

    Ramdisk does not allocate a single byte from the unadressed RAM, only from the ram already allocated in Windows!

    In other words, you'd just be cutting away ram you already have, to create a disk in ram, that you might have done better without ramdisk.

    This program is only good to create a RAM DISK for those who already have sufficient ram available, not for those who try to address more ram out of a 3.5GB windows limitation!

    • Try version: Gavotte_RAMDisk_1.0.4096.5_200811130.zip
      It works on Windows 7 32bit

      I have 6GB of RAM. 3GB available for windows and 3GB RAMdisk :)

  • Doesn't work on windows 7 64bit or any 64bit system!

  • The mentioned ‘QSoft’ http://www.ramdisk.tk doesn’t seem to work anymore. It has obviously been replaced by http://www.freeramdisk.tk

  • hi~ free ramdisk thankyou

  • everything works on windows 7 ultimate 32 bits sp1 and on windows xp sp3 thanks

  • I have the same problem as Joshua. I am using Vista Ultimate 64 bit edition and doubleclicking on ramdisk.exe and choosing "Install" pops up "Failed".

    • 64 bit windows wont load unsigned drivers.

  • Everything works thanks for the program

  • This software can report RAMDISK full when it is not.

  • Install Ramdisk … Failed.

  • [...] [...]

Pages: 1 2 3 4

Leave a comment

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Subscribe

Free email subscriptions
Get latest updates in email for free:

Translate This Page