One option that might be available is the RegFlushKey function. RegFlushKey is an OEM-implemented function that attempts to flush the entire registry to a platform-supported storage. If it is available, you should call RegFlushKey after each major change or group of changes to your registry. Depending on the implementation, RegFlushKey can require a great deal of system resources. So while RegFlushKey may be an effective way to back up the registry, calling the function multiple times for minor changes might impede the performance of your application.