{"id":168,"date":"2013-03-14T17:19:05","date_gmt":"2013-03-14T16:19:05","guid":{"rendered":"http:\/\/oso.com.pl\/?p=168"},"modified":"2016-01-20T05:36:58","modified_gmt":"2016-01-20T04:36:58","slug":"peeking-inside-windows-phone-8-registry","status":"publish","type":"post","link":"https:\/\/oso.com.pl\/?p=168&lang=en","title":{"rendered":"Peeking inside Windows Phone 8 registry"},"content":{"rendered":"<p>Windows Phone 8 lacks, unfortunately, a bunch of tools &#8211; including something that would show you logs or registry. This limits your ability to see what is really going on in the phone. Forums like\u00a0<a href=\"http:\/\/forum.xda-developers.com\/forumdisplay.php?f=1625\">Windows Phone 8 Development and Hacking<\/a>\u00a0show you how to mount ffu or describe partition layout &#8211; that helps.<\/p>\n<p>So to aid you a bit see below for a way to read registry from a <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windowsphone\/develop\/ff402563(v=vs.105).aspx\">WP8 emulator<\/a><\/p>\n<ol>\n<li>Launch WP8 emulator and do whatever you want to check later (for example enroll the phone with Intune)<\/li>\n<li>While the emulator is running, copy %userprofile%\\AppData\\Local\\Microsoft\\XDE\\*.avhd to another folder, for example on your Desktop (that folder should contain a single .avhd file). Why do you want to do it while the emulator is running? The reason is .avhd is not merged back into emulator&#8217;s disk when you shut it down. Every time you shut down the emulator it essentially resets all settings and forgets whatever you did in the previous session. There should be a way around this &#8211; by running XDE.exe manually &#8211; but since that stopped working on my system recently, I won&#8217;t consider it a working alternative.<\/li>\n<li>Rename .avhd to .vhd<\/li>\n<li>Right-click on the .vhd and mount the disk<\/li>\n<li>Your system now should have couple new drives mounted (WP8 partitions) &#8211; we&#8217;re looking for the one with \\Windows\\System32\\config\\SOFTWARE (my case it was G drive)<\/li>\n<li>Copy the entire \\Windows\\System32\\config folder somewhere else, for example to your Desktop<\/li>\n<li>Clean file attributes (read-only, archive, system) on all files in this folder<\/li>\n<li>Mount SOFTWARE hive using regedit (<a href=\"http:\/\/www.petri.co.il\/edit_registry_settings_for_users_other_than_myself.htm\">http:\/\/www.petri.co.il\/edit_registry_settings_for_users_other_than_myself.htm<\/a>)<\/li>\n<li>Profit!<\/li>\n<\/ol>\n<p>So what&#8217;s interesting there?<\/p>\n<ul>\n<li><span style=\"line-height: 13px;\">Looks like there are FM radio-related keys &#8211; so was Microsoft preparing to support it?<\/span><\/li>\n<li>The MDM related stuff:\n<ul>\n<li>\\Microsoft\\Enrollment &#8211; phone enrollment information<\/li>\n<li>\\Microsoft\\Enrollment\\OmaDmRetry &#8211; OMA DM protocol settings<\/li>\n<li>\\Microsoft\\EnterpriseAppManagement\\Database\\Tbl_EnrollmentToken &#8211; Application Enrollment Token (AET) information<\/li>\n<li>\\Microsoft\\EnterpriseAppManagement\\Database\\Tbl_XAPRequest &#8211; Company Hub\/Enterprise App information &#8211; including whether the download was successful and what was the error if it failed<\/li>\n<li>\\Microsoft\\Provisioning \u00e2\u0080\u0093 this is the goldmine, for example a list of supported CSPs, including hints that there is much more supported than what the official documentation mentions, like &#8222;BrowserFavorite&#8221; or &#8222;HotSpot&#8221;&#8230; both were there in <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/bb737369.aspx\">Windows Mobile Oma<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Windows Phone 8 lacks, unfortunately, a bunch of tools &#8211; including something that would show you logs or registry. This limits your ability to see what is really going on in the phone. Forums like\u00a0Windows Phone 8 Development and Hacking\u00a0show you how to mount ffu or describe partition layout &#8211; that helps. So to aid &hellip; <a href=\"https:\/\/oso.com.pl\/?p=168&#038;lang=en\" class=\"more-link\">Czytaj dalej<span class=\"screen-reader-text\"> \u201ePeeking inside Windows Phone 8 registry\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-mdm-en"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p217OK-2I","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/oso.com.pl\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oso.com.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oso.com.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oso.com.pl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oso.com.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":3,"href":"https:\/\/oso.com.pl\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":437,"href":"https:\/\/oso.com.pl\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/437"}],"wp:attachment":[{"href":"https:\/\/oso.com.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oso.com.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oso.com.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}