Unable to unmount volume while Explorer windows are open
2 posts
I have many Windows 10 Explorer folders open and I don't want to close them, but RAM FS cannot unmount the volume until I close all those windows. Is this some kind of technical feature of RAM FS compared to a RAM Disk?
It's deliberate. RAM FS won't unmount while anything still uses the volume: an open file, a mapped file, a program running from it, or an Explorer window showing one of its folders, since each window keeps its folder open to watch for changes.
RAM Disk can force it because it is NTFS on a virtual disk, and the disk keeps answering until the last program lets go. RAM FS has no disk underneath, the memory is the storage, so pulling it from under a program would crash it or lose its data. We spent a long time looking for a safe way and there isn't one.
You only need to close the Explorer windows showing the RAM FS drive, or point them elsewhere. The "volume in use" message lists whatever else still holds it.