Dear support, I seem to have troubles saving the content of the RAM to a persistent disk (image file).
I realized this when my bookmarks did not get saved to the RAMdisk (which in turn saves them on the HDD as I have a persistent disk configured). I also noticed that when I start up the GUI for the RAMdisk and request it to save, it shows this error: "Win32 error code = 32 The process cannot access file because it is being used by another process."
I am not sure if this is an issue with the RAMdisk : I have this issue on my laptop with M2 drive, but do not have it on the normal spinner drive.
All Forums
> RAM Disk
> Current topic
RAM contents are not saved to a persistent image file
Started by C F W
C F W
RAM contents are not saved to a persistent image file 15 December 2018, 11:21 |
Re: RAM contents are not saved to a persistent image file 15 December 2018, 11:28 |
Admin Registered: 18 years ago Posts: 3 568 |
Usually there are two things that could cause problems with saving to an image file:
Antivirus Products
There may be another process (usually an antivirus) that attempts to open the file at the same time. It is a common issue with antivirus products when they try to search for viruses in any file that is being written to a disk.
For the built-in Windows Defender you can exclude the location of the image file from being checked, as this article explains: How to exclude files and folders from Windows Defender Antivirus scans. For any additional security products you may have, please refer to their documentation for how to exclude a path from being checked. This should stop affecting the image file when it is being written to.
Windows Hybrid Boot
We recommend to disable the hybrid boot as it may interfere with normal RAM disk operations. Open an elevated command prompt and type
Alternatively, if you don't hibernate your PC and want to save a few GBs of disk space, you can disable hibernation. This will permanently deactivate the hybrid boot as well. For that, in an elevated command prompt type
Antivirus Products
There may be another process (usually an antivirus) that attempts to open the file at the same time. It is a common issue with antivirus products when they try to search for viruses in any file that is being written to a disk.
For the built-in Windows Defender you can exclude the location of the image file from being checked, as this article explains: How to exclude files and folders from Windows Defender Antivirus scans. For any additional security products you may have, please refer to their documentation for how to exclude a path from being checked. This should stop affecting the image file when it is being written to.
Windows Hybrid Boot
We recommend to disable the hybrid boot as it may interfere with normal RAM disk operations. Open an elevated command prompt and type
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_DWORD /D 0 /F
Alternatively, if you don't hibernate your PC and want to save a few GBs of disk space, you can disable hibernation. This will permanently deactivate the hybrid boot as well. For that, in an elevated command prompt type
powercfg /h off
Johan
RAM disk contents not saved to image file on shutdown 10 January 2019, 10:11 |
I have a similar issue, even after doing this: "Tick Save Contents to Image to write the current RAM disk contents to the associated image file on shutdown. It is unavailable for volatile disks". When I shutdown my PC, the RAM disk content is still not saved to the image file. Is it a limitation because I'm still testing the RAM disk software with free trial and haven't actually bought the license for it?
Re: RAM disk contents not saved to image file on shutdown 10 January 2019, 10:19 |
Admin Registered: 11 years ago Posts: 950 |
It is definitely not because you are using a trial (the trial has all the features of the licensed software, and the only limitation is the 30-day period). This is likely to be some kind of system issue, most probably related to Windows Hybrid Boot.
As suggested above, we recommend disabling the hybrid boot either by typing in the elevated command prompt
As suggested above, we recommend disabling the hybrid boot either by typing in the elevated command prompt
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_DWORD /D 0 /For, if you don't hibernate your PC and want to save some disk space, disabling hibernation which deactivates the hybrid boot as well, by typing
powercfg /h offNow reboot your PC and see if everything works as expected.
Johan
Re: RAM disk contents not saved to image file on shutdown 12 January 2019, 10:48 |