{"id":800,"date":"2019-05-15T07:42:49","date_gmt":"2019-05-15T07:42:49","guid":{"rendered":"https:\/\/www.mozesoft.com\/blog\/?p=800"},"modified":"2021-06-17T09:16:37","modified_gmt":"2021-06-17T09:16:37","slug":"how-to-repair-corrupt-damaged-vhd-file","status":"publish","type":"post","link":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/","title":{"rendered":"How to Repair Corrupt and Damaged VHD File"},"content":{"rendered":"\n<p><em>f your VHD file got corrupted or  damaged and you want to repair it. Then you are at right place just  either perform the simple manual method or try professional <a href=\"https:\/\/www.mozesoft.com\/datarecovery\/vhd-data-recovery.html\">VHD Data Recovery Software<\/a>. The listed methods are widely used and trusted. Try the solution and repair VHD&nbsp;file without using the software.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Methods to Repair VHD File<\/h2>\n\n\n\n<p>As we know that the VHD stands for \nVirtual Hard Disk and it stores very crucial data. In any situation, \nyour .vhd file gets corrupted and inaccessible. Then you have two \noptions, either repair VHD file by PowerShell command or repair damaged \nVHD file by creating the virtual server. Let\u2019s discuss both methods in \ndetail.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 1: \u2013 Repair Damaged VHD File By PowerShell Command<\/h3>\n\n\n\n<p>PowerShell empowers the user to automate \nthe process. But the commands are hectic to use if you are not familiar \nwith formats of commands. So I recommend you to first take backup and \nthen execute the PowerShell command to repair corrupt VHD file. Run the \ncommand on PowerShell CMD:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Choose what VHD we want to mount <strong>$VHDName = \u201cV:\\serverx.<\/strong>vhd<strong>\u201c<\/strong><\/li><li>Get the <strong>MSVM_ImageManagementService<\/strong><\/li><li><strong>$VHDService = get-<\/strong>wmiobject<strong> -class<\/strong> \u201cMsvm_ImageManagementService\u201d -namespace \u201c<strong>root\\virtualization<\/strong>\u201d -computername \u201c.\u201d<\/li><li>Now execute this command to mount vhd file<\/li><li><strong>$Result = $VHDService.Mount<\/strong>($VHDName)<\/li><\/ol>\n\n\n\n<p><strong>Note: \u2013<\/strong> After performing\n these command successfully. Check whether the VHD file corruption issue\n is fixed or not. If your corrupted VHD file repaired successfully then \naccess your data otherwise move to method 2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2: \u2013 Repair Corrupt VHD File by Creating Virtual Server<\/h3>\n\n\n\n<p>The user can also <a href=\"https:\/\/www.mozesoft.com\/datarecovery\/vhd-data-recovery.html\">repair corrupt VHD file<\/a>  by creating new virtual machine and after that link or add the damaged  VHD file to the newly created virtual machine and then compact it. To  complete this process performs the steps listed below:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>First, <strong>create the new virtual server<\/strong> and attach new hard disk.<\/li><li>Now click on <strong>Setting<\/strong> and add newly created hard disk. After that <strong>browse<\/strong> the VHD file in it.<\/li><li>Here hit on <strong>Virtual Disk Wizard<\/strong> and then select the <strong>Compact<\/strong> option. There should be <strong>Convert it to a Fixed Size Virtual hard Disk<\/strong> check-box checked.<\/li><li>At the end <strong>Save<\/strong> this VHD file by new name. You can also save by <strong>original file name<\/strong>.<\/li><\/ol>\n\n\n\n<p><strong>Note: \u2013<\/strong> Apart from these\n manual methods to repair corrupt VHD file you can also the VHD TOOL \nprovided by Microsoft. Just download the tool from Microsoft official \nwebsite and then repair corrupt and damaged VHD file easily.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Final Words!!<\/h4>\n\n\n\n<p>I hope this article will help end user to  <a href=\"https:\/\/www.mozesoft.com\/datarecovery\/vhd-data-recovery.html\">repair damaged and corrupt VHD<\/a> file manually. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>f your VHD file got corrupted or damaged and you want to repair it. Then you are at right place just either perform the simple manual method or try professional VHD Data Recovery Software. The listed methods are widely used and trusted. Try the solution and repair VHD&nbsp;file without using the software. Methods to Repair [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-800","post","type-post","status-publish","format-standard","hentry","category-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Repair Corrupt and Damaged VHD File - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Repair Corrupt and Damaged VHD File - Blog\" \/>\n<meta property=\"og:description\" content=\"f your VHD file got corrupted or damaged and you want to repair it. Then you are at right place just either perform the simple manual method or try professional VHD Data Recovery Software. The listed methods are widely used and trusted. Try the solution and repair VHD&nbsp;file without using the software. Methods to Repair [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-15T07:42:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-17T09:16:37+00:00\" \/>\n<meta name=\"author\" content=\"Adsank\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adsank\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\"},\"author\":{\"name\":\"Adsank\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"headline\":\"How to Repair Corrupt and Damaged VHD File\",\"datePublished\":\"2019-05-15T07:42:49+00:00\",\"dateModified\":\"2021-06-17T09:16:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\"},\"wordCount\":427,\"articleSection\":[\"Windows\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\",\"name\":\"How to Repair Corrupt and Damaged VHD File - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\"},\"datePublished\":\"2019-05-15T07:42:49+00:00\",\"dateModified\":\"2021-06-17T09:16:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mozesoft.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Repair Corrupt and Damaged VHD File\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/\",\"name\":\"Blog\",\"description\":\"IT Knowledgebase\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\",\"name\":\"Adsank\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"caption\":\"Adsank\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Repair Corrupt and Damaged VHD File - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/","og_locale":"en_US","og_type":"article","og_title":"How to Repair Corrupt and Damaged VHD File - Blog","og_description":"f your VHD file got corrupted or damaged and you want to repair it. Then you are at right place just either perform the simple manual method or try professional VHD Data Recovery Software. The listed methods are widely used and trusted. Try the solution and repair VHD&nbsp;file without using the software. Methods to Repair [&hellip;]","og_url":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/","og_site_name":"Blog","article_published_time":"2019-05-15T07:42:49+00:00","article_modified_time":"2021-06-17T09:16:37+00:00","author":"Adsank","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adsank","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/#article","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/"},"author":{"name":"Adsank","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"headline":"How to Repair Corrupt and Damaged VHD File","datePublished":"2019-05-15T07:42:49+00:00","dateModified":"2021-06-17T09:16:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/"},"wordCount":427,"articleSection":["Windows"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/","url":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/","name":"How to Repair Corrupt and Damaged VHD File - Blog","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/#website"},"datePublished":"2019-05-15T07:42:49+00:00","dateModified":"2021-06-17T09:16:37+00:00","author":{"@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"breadcrumb":{"@id":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mozesoft.com\/blog\/how-to-repair-corrupt-damaged-vhd-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mozesoft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Repair Corrupt and Damaged VHD File"}]},{"@type":"WebSite","@id":"https:\/\/www.mozesoft.com\/blog\/#website","url":"https:\/\/www.mozesoft.com\/blog\/","name":"Blog","description":"IT Knowledgebase","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c","name":"Adsank","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","caption":"Adsank"}}]}},"_links":{"self":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=800"}],"version-history":[{"count":2,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/800\/revisions"}],"predecessor-version":[{"id":990,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/800\/revisions\/990"}],"wp:attachment":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/categories?post=800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/tags?post=800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}