{"id":2051,"date":"2023-03-30T22:11:15","date_gmt":"2023-03-30T21:11:15","guid":{"rendered":"https:\/\/stevenwhiting.com\/blog\/?p=2051"},"modified":"2023-04-04T14:03:19","modified_gmt":"2023-04-04T13:03:19","slug":"msix-failing-to-expand-to-vhdx-drive","status":"publish","type":"post","link":"https:\/\/stevenwhiting.com\/blog\/?p=2051","title":{"rendered":"MSIX failing to expand to VHDX drive"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/stevenwhiting.com\/blog\/wp-content\/uploads\/2023\/03\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"161\" src=\"https:\/\/stevenwhiting.com\/blog\/wp-content\/uploads\/2023\/03\/image-1024x161.png\" alt=\"\" class=\"wp-image-2052\" srcset=\"https:\/\/stevenwhiting.com\/blog\/wp-content\/uploads\/2023\/03\/image-1024x161.png 1024w, https:\/\/stevenwhiting.com\/blog\/wp-content\/uploads\/2023\/03\/image-300x47.png 300w, https:\/\/stevenwhiting.com\/blog\/wp-content\/uploads\/2023\/03\/image-768x121.png 768w, https:\/\/stevenwhiting.com\/blog\/wp-content\/uploads\/2023\/03\/image.png 1377w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>MSIX error screenshot<\/figcaption><\/figure>\n\n\n\n<p>This turn out to be because the VHDX drive I had created on my work laptop, despite being created as an admin, was instantly getting set to write protect for data security reasons.<\/p>\n\n\n\n<p>It would be VERY useful for Microsoft to say &#8220;We can&#8217;t write to the drive due to it being set to read-only&#8221; instead of the meaningless error it spits out.<\/p>\n\n\n\n<p>Also, if running in powershell, make sure the powershell window is running as admin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This turn out to be because the VHDX drive I had created on my work laptop, despite being created as an admin, was instantly getting set to write protect for data security reasons. It would be VERY useful for Microsoft &hellip; <a href=\"https:\/\/stevenwhiting.com\/blog\/?p=2051\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[335,336],"class_list":["post-2051","post","type-post","status-publish","format-standard","hentry","category-it-notes","tag-azure","tag-msix"],"_links":{"self":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2051"}],"version-history":[{"count":2,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2051\/revisions"}],"predecessor-version":[{"id":2054,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2051\/revisions\/2054"}],"wp:attachment":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}