{"id":393,"date":"2018-09-04T04:51:49","date_gmt":"2018-09-04T04:51:49","guid":{"rendered":"https:\/\/www.filerepairtools.com\/tips\/?p=393"},"modified":"2026-03-07T05:08:10","modified_gmt":"2026-03-07T05:08:10","slug":"manually-repair-vhd-file-system-easy-tricks","status":"publish","type":"post","link":"https:\/\/filerepairtools.com\/tips\/manually-repair-vhd-file-system-easy-tricks\/","title":{"rendered":"Manually Repair VHD file in System with Easy Tricks"},"content":{"rendered":"<p>VHD file or expanded to Virtual Hard Disk serves the same purpose as that of the physical hard drive however, VHD is used to backup system files in case of physical disk failure. VHD file stores data in zip format or for backup system a disk image is used. Thus VHD files have an important purpose, but what if there is an error in the VHD file itself? We need to repair VHD files manually<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/filerepairtools.com\/tips\/manually-repair-vhd-file-system-easy-tricks\/#Top_Methods_to_Repair_VHD_File\" >Top Methods to Repair VHD File<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/filerepairtools.com\/tips\/manually-repair-vhd-file-system-easy-tricks\/#1_Using_Windows_PowerShell\" >1. Using Windows PowerShell<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/filerepairtools.com\/tips\/manually-repair-vhd-file-system-easy-tricks\/#2_Using_Virtual_machine_to_repair_VHD\" >2. Using Virtual machine to repair VHD<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n<p>However, there are many third-party tools for VHD file recovery but why there is a need to go for costly repair software when it can be done manually. Here are the simple techniques by which you can repair VHD files and restore the backed up data. Check out the steps to repair VHD files in your system<\/p>\n<hr \/>\n<p style=\"text-align: center;\"><a href=\"https:\/\/secure.2checkout.com\/order\/checkout.php?PRODS=19785690&amp;QTY=1&amp;AFFILIATE=110194&amp;CART=1\" target=\"_blank\" rel=\"nofollow noopener sponsored\"><strong>Download Kernel for VHD Recovery Tool Here<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-18\" src=\"https:\/\/www.filerepairtools.com\/tips\/wp-content\/uploads\/2017\/06\/download.png\" alt=\"\" width=\"222\" height=\"60\" \/><\/a><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Top_Methods_to_Repair_VHD_File\"><\/span>Top Methods to Repair VHD File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_Using_Windows_PowerShell\"><\/span>1. Using Windows PowerShell<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If there is error in VHD file then the first thing is to check its integrity. Mount VHD file in root folder and then check the disk. Change the file name as per your system<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-662\" src=\"https:\/\/www.filerepairtools.com\/tips\/wp-content\/uploads\/2018\/09\/repair-corrupt-vhd-powershell.jpg\" alt=\"repair corrupt vhd powershell\" width=\"677\" height=\"308\" \/><\/p>\n<ul>\n<li>Select the VHD which is to be mounted by $VHDName = \u201cV:\\serverx.vhd\u201d<\/li>\n<li>Get the MSVM_ImageManagementService<\/li>\n<li>Use the command $VHDService = get-wmiobject -class \u201cMsvm_ImageManagementService\u201d -namespace \u201croot\\virtualization\u201d -computername \u201c.\u201d<\/li>\n<li>Now Mount the VHD<\/li>\n<li>Run script $Result = $VHDService.Mount($VHDName)<\/li>\n<li>Use command prompt to CHKDSK VHD file<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"2_Using_Virtual_machine_to_repair_VHD\"><\/span>2. Using Virtual machine to repair VHD<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Add new disk to newly created virtual server<\/li>\n<li>Now go to settings and browse the VHD file you want to repair<\/li>\n<li>Open the Virtual Disk Wizard and click on compact option<\/li>\n<li>Select the size of the VHD, be sure that it is equal or more than the size of VHD<\/li>\n<li>Now save this VHD file with new file name<\/li>\n<li>Try to load the VHD file it will open<\/li>\n<\/ul>\n<p>Thus you can repair the VHD manually with these simple steps. If the problem still exists then it is better to use a professional VHD repair tool.<\/p>\n<hr \/>\n<p style=\"text-align: center;\"><a href=\"https:\/\/secure.2checkout.com\/order\/checkout.php?PRODS=19785690&amp;QTY=1&amp;AFFILIATE=110194&amp;CART=1\" target=\"_blank\" rel=\"nofollow noopener sponsored\"><strong>Download Kernel for VHD Recovery Tool Here<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-18\" src=\"https:\/\/www.filerepairtools.com\/tips\/wp-content\/uploads\/2017\/06\/download.png\" alt=\"\" width=\"222\" height=\"60\" \/><\/a><\/p>\n<hr \/>\n<p style=\"text-align: center;\">\n","protected":false},"excerpt":{"rendered":"<p>VHD file or expanded to Virtual Hard Disk serves the same purpose as that of the physical hard drive however, VHD is used to backup system files in case of physical disk failure. VHD file stores data in zip format or for backup system a disk image is used. Thus VHD files have an important [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2219,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-393","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-repair"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/comments?post=393"}],"version-history":[{"count":1,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts\/393\/revisions"}],"predecessor-version":[{"id":7444,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts\/393\/revisions\/7444"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/media?parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/categories?post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/tags?post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}