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
    2023-06-11T01:12:46+00:00

    I'm sorry... I meant that the RAM specs for my system are not exactly 'cutting-edge' or highest performance. Still, even with a 16GB build, if the user's daily workflow maxes out at a significantly smaller amount, the benefits of a reliable/stable RAM disk would still be of benefit. There's a sound reason why so many disk manufacturers place emphasis on cache - reliance on limited, high-speed resources to boost gains will always be of interest.

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  2. Igor Leyko 112.4K Reputation points Independent Advisor
    2023-06-11T14:41:03+00:00

    Still, even with a 16GB build, if the user's daily workflow maxes out at a significantly smaller amount, the benefits of a reliable/stable RAM disk would still be of benefit.

    Sorry, but can you provide any (reliable) test results as confirmation?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-07-02T16:07:51+00:00

    If I have 128GB, I specifically may want to 64GB for Visual Studio files.

    Answers like yours saying "There is no use" is a disservice to those who like to tweak and optimize their machines.

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  4. Igor Leyko 112.4K Reputation points Independent Advisor
    2023-07-02T16:50:58+00:00

    Answers like yours saying "There is no use".

    Sorry but seems this is some misunderstanding. I did not say these words.

    Was this answer helpful?

    0 comments No comments
  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more