<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx</link><description>This came up in the newsgroup yesterday but I think it's worth noting here as well... For performance reasons, the system registry is loaded into memory and changes are flushed back to persistent storage periodically. This is great for perf but it also</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx#488771</link><pubDate>Thu, 03 Nov 2005 22:03:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:488771</guid><dc:creator>ce_base</dc:creator><description>I don't know why your blog didn't automatically cross-reference my post, so I'm adding my own cross-reference:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/ce_base/archive/2005/09/26/474069.aspx"&gt;http://blogs.msdn.com/ce_base/archive/2005/09/26/474069.aspx&lt;/a&gt;&lt;br&gt;</description></item><item><title>re: Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx#538522</link><pubDate>Fri, 24 Feb 2006 12:04:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:538522</guid><dc:creator>ChunFai</dc:creator><description>I tried to modify the key HKLM\software\microsoft\speech to disable Cyberon Voice Tag but whenever I reboot my phone the modification is reverted. Any idea?</description></item><item><title>re: Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx#567552</link><pubDate>Mon, 03 Apr 2006 23:22:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567552</guid><dc:creator>Matthew</dc:creator><description>I believe there is some highly errornous information in this post. Rebooting via ExitWindowEx() does indeed flush the fliesystem cach and the registrty. However, rebooting via KernelIoCtl() DOES NOT. That method has been discouraged for several versions of the operating system and, under the proper conditions, could cause data loss even on the RAM-based object store of prior versions. For versions prior to 5, where ExitWindowsEx() is not available, the SetSystemPoertState() call is a safe alternative to KernelIoCtl().&lt;br&gt;</description></item><item><title>re: Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx#680504</link><pubDate>Thu, 27 Jul 2006 21:16:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:680504</guid><dc:creator>Scott Yost</dc:creator><description>Matthew - Have you tried that on WM5? I've written code to set a reg key and then reboot via IOCTL and verified that the registry key persists. (and if you set the reg key and then immediately pull battery, the change is lost)</description></item><item><title>re: Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx#876686</link><pubDate>Thu, 26 Oct 2006 20:47:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:876686</guid><dc:creator>ce_base</dc:creator><description>&lt;p&gt;To follow up on Matthew / Scott's discussion of rebooting via IOCTL -- in Windows Mobile 5 we hacked IOCTL_HAL_REBOOT to call into the safe power down which flushes the registry and other cached data. &amp;nbsp;We still want to discourage people from using the IOCTL, but we made it as safe as we could. &amp;nbsp;Because too many people were still relying on the IOCTL instead of better methods.&lt;/p&gt;
&lt;p&gt;Sue&lt;/p&gt;
</description></item><item><title>re: Persistent storage and the registry</title><link>http://blogs.msdn.com/windowsmobile/archive/2005/09/24/473620.aspx#3812486</link><pubDate>Wed, 11 Jul 2007 13:31:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3812486</guid><dc:creator>temez</dc:creator><description>&lt;p&gt;I wonder what's wrong. Some of my registry changes always disappear if the battery runs low or the device reboots. I've tried calling RegFlushKey() and resetting the device. Still some of the keys always disappear. The weird part is that some settings do persist, some don't.&lt;/p&gt;
&lt;p&gt;I wonder if there's something wrong with HTC's TyTN that I'm debugging on or if it has something to do with calling RegFlushKey() from withing SetupDLL.&lt;/p&gt;
</description></item></channel></rss>