{"id":4063,"date":"2023-03-17T12:49:07","date_gmt":"2023-03-17T11:49:07","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=4063"},"modified":"2023-03-17T12:49:07","modified_gmt":"2023-03-17T11:49:07","slug":"the-importance-of-source-os-when-creating-cim-images","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2023\/03\/the-importance-of-source-os-when-creating-cim-images\/","title":{"rendered":"The importance of source OS when creating CIM images"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When creating a CIM image for MSIX app attach, make sure that you&#8217;re using a lower or equal OS version than your target OS in e.g. Azure Virtual Desktop. If you use Windows 11 to create a CIM file and try to mount this on Windows 10, the result will be one of the following.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Azure Portal:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ActivityId: 1ef4d1ad-e4af-42d1-b6fa-139c45775efb Error: The MSIX Application metadata expand request failed on all Session Hosts that it was sent to. Session Host: xxxx1, Error: Native error when mounting CIM, HResult -2147024809, ErrorCode 87.. (Code: 400)\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Using the CimDiskImage PS module:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Mount-CimDiskimage : Mounting xxxxx.cim to volume failed with Error:'The operation completed successfully Errorcode:0'<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Mount-CimDiskimage : Mounting xxxx.cim to volume failed with Error:'Too many posts were made to a semaphore ErrorCode:298'<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Above happens because W10 using V2 CIM disks, while W11 uses V3 CIM disks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When creating a CIM image for MSIX app attach, make sure that you&#8217;re using a lower or equal OS version than your target OS in e.g. Azure Virtual Desktop. If you use Windows 11 to create a CIM file and try to mount this on Windows 10, the result will be one of the following. &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2023\/03\/the-importance-of-source-os-when-creating-cim-images\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The importance of source OS when creating CIM images<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-4063","post","type-post","status-publish","format-standard","hentry","category-windows-virtual-desktop"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/4063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=4063"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/4063\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=4063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=4063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=4063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}