Skip to content

How-ToRAM

How to Create a RAM Disk in Windows 11 With Free OSFMount (and When It's Worth It)

A RAM disk turns spare memory into a very fast drive for temporary files, but its contents vanish when you restart. Based on PassMark's official guide, we show how to make one with free OSFMount, when it's worth it and how to keep what's on it.

By , Systems & Technical Editor

6 min read

How to Create a RAM Disk in Windows 11 With Free OSFMount (and When It's Worth It)

A RAM disk turns part of your PC's memory into a drive with its own letter. Because system memory is far faster than even a fast NVMe SSD, it's a handy place for scratch files you don't need to keep. The catch is that everything on it disappears when you restart or shut down. This guide shows how to make one for free with PassMark's OSFMount, based on PassMark's official download page and user guide, checked on 1 December 2026.

What is a RAM disk good for?

PassMark describes a RAM disk in OSFMount as "basically a disk mounted into RAM", and says this "generally has a large speed benefit over using a hard disk". Its user guide suggests it for applications that need high-speed disk access, such as databases, games and browsers. PassMark also points to a security advantage: because the data is held in RAM rather than on a physical drive, the contents are destroyed when the system shuts down.

Sensible uses include:

  • temporary files from apps that let you choose a scratch or cache folder;

  • a browser cache, if your browser lets you move it;

  • working copies of files during a big batch job, such as unpacking archives or converting media;

  • sensitive files you want gone after a restart.

SoftPerfect, which makes a paid RAM disk app, also argues that writing temporary files to RAM instead of an SSD means "fewer read/write cycles" on the physical drive. For most home users, that's a minor bonus rather than a reason on its own. If you're worried about wear, our guide to checking SSD health will tell you how much life your drive has left.

When a RAM disk isn't worth it

  • You don't have spare memory. Every gigabyte you give a RAM disk is a gigabyte Windows and your apps can't use. If a big RAM disk leaves too little memory for your games and apps, it can make things slower, not faster. Our guide to how much RAM a gaming PC needs can help you judge whether you have memory to spare.

  • The files matter. Never keep the only copy of anything on a RAM disk. A crash, power cut or Windows update restart wipes it.

  • The app is already limited by something else. If a program is waiting on your CPU, GPU or internet connection, faster storage won't help.

What you need

  • Windows 11 or 10, 64-bit. PassMark says OSFMount V3 supports 64-bit Windows 7 SP1, 8, 10 and 11, plus some versions of Windows Server. For 32-bit Windows, it points you to the older OSFMount V2.

  • Administrator rights. The OSFMount user guide says users must have administrator privileges.

  • Enough free RAM. Open Task Manager and check the Memory figure on the Performance tab before you choose a size.

Step 1: Download and install OSFMount

Download OSFMount only from PassMark's official OSFMount page on osforensics.com. On 1 December 2026, that page offered the OSFMount V3.3.1000 installation package. PassMark's user guide says "This is a free program", and notes that the first version was based on the ImDisk Virtual Disk Driver by Olof Lagerkvist.

Install it like any other Windows program and open it.

Step 2: Create an empty RAM drive

  1. Click Mount new... in the main window. This opens the mount wizard.

  2. In Step 1 of 4, choose Empty RAM drive. PassMark explains that "The virtual disk will be backed by an empty RAM drive."

  3. In the RAM drive step, set the Drive size. Start small, for example a few gigabytes, and leave plenty of memory for Windows.

  4. Tick Format drive, choose a File System such as NTFS, and give it a Volume Label such as "RAM Disk", so it's easy to recognise in File Explorer.

  5. In the last step, check the mount options. Read-only drive stops anything being written, so make sure it's off for a scratch drive. Choose Logical Emulation if you just want a single drive letter; PassMark says Physical Emulation is for disks that may contain multiple partitions.

  6. Finish the wizard. Your new drive appears in File Explorer with its own letter.

PassMark says OSFMount V3 forces the RAM drive to be held in physical RAM, if free memory is available when it's mounted, so it isn't swapped out to disk. That makes having enough free RAM "more important than ever", in PassMark's words.

Step 3: Point your apps at the RAM disk

Now tell the program you want to speed up to use the new drive letter for its cache, temporary or scratch folder. Where that setting lives depends on the app, so check its options or documentation. Only move folders the app can rebuild by itself.

Step 4: Keep the contents if you need them

If you want to keep what's on the RAM disk, select it in OSFMount and use Save to image file.... PassMark says this option is useful for "saving the contents of a RAM disk". You can later mount that image as a RAM drive again using the Mount as RAM drive option, which loads the image file into memory.

To remove the RAM disk and get your memory back, select it and click Dismount, or use Dismount all & Exit.

Optional: create a RAM disk from the command line

OSFMount also has a command-line tool, which must be run from an administrator Command Prompt. PassMark's user guide gives this example for an empty 1GB RAM drive formatted as NTFS, using the next free drive letter:

osfmount.com -a -t vm -m #: -o format:ntfs:"RAM Volume" -s 1G

And this to dismount a drive mounted as G:

osfmount.com -d -m G:

How fast is it?

PassMark publishes its own RAM drive figures for OSFMount. Measured on an Intel Core i7-12700K with 64GB of dual-channel DDR5-4800 memory and an 8GB RAM disk formatted with FAT32, it says "Typical speeds with large linear blocks are around 10,000 MiB/sec reads and 20,000 MiB/sec writes". These are PassMark's results, not Forge PC's, and your figures will depend on your CPU, memory and the kind of work the app does. Our pick of the best free SSD benchmark software lists tools you can use to measure it yourself.

Other RAM disk apps

  • SoftPerfect RAM Disk is a paid app with a "free fully-featured 30-day trial". It can allocate RAM on demand and release it when files are deleted, link a RAM disk to an on-disk image, and run on 64-bit Windows PCs with x64 and Arm64 processors, as well as on macOS and Linux.

  • ImDisk, the driver OSFMount was originally based on, is still on GitHub, but its own page now says "ImDisk uses a legacy design and is not recommended for recent versions of Windows." Avoid old ImDisk Toolkit downloads from third-party sites.

Tips for using a RAM disk safely

  • Test your memory first if you've recently changed RAM or overclocked it. Our pick of the best free RAM test software can help, because unstable memory can corrupt whatever is on a RAM disk.

  • Keep the RAM disk small enough that you still have plenty of free memory while you use your heaviest apps.

  • Don't move anything you'd be upset to lose. Treat the RAM disk as disposable.

  • If your PC regularly runs out of memory, a RAM disk will make that worse. Look at Windows virtual memory settings or a RAM upgrade instead.

The bottom line

A RAM disk uses part of your system memory as a very fast drive, which suits temporary files, caches and scratch work, but everything on it is lost when you restart or shut down. PassMark's OSFMount is free and makes one in a few clicks: choose Mount new, then Empty RAM drive, set a size, format it and make sure it isn't read-only. Only give it memory you can spare, never keep the only copy of anything on it, and use Save to image file if you want to keep the contents. SoftPerfect RAM Disk is a paid alternative, while ImDisk's own developer no longer recommends it for recent Windows.

Sources

  1. 01PassMark: OSFMount
  2. 02PassMark: OSFMount V3 user guide
  3. 03SoftPerfect: RAM Disk
  4. 04LTR Data: ImDisk on GitHub

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

KLEVV BOLT V vs URBANE V RGB: Which DDR5 Kit Should You Buy?

Versus

KLEVV BOLT V vs URBANE V RGB: Which DDR5 Kit Should You Buy?

KLEVV's BOLT V and URBANE V RGB are DDR5 desktop memory kits with XMP 3.0 and EXPO support and identical timings at shared speeds. We compare them on KLEVV's official specifications, including height, RGB lighting, speed range and colours.

Callum Reid4 min