In the Windows registry, keys can be created as mutable - this means that a volatile key cannot survive a PC reboot. After a reboot, there are no traces of such a key in the registry. This is indicated by the REG_OPTION_VOLATILE RegCreateKeyEx API option.
I need to check if any Windows registry key is unstable or not (created using REG_OPTION_VOLATILE).
For example, the key may be located in the section (HKLM \ Software \ MyCompany \ MyProgram \ KeyToBeChecked).
There seems to be no direct WIN APIs that allow such a check.
Does anyone know how to check this?
source
share