RAM Disk on Windows 11

Anonymous
2023-03-24T16:40:00+00:00

Hi, I wanted to create a RAM disk on Windows 11. I found an article for Windows 7 and 10 which has been updated recently:

https://answers.microsoft.com/en-us/windows/forum/all/create-a-ram-disk-drive-in-windows-7-and-windows/cd42aac4-8b0e-4b61-a2ea-9560a3e17d5b

However, when I tried it on Windows 11, it didn't seem to work properly.

After making changes to the TEMP and TMP environment variables as well as some application specific temp / cache paths to point them towards the RAM disk, everything appeared fine initially. But when running more intensive workloads, I experienced intermittent crashes and eventually a blue screen: DRIVER_IRQL_NOT_LESS_OR_EQUAL (probably related to the storage driver implementation used by ImDisk).

After reverting the changes I made to the temp / cache directories, removing the RAM disk, and uninstalling ImDisk, everything has been stable again.

My question is: Is there any way to set up a RAM Disk on Windows 11 without compromising system stability?

For my use case, I don't require persistent storage, but it should be auto-mounted on boot.

Thank you, Paul.

PS: Please ignore discussions regarding why someone might need such a setup; each person has their own unique use case which doesn't necessarily apply universally.

PPS: Revisiting this thread after nearly a year reveals that there is no official solution from Microsoft. While there may be paid options available, given the history of free solutions causing issues under load, I am hesitant to invest time and money checking each one individually.

In summary, there seems to be no official or unofficial (but endorsed) solution at present.

Windows for home | Windows 11 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

46 answers

Sort by: Oldest
  1. Anonymous
    2025-04-03T03:01:41+00:00

    Good morning, everyone!

    I wanted to share a bit of nostalgia with you all. Back in the days of MS-DOS 6.2, Windows 98, and even Windows XP, RamDisk was an incredibly useful tool for me. It played a crucial role in optimizing system performance.

    To set it up in MS-DOS, we had to configure the CONFIG.SYS and AUTOEXEC.BAT files, specifically loading RAMDRIVE.SYS, the essential driver that made it all work. Those were the times when tweaking system settings manually wasn’t just a necessity—it was an art!

    Those were the times when tweaking system settings manually was both an art and a necessity! I believe I still have those old configuration files archived somewhere. If anyone’s interested, I’d be happy to dig them up and share some insights from that era.

    Let me know if you have any memories or experiences with RamDisk—I'd love to hear them!

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments