Instructions on how to create a RAM drive on Windows

If you've ever wanted to simulate the performance of a solid state drive (SSD) without having to add a new hardware, try creating a new virtual hard drive on your PC that runs entirely from RAM, also called RAM drive (of course if the system has enough RAM). The article will show you how to configure the RAM drive on your PC.

If you've ever wanted to simulate the performance of a solid state drive (SSD) without having to add a new hardware, try creating a new virtual hard drive on your PC that runs entirely from RAM, also called RAM drive (of course if the system has enough RAM). The article will show you how to configure the RAM drive on your PC.

1. What is a RAM drive?

RAM drives are logical storage volumes generated from the computer's RAM memory. RAM is a storage medium that a computer uses to store data temporarily during use, speeding up the overall system performance significantly.

RAM memory is extremely fast, the logical drives we can create in RAM memory operate at many different speeds.

This means that any task that is limited by the speed of computer drives, such as combining large video files or manipulating complex databases, can achieve great performance when running from RAM drive. However, this is not simple.

First, any data stored in RAM will be lost when the RAM memory is lost. This contrasts with other traditional solid state drives.

Other storage methods will retain written data when there is a power outage, such as in the case of a computer shutdown or a power outage.

This means that any data you store on the RAM drive will be lost when the computer is restarted or in the event of a power outage. Therefore, you should regularly back up the contents on the RAM drive and always keep in mind that the data on the drive can be lost at any time.

Second, compared to SSDs and mechanical hard drives, RAM memory is quite expensive and has many drawbacks.

Creating a RAM drive requires specialized software and uses part of the available memory on the machine; Although a RAM drive is present like any other drive on a PC, the RAM you use for the RAM drive will not be available for normal memory tasks.

Why do you want to use memory to make a homemade hard drive? Simply because of speed. The write / read speed of RAM is much faster than in traditional storage. In the picture above we can see different reading speeds between a 7200 rpm hard drive (left) and a RAM drive (right).

Instructions on how to create a RAM drive on Windows Picture 1Instructions on how to create a RAM drive on Windows Picture 1

2. Setting up RAM drive: Advantages and disadvantages

The read / write speed of RAM is even faster than the speed of top SSDs. This makes the RAM drive really a great tool for speeding up activities where the computer has to read and write a lot of data, such as media encoding or editing multiple images.

Applications installed on the RAM drive also have a large access speed. For example, moving Word, Excel, Firefox and Acrobat from a 7200 rpm hard drive into a RAM drive makes downloading applications nearly twice as fast.

The game also runs smoother from the RAM drive, although saving the game to the virtual drive requires a lot of RAM memory.

Of course, running important programs from a RAM drive also has some noticeable disadvantages. The amount of storage is severely limited when compared to standard hard drives, and the inherent instability of Temporary access memory can be a problem if you save important files or programs to RAM. The limitations of RAM capacity are a big minus point: The virtual drive capacity is bound by the total amount of system RAM.

Due to unstable RAM drives, they will lose data every time the PC shuts down. Most RAM drive applications handle this problem by adding an option to automatically save the content on the RAM drive to the hard drive when the computer is turned off and then reload the data to the RAM drive at startup. This also increases the boot time and computer shutdown relative, especially if you are running a large RAM drive on a traditional hard drive. For example, a 4GB RAM drive will take several minutes to copy data to a 7200 rpm hard drive.

If you are having problems with the above, try the Primo RAMdisk application. The program has a Quick Save feature that updates the RAM drive image file on the hard drive and saves only the new or changed data.

3. Create RAM drive

In this article, we will use Dataram's RAMDisk to create a 4GB RAM drive. Download and install the software and then launch the RAMDisk Configuration Utitlity. On the main setup screen, select Unformatted and enter the RAM size in megabytes. Note that with the free version, the maximum RAM size is 4GB.

Instructions on how to create a RAM drive on Windows Picture 2Instructions on how to create a RAM drive on Windows Picture 2

Next, click the Load and Save tab. If you want the software to save the RAM drive data to the hard drive when the computer is turned off, check the Save Disk Image on Shutdown option and select the location to save the image file. Similarly, check the Load Disk Image at Startup option and point to the same location if you want to reload saved data to the RAM drive automatically when booting.

Instructions on how to create a RAM drive on Windows Picture 3Instructions on how to create a RAM drive on Windows Picture 3

Remember that this will increase the boot time and shutdown. If you don't plan to use the RAM drive regularly to save important data, you can remove these two options. The RAM drive will be deleted every time the computer shuts down, but if you are saving only temporary files on it, the loss is not important.

If you choose to save the application on a RAM drive and want to keep their output file, such as a document or save game on a traditional drive, you can save time by downloading the image file for the drive at boot time. Disable the Save at Shutdown option. Just save the image file manually whenever you add or update an application.

After selecting the save and download option, click Start RAMDisk and install the Datagram drive. The program will warn you that the image file has failed but don't worry. Now you need to format the drive.

4. Format the RAM drive

For some users, the new drive will appear instantly in Windows Explorer (along with C drive) and formatting is easy. Just right-click on the RAM drive and select Format to display a selection box. Change the file system to the format and check the Quick Format option, name it then click Start .

Unfortunately, sometimes the RAM drive does not appear automatically in Windows Explorer and you will have to allocate space and start the manual formatting process.

Open the Start menu, right-click Computer and select Manage . The Computer Management window will open. In the left pane, click Disk Management in Storage. Now, find the drive labeled ' Unknown ' at the bottom of the center window. We will see a black bar next to the RAM size and the ' Unallocated ' label under the bar.

Instructions on how to create a RAM drive on Windows Picture 4Instructions on how to create a RAM drive on Windows Picture 4

Right-click the drive and initialize, check the MBR option. The drive design will change the ' Unknown ' label to ' Basic '. Next, right-click the black bar and select New Simple Volume . Follow the steps in the installation window and when formatting options jump out, use the details described earlier. Put a letter as the drive name (such as R :).

Now, you can see the RAM drive in Windows Explorer is the same as with other drives.

5. Move the browser cache to the RAM drive

Many people use RAM drives to store temporary Internet files, because the natural instability of the RAM drive will erase the data when the computer is turned off (unless you use the automatic image file saving option). Some people say that saving files on a RAM drive also helps speed up web surfing.

Here's how to switch the cache of three major browsers.

Internet Explorer : Go to Tools> Internet Options> General and click Settings in the Browsing History section. In the window that appears, you will see the Move Folder option in the Temporary Internet Files section. Click here and then point IE to a cached folder on the RAM drive.

Firefox : Type about: config in the address bar and press Enter . Right-click anywhere on the Preferences list then select New String . Enter browser.cache.disk.parent_directory as the Preference name and then list the file path to the RAM drive as the string value (such as R:) .

Instructions on how to create a RAM drive on Windows Picture 5Instructions on how to create a RAM drive on Windows Picture 5

A Cache folder containing temporary files will appear in the RAM drive.

Chrome : Right-click Start menu and select Properties . In the Target box, you will see the Chrome file path ending in ' chrome.exe '. Add the following paragraph at the end of the line:

--user-data-dir = 'your folder path'

Replace your folder path with the path to the cache folder on the RAM drive. Here is an example:

C: UsersBradAppDataLocalGoogleChromeApplicationchrome.exe --user-data-dir = "R: ChromeCache"

From now on, the browser will use the RAM drive as the default cache location.

6. Instructions for adding RAM drive capacity

6.1. Prepare

- RAM capacity of 6 GB or more.

- 64-bit Windows: To support RAM of more than 4 GB, your computer must be running 64-bit versions of Windows.

If you want to check if your computer is 64-bit Windows, simply right-click the Computer icon and choose Properties.

- RAM Disk software: In addition to RAM you need to have software to create RAM drives. There are many software to choose from, in which DataRAM's RAMDisk software is an option. RAMDisk is quite simple to set up and supports storage space up to 4 GB. The paid version supports storage space larger than 4 GB.

6.2. Install RAM

1. Install DataRAMRAMDisk. With just 1 click and select I agree.

Instructions on how to create a RAM drive on Windows Picture 6Instructions on how to create a RAM drive on Windows Picture 6

2. Run the RamDisk Configuration Utility from the Start Menu.

Instructions on how to create a RAM drive on Windows Picture 7Instructions on how to create a RAM drive on Windows Picture 7

3. Set size (size) and format (Type) for the RAMDisk in the Settings tab. The size setting unit (size) is Megabyte, so you must set the size to 4092 MB if you want to set 4 GB or 2046 MB RAM if you want to set up 2 GB RAM.

Instructions on how to create a RAM drive on Windows Picture 8Instructions on how to create a RAM drive on Windows Picture 8

Setting format (type) is unformatted.

4. Activate Load Disk Image at Startup at Local and Save tab to store RAM drive contents on hard drive or SSD. Every time you open the device, this content will reappear.

Instructions on how to create a RAM drive on Windows Picture 9Instructions on how to create a RAM drive on Windows Picture 9

5. Configure Save Image Settings

Instructions on how to create a RAM drive on Windows Picture 10Instructions on how to create a RAM drive on Windows Picture 10

Enable Save Disk Image on Shutdown if you want the system to automatically save and change the image files of the RAM drive when you turn off the computer.

In addition, you can enable AutoSave feature, will automatically write any changes on the image file regularly (by default 300s).

Instructions on how to create a RAM drive on Windows Picture 11Instructions on how to create a RAM drive on Windows Picture 11

6. Click Start RAMDisk .

Instructions on how to create a RAM drive on Windows Picture 12Instructions on how to create a RAM drive on Windows Picture 12

7. Click Install if a dialog box appears asking you to add drivers.

Instructions on how to create a RAM drive on Windows Picture 13Instructions on how to create a RAM drive on Windows Picture 13

8. Click Format if asked to format the new drive. If the program does not require it, find a new drive name in Explorer and then right-click and choose Format .

Instructions on how to create a RAM drive on Windows Picture 14Instructions on how to create a RAM drive on Windows Picture 14

9. Choose File System as NTFS , select the drive name and click Format disk .

Instructions on how to create a RAM drive on Windows Picture 15Instructions on how to create a RAM drive on Windows Picture 15

Now your RAM drive is ready to install the software. Make sure that during the installation of the program you want on the drive, select the correct drive letter. Alternatively you can create a Program File folder on the RAM drive for storage.

Refer to some of the following articles:

  1. How many GB of RAM does your computer need?
  1. 8 easy ways to free RAM make the machine run faster
  1. Four step instructions for installing more RAM

Good luck!

4.1 ★ | 7 Vote