The Cache disk is not persistent across warmboots by default. In earlier platforms, the following Registry key could be set to make Cache disk persistent across warmboots (Not sure if this works for MC95).
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
RetainDataThroughWarmBoot=dword:00000001
Note: Two warmboots might be required for this regkey to actually take effect
Try using a "flag" dummy file on Cache Disk folder (the only volatile on WM 5 or 6). A warm boot would not delete it, but a cold boot should do (in theory). So, if this file is not found, this means a cold boot did happen. I hope this helps.
:-( Files on Cache Disk are deleted after warm boot even (apparently....). Boot count reg key is invcremented after cold boot & warm boot so problem still exist...
8 Replies
It works! Two warm boots but it works... Thank you.
If you create your own file on Cache Disk (i.e, a dummy text file), is it also deleted after warm booting?
Yes... Files, folders, everything is cleared.
The Cache disk is not persistent across warmboots by default. In earlier platforms, the following Registry key could be set to make Cache disk persistent across warmboots (Not sure if this works for MC95).
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
RetainDataThroughWarmBoot=dword:00000001
Note: Two warmboots might be required for this regkey to actually take effect
Try using a "flag" dummy file on Cache Disk folder (the only volatile on WM 5 or 6). A warm boot would not delete it, but a cold boot should do (in theory). So, if this file is not found, this means a cold boot did happen. I hope this helps.
Nice!
:-( Files on Cache Disk are deleted after warm boot even (apparently....). Boot count reg key is invcremented after cold boot & warm boot so problem still exist...
check the boot count - its in the registry. [HKLM\comm] BootCount On a cleanboot (cold for CE devices) its reset to 1 and incremented every warmboot.