{"id":2295,"date":"2018-08-30T14:34:07","date_gmt":"2018-08-30T14:34:07","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=2295"},"modified":"2026-01-20T10:39:30","modified_gmt":"2026-01-20T10:39:30","slug":"vmdk-to-vhdx","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=2295","title":{"rendered":"VMDK to VHDX"},"content":{"rendered":"<p>Follow <a href=\"https:\/\/blogs.msdn.microsoft.com\/timomta\/2015\/06\/11\/how-to-convert-a-vmware-vmdk-to-hyper-v-vhd\/\" rel=\"nofollow\">steps<\/a>:<\/p>\n<ul>\n<li>Download: <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=42497\" rel=\"nofollow\">http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=42497<\/a><\/li>\n<li>Open Powershell as administrator and run <code>Import-Module &#039;C:\\Program Files\\Microsoft Virtual Machine Converter\\MvmcCmdlet.psd1&#039;<\/code><\/li>\n<li>And after <code>ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath<br \/>\nd:\\scratch\\vmx\\VM-disk1.vmdk -VhdType DynamicHardDisk -VhdFormat vhdx<br \/>\n-destination c:\\vm-disk1<\/code><\/li>\n<\/ul>\n<p>If you counter following error:<\/p>\n<blockquote><p>ConvertTo-MvmcVirtualHardDisk : The entry 1 is not a supported disk database entry for the descriptor.<\/p><\/blockquote>\n<p>In my case it was entry <code>4<\/code><\/p>\n<p>Follow these <a href=\"http:\/\/stackoverflow.com\/questions\/37481737\/error-when-converting-vmware-virtual-disk-to-hyperv\" rel=\"nofollow\">steps<\/a>:<\/p>\n<ol>\n<li>download and extract dsfok tools<\/li>\n<li>use <code>dsfo.exe &quot;c:\\temp\\disk2.vmdk&quot; 512 1024 descriptor1.txt<\/code> to extract the descriptor<\/li>\n<li>edit the descriptor file in Notepad++: comment the above mentioned line (as I added the extra single character (#) I also deleted one NULL character from the end to keep the file size of 1024 bytes (not sure if this is needed).<\/li>\n<li>use <code>dsfi.exe &quot;c:\\temp\\disk2.vmdk&quot; 512 1024 descriptor1.txt<\/code> to inject the descriptor back into the VMDK<\/li>\n<li>repeat these steps for the other disk (my VM has two <code>.vmdk<\/code> files)<\/li>\n<li>reissue the <code>ConvertTo-MvmcVirtualHardDisk<\/code> command<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Source:<\/p>\n<p>https:\/\/gist.github.com\/rahilwazir\/69a750b70348459875cbf40935af02cb<\/p>\n<p>https:\/\/stackoverflow.com\/questions\/37481737\/error-when-converting-vmware-virtual-disk-to-hyperv<\/p>\n<p>Related articles:<\/p>\n<p>http:\/\/techgenix.com\/vmdk-to-vhd-conversion\/<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow steps: Download: http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=42497 Open Powershell as administrator and run Import-Module &#039;C:\\Program Files\\Microsoft Virtual Machine Converter\\MvmcCmdlet.psd1&#039; And after ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath d:\\scratch\\vmx\\VM-disk1.vmdk -VhdType DynamicHardDisk -VhdFormat vhdx -destination c:\\vm-disk1 If you counter following error: ConvertTo-MvmcVirtualHardDisk : The entry 1 is not a supported disk database entry for the descriptor. In my case it was entry 4 Follow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,42],"tags":[],"class_list":["post-2295","post","type-post","status-publish","format-standard","hentry","category-truques-dicas","category-utils","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2295"}],"version-history":[{"count":2,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2295\/revisions"}],"predecessor-version":[{"id":2297,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2295\/revisions\/2297"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2295"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}