{"id":1188,"date":"2022-01-03T14:30:17","date_gmt":"2022-01-03T13:30:17","guid":{"rendered":"https:\/\/vroamam.com\/wordpress\/?p=1188"},"modified":"2022-01-03T14:51:59","modified_gmt":"2022-01-03T13:51:59","slug":"disk-encryption-windows-10-home","status":"publish","type":"post","link":"https:\/\/vroamam.com\/wordpress\/blog\/disk-encryption-windows-10-home\/","title":{"rendered":"Disk Encryption &#8211; Windows 10 Home"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>In the summer of this year I built my first ever PC, no its not the first PC I&#8217;ve owned, its the first one I&#8217;ve built from scratch. After having built it, I came across an odd error that took me sometime to troubleshoot and for which I couldn&#8217;t find a really straightforward explanation, so here is my post explaining the issues I encountered with with Disk Encryption on Windows 10 Home.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bitlocker is not Available<\/h2>\n\n\n\n<p>Bitlocker is not available on Windows 10 Home. <\/p>\n\n\n\n<p>I didn&#8217;t know this, I was surprised and disappointed and as a cyber security specialist I was disappointed that I could not do any native OS drive encryption. Then I found that there was an alternative called, unremarkably, &#8220;Device Encryption&#8221;. If it is available to you, it can be found in <strong>Settings &gt; Update &amp; Security <\/strong>&#8211; I say if it is available to you because it is hardware dependant and it seems that a lot of hardware, even fairly new hardware, doesn&#8217;t support all of the requirements.<\/p>\n\n\n\n<p>Here is a screenshot from a system that is compatible<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.windowscentral.com\/sites\/wpcentral.com\/files\/styles\/xlarge\/public\/field\/image\/2019\/07\/windows-10-home-device-encryption.jpg\" alt=\"\"\/><figcaption>Screen capture of the Device Encryption page in Windows 10 home<\/figcaption><\/figure>\n\n\n\n<p>If <strong>Device Encryption<\/strong> does not appear on that page, it likely means that your hardware is not compatible in its current state. You can check this easily by using the System Information app that Microsoft kindly include. <\/p>\n\n\n\n<p>Go to <strong>Search<\/strong> type <strong>System Information<\/strong> and click on <strong>Run as Administrator<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"644\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-19.png\" alt=\"\" class=\"wp-image-1190\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-19.png 849w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-19-768x583.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><figcaption>Screen capture with numbered steps to open system information app as administrator<\/figcaption><\/figure>\n\n\n\n<p>In the window that opens at the very bottom of the screen you will see an entry for Device Encryption Support, change the column widths so you can read the entire message.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1802\" height=\"978\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-20.png\" alt=\"\" class=\"wp-image-1191\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-20.png 1802w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-20-1000x543.png 1000w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-20-768x417.png 768w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-20-1536x834.png 1536w\" sizes=\"auto, (max-width: 1802px) 100vw, 1802px\" \/><figcaption>Screen capture showing the state for Device Encryption Support<\/figcaption><\/figure>\n\n\n\n<p>If you could read the image above you would see that the entry on my PC said:<\/p>\n\n\n\n<p><strong>Device Encryption Support: Reasons for failed automatic device encryption: PCR7 binding is not supported, Hardware Security Test Interface failed and the device is not Modern Standby, Un-allowed DMA-capable bus\/device(s) detected<\/strong><\/p>\n\n\n\n<p>This is a list of at least three different errors<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>PCR7 binding is not supported<\/li><li>There are Un-allowed DMA capable devices<\/li><li>The device does not support Modern Standby<\/li><\/ul>\n\n\n\n<p>Lets look at each of these in turn<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PCR7 Binding is not supported<\/h2>\n\n\n\n<p>This refers to secure boot, it&#8217;s that simple. <\/p>\n\n\n\n<p>You can check if you have secure boot available in your BIOS you also need to check that secure boot is using UEFI. I cannot tell you how to do this as every BIOS is different, but you can check for secure boot through PowerShell.  <\/p>\n\n\n\n<p>To check in PowerShell open the search menu, type PowerShell and open the PowerShell application as administrator.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"603\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-27.png\" alt=\"\" class=\"wp-image-1198\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-27.png 853w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-27-768x543.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><figcaption>Screen capture showing how to open PowerShell as administrator in the search menu<\/figcaption><\/figure>\n\n\n\n<p>In the shell windows that opens type <code>Confirm-SecureBootUEFI<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"406\" height=\"100\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-28.png\" alt=\"\" class=\"wp-image-1199\"\/><figcaption>Screen capture showing output of Confirm-SecureBootUEFI in PowerShell<\/figcaption><\/figure>\n\n\n\n<p>In this example I had already enabled it and you can see that the command returned <strong>True<\/strong>, so Secure boot is enabled. Its likely, if you are reading this and you have the PCR7 Binding error that yours will return <strong>False<\/strong><\/p>\n\n\n\n<p>I can&#8217;t tell you how to do that as each BIOS will be different depending on manufacturer. I had to enable UEFI and disable CSR. Once I had managed to enable this windows reported that secure boot was enabled it enabled in <strong>Settings<\/strong> &gt; <strong>Windows Security<\/strong> &gt; <strong>Device Security<\/strong>  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"869\" height=\"627\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-21.png\" alt=\"\" class=\"wp-image-1192\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-21.png 869w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-21-768x554.png 768w\" sizes=\"auto, (max-width: 869px) 100vw, 869px\" \/><figcaption>Screen capture showing Device Security settings with Secure Boot option highlighted<\/figcaption><\/figure>\n\n\n\n<p>Once I&#8217;d done this the PCR7 Binding error disappeared from System Info<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Un-Allowed DMA Capable Devices<\/h2>\n\n\n\n<p>I am going to tell you what this means and how to workaround it. I do so with a warning that there are issues doing so and you reduce the security of your system potentially opening it to DMA attacks. A lot of DMA attacks have been mitigated ion later versions of windows but if you make these changes then you do so at your own risk.<\/p>\n\n\n\n<p>You can read about DMA attacks on <a href=\"https:\/\/en.wikipedia.org\/wiki\/DMA_attack\">Wikipedia <\/a><\/p>\n\n\n\n<p>Windows lists Allowed, UnAllowed and Verified DMA devcies in the registry with their PCI ID, you can see them at:<\/p>\n\n\n\n<p><strong>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\DmaSecurity<\/strong><\/p>\n\n\n\n<p>Mine were all under the default key<\/p>\n\n\n\n<p> <strong>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\DmaSecurity\\Default<\/strong><\/p>\n\n\n\n<p>You can view them by using Regedit or PowerShell<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">Regedit<\/span><\/h3>\n\n\n\n<p>Open the search menu, type Regedit and click on the Regedit application<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"589\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-22.png\" alt=\"\" class=\"wp-image-1193\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-22.png 850w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-22-768x532.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><figcaption>Screen capture showing the search menu with highlighted steps to search and open Regedit<\/figcaption><\/figure>\n\n\n\n<p>Navigate to the appropriate Hive and Key and inspect the listings<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"992\" height=\"407\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-23.png\" alt=\"\" class=\"wp-image-1194\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-23.png 992w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-23-768x315.png 768w\" sizes=\"auto, (max-width: 992px) 100vw, 992px\" \/><figcaption>Screen capture showing unallowed DMA devices<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">PowerShell<\/span><\/h3>\n\n\n\n<p>To view the keys and values in PowerShell open the search menu, type <strong>PowerShell<\/strong> and open the PowerShell application<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"839\" height=\"599\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-24.png\" alt=\"\" class=\"wp-image-1195\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-24.png 839w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-24-768x548.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><figcaption>Screen capture showing how to find the PowerShell app using Search<\/figcaption><\/figure>\n\n\n\n<p>In the shell window that opens type the following commands, make sure you include the space and full stop after Get-Item <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Set-Location HKLM:\\system\\currentcontrolset\\control\\dmasecurity\\default\\UnallowedBuses\nGet-Item . #make sure you add the space and a full stop <\/pre>\n\n\n\n<p>This will show you all the entries in the UnallowedBuses registry key with their name and value<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">Fixing the Error<\/span><\/h3>\n\n\n\n<p>To remove the DMA error you need to remove these entries or move them to AllowedBuses. To do that you need to take ownership of the UnallowedBuses and AllowedBuses Key and then give yourself full access to both keys. There is an MS article that references this process for Bitlocker, it is the same process for Device Encryption. You can read that article on the MS Docs site &#8211; <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/design\/device-experiences\/oem-bitlocker#un-allowed-dma-capable-busdevices-detected\">Un-allowed DMA capable bus\/device(s) detected<\/a><\/p>\n\n\n\n<p>Remember the earlier warning, this may be opening the potential for DMA attacks. I suggest you check with the manufacturer of the device if they can provide any information on the component&#8217;s use of DMA and the safety of doing this.<\/p>\n\n\n\n<p>Some articles suggested working through them one at a time to find the ones that were causing the issue, but I had to remove them all from UnallowedBuses.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Modern Standby<\/h2>\n\n\n\n<p>This one relates to Power Settings and the capabilities of your motherboard to support a different standard when it is asleep or in standby . It is discussed in this MS Docs article &#8211; <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/design\/device-experiences\/modern-standby\">What is Modern Standby<\/a><\/p>\n\n\n\n<p>Your motherboard must be capable of supporting Standby (S0). You can identify if this is supported by opening a command prompt and typing a simple command. to open the command prompt open the search menu, type cmd and click to open the appliaction.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"594\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-25.png\" alt=\"\" class=\"wp-image-1196\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-25.png 843w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-25-768x541.png 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/figure>\n\n\n\n<p>One open type <code>powercfg \/a<\/code> and press enter<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"430\" src=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-26.png\" alt=\"\" class=\"wp-image-1197\" srcset=\"https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-26.png 971w, https:\/\/vroamam.com\/wordpress\/wp-content\/uploads\/2022\/01\/image-26-768x340.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<p>In my case it appears that it is not supported and that is the end of that, I cannot take advantage of Device Encryption without a firmware upgrade or a new motherboard. I&#8217;ve written to the manufacturers to see if there are plans to support it or if I have missed a setting somewhere in the BIOS that would enable it. I&#8217;ll update this post if they respond.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In my opinion, Device Encryption shouldn&#8217;t be this difficult to implement for home users and the error messaging could be much better, even provided in the Device Security Settings page rather than in system info. In this day and age encryption at rest should be the default. <\/p>\n\n\n\n<p>Despite this I hope that this article will help guide you and maybe you can get yours to work, or at least not spend hours trying to decipher the error messaging through multiple Google searches and Microsoft Answers to find that it will not. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bitlocker is not available on Windows 10 Home.  I didn&#8217;t know this, then I found that there was an alternative called, unremarkably, &#8220;Device Encryption&#8221;. It is hardware dependant and it seems that a lot of hardware, even fairly new hardware, doesn&#8217;t support all of the requirements.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","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,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"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":[111],"tags":[137,139,142,140,141,138],"class_list":["post-1188","post","type-post","status-publish","format-standard","hentry","category-general","tag-device-encryption","tag-disk-encryption","tag-modern-standby","tag-pcr7-binding","tag-unallowed-dma","tag-windows-10-home","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pahuGk-ja","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/posts\/1188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1188"}],"version-history":[{"count":9,"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/posts\/1188\/revisions"}],"predecessor-version":[{"id":1212,"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/posts\/1188\/revisions\/1212"}],"wp:attachment":[{"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vroamam.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}