{"id":305,"date":"2010-02-24T13:53:08","date_gmt":"2010-02-24T11:53:08","guid":{"rendered":"http:\/\/www.hjgode.de\/wp\/?p=305"},"modified":"2010-02-24T13:57:39","modified_gmt":"2010-02-24T11:57:39","slug":"wm6-get-last-boot-type","status":"publish","type":"post","link":"https:\/\/www.hjgode.de\/wp\/2010\/02\/24\/wm6-get-last-boot-type\/","title":{"rendered":"Windows Mobile 6.x -How to find out the last boot type"},"content":{"rendered":"<p>I have been asked, how one can see, if a device has been clean booted. Here is an answer.<\/p>\n<p>First, there is a registry key you can check:<\/p>\n<pre>[HKEY_CURRENT_USER\\Performance]\r\n\"Last Boot Type\"=dword:00000002<\/pre>\n<p>after a coldboot this value is 0. For warmboots the value is 2.<\/p>\n<p>and another one<\/p>\n<pre>[HKEY_LOCAL_MACHINE\\Comm]\r\n\"BootCount\"=dword:00000005<\/pre>\n<p>The BootCount value starts with 1 at a cleanboot and counts with every reboot. This device had 1 clean boot and 4 warm boots.<\/p>\n<p>These registry keys are easy to find with free tools like ssnap and WinMerge.<\/p>\n<p>Another way to check for a clean boot is to look for a custom file or a custom registry entry in \\Windows. With a cleanboot all contents is reset to the factory default (except for \\Flash File Store (persistent storage) or external memory cards). If you created a file in \\Windows or a value in the registry, these are gone after a cleanboot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WM6 get last boot type from registry<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[178,3],"tags":[187,188,189,186,64,15],"class_list":["post-305","post","type-post","status-publish","format-standard","hentry","category-codeproject","category-programming","tag-bootcount","tag-cleanboot","tag-coldboot","tag-last-boot-type","tag-warmboot","tag-windows-mobile"],"_links":{"self":[{"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/posts\/305"}],"collection":[{"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":3,"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":308,"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/posts\/305\/revisions\/308"}],"wp:attachment":[{"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hjgode.de\/wp\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}