{"id":7338,"date":"2013-02-20T21:27:14","date_gmt":"2013-02-21T02:27:14","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=7338"},"modified":"2013-04-10T08:37:09","modified_gmt":"2013-04-10T13:37:09","slug":"convert-windows-server-2008-r2-vhd-image-to-esxi-vm","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=7338","title":{"rendered":"Convert Windows Server 2008 R2 VHD Image to ESXi VM"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Download_Windows_Server_2008_R2_VHD_Image\">Download Windows Server 2008 R2 VHD Image<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Convert_VHD_to_VMDK\">Convert VHD to VMDK<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Create_New_VMware_VM\">Create New VMware VM<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Attach_Converted_vmdk_File_to_New_VM\">Attach Converted vmdk File to New VM<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Setup_Windows_Server_2008_R2\">Setup Windows Server 2008 R2<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Convert_to_ESXi_5_VM\">Convert to ESXi 5 VM<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#sysprep\">sysprep<\/a>\n\t<\/li>\n<\/ol>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"Download_Windows_Server_2008_R2_VHD_Image\"><h3>Download Windows Server 2008 R2 VHD Image<\/h3><\/span>\n<p>* Download all three parts of Windows Server 2008 R2 Enterprise Edition x64 (Full Install) VHD from <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=2227\">here<\/a>:<br \/>\n&#8211; WS2008R2Fullx64Ent.part01.exe<br \/>\n&#8211; WS2008R2Fullx64Ent.part02.rar<br \/>\n&#8211; WS2008R2Fullx64Ent.part03.rar<br \/>\n* Double click WS2008R2Fullx64Ent.part01.exe to extract files into <em>WS2008R2Fullx64Ent<\/em> folder. The <em>WS2008R2Fullx64Ent.vhd<\/em> file will be in the <em>WS2008R2Fullx64Ent\\Virtual Hard Disks<\/em> directory.<\/p>\n<span id=\"Convert_VHD_to_VMDK\"><h3>Convert VHD to VMDK<\/h3><\/span>\n<p>* Download <em>winima85.zip<\/em> from <a href=\"http:\/\/www.winimage.com\/download.htm\">here<\/a>.<br \/>\n* Convert VHD to VMDK using WinImage 8.5 following <a href=\"http:\/\/www.sertec.ca\/howtos\/Howto-Convert-VHD-to-VMDK-Partition-types.html\">this post<\/a>. Make sure you choose <em>Create Dynamically Expanding Virtual Hard Disk<\/em> option. Otherwise, the resulting disk is too big (130 GB vs 6 GB) and <strong>not<\/strong> usable in my test run.<\/p>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/winimage85_dynamic_disk.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/winimage85_dynamic_disk-300x102.jpg\" alt=\"\" title=\"winimage85_dynamic_disk\" width=\"300\" height=\"102\" class=\"aligncenter size-medium wp-image-7327\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/winimage85_dynamic_disk-300x102.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/winimage85_dynamic_disk.jpg 493w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Create_New_VMware_VM\"><h3>Create New VMware VM<\/h3><\/span>\n<p>* Start VMware Player 5<br \/>\n* Select <em>Player > File > New Virtual Machine&#8230;<\/em> or hit <em>Ctr-N<\/em><br \/>\n* Select <em>I will install the operating system later<\/em> and click <em>Next<\/em>.<\/p>\n<span id=\"_1\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm-300x283.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm\" width=\"300\" height=\"283\" class=\"aligncenter size-medium wp-image-7328\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm-300x283.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm.jpg 499w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Select <em>Microsoft Windows<\/em> and <em>Windows Server 2008 R2 x64<\/em>:<\/p>\n<span id=\"_2\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2-300x281.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm_os_win2k8r2\" width=\"300\" height=\"281\" class=\"aligncenter size-medium wp-image-7329\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2-300x281.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2.jpg 499w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Enter virtual machine name and location:<\/p>\n<span id=\"_3\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_name.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_name-300x283.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm_os_win2k8r2_name\" width=\"300\" height=\"283\" class=\"aligncenter size-medium wp-image-7330\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_name-300x283.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_name.jpg 499w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Specify disk capacity:<\/p>\n<span id=\"_4\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_disk.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_disk-300x282.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm_os_win2k8r2_disk\" width=\"300\" height=\"282\" class=\"aligncenter size-medium wp-image-7331\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_disk-300x282.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_disk.jpg 499w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Click <em>Finish<\/em>.<\/p>\n<span id=\"_5\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_finish.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_finish-300x282.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm_os_win2k8r2_finish\" width=\"300\" height=\"282\" class=\"aligncenter size-medium wp-image-7332\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_finish-300x282.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_os_win2k8r2_finish.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Attach_Converted_vmdk_File_to_New_VM\"><h3>Attach Converted vmdk File to New VM<\/h3><\/span>\n<p>* Power off VM<br \/>\n* Select <em>Edit virtual machine settings<\/em><br \/>\n* Remove existing hard disk by selecting <em>Hardware > Hard Disk<\/em> and click <em>Rmove<\/em> button.<br \/>\n* Attach converted hard disk by clicking <em>Hardware > Add&#8230;<\/em><br \/>\n* Select <em>Hard Disk<\/em><\/p>\n<span id=\"_6\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk-300x267.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm_add_disk\" width=\"300\" height=\"267\" class=\"aligncenter size-medium wp-image-7334\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk-300x267.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk.jpg 504w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Select <em>Use an existing virtual disk<\/em><\/p>\n<span id=\"_7\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk_existing.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk_existing-300x268.jpg\" alt=\"\" title=\"win2k8r2vm_new_vm_add_disk_existing\" width=\"300\" height=\"268\" class=\"aligncenter size-medium wp-image-7335\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk_existing-300x268.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_new_vm_add_disk_existing.jpg 498w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Browse to converted <em>WS2008R2Fullx64Ent.vmdk<\/em><br \/>\n* Click <em>Finish<\/em><\/p>\n<span id=\"Setup_Windows_Server_2008_R2\"><h3>Setup Windows Server 2008 R2<\/h3><\/span>\n<p>* Start VM.<br \/>\n* Setup Windows Server 2008 R2 following the setup wizard.<br \/>\n* Change Administrator password to <strong>Welcome1<\/strong> when prompted.<br \/>\n* Login as administrator and wait for the setup to finish.<br \/>\n* Shutdown VM.<\/p>\n<span id=\"Convert_to_ESXi_5_VM\"><h3>Convert to ESXi 5 VM<\/h3><\/span>\n<p>* Start <em>VMware vCenter Converter Standalone<\/em><br \/>\n* Select source type and browse for source virtual machine:<\/p>\n<span id=\"_8\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_convert_to_esxi.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_convert_to_esxi-300x235.jpg\" alt=\"\" title=\"win2k8r2vm_convert_to_esxi\" width=\"300\" height=\"235\" class=\"aligncenter size-medium wp-image-7336\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_convert_to_esxi-300x235.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/win2k8r2vm_convert_to_esxi.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Continue conversion as usual.<\/p>\n<span id=\"sysprep\"><h3>sysprep<\/h3><\/span>\n<p>This needs to be done for each new instance of VM.<br \/>\n* Login as <strong>Local<\/strong> Administrator<br \/>\n* <strong>sysprep<\/strong> the new VM:<\/p>\n<pre lang=\"bash\">\r\nC:\\Windows\\system32\\sysprep\\sysprep.exe\r\n<\/pre>\n<span id=\"_9\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/exchangesvr1_sysprep.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/exchangesvr1_sysprep-300x220.jpg\" alt=\"\" title=\"exchangesvr1_sysprep\" width=\"300\" height=\"220\" class=\"aligncenter size-medium wp-image-7370\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/exchangesvr1_sysprep-300x220.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/exchangesvr1_sysprep.jpg 343w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n","protected":false},"excerpt":{"rendered":"<p>Download Windows Server 2008 R2 VHD Image * Download all three parts of Windows Server 2008 R2 Enterprise Edition x64 (Full Install) VHD from here: &#8211; WS2008R2Fullx64Ent.part01.exe &#8211; WS2008R2Fullx64Ent.part02.rar &#8211; WS2008R2Fullx64Ent.part03.rar * Double click WS2008R2Fullx64Ent.part01.exe to extract files into WS2008R2Fullx64Ent &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=7338\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[353],"tags":[357,339,355,634,354,356],"class_list":["post-7338","post","type-post","status-publish","format-standard","hentry","category-win2008","tag-convert","tag-esxi","tag-vhd","tag-win2008","tag-win2008r2","tag-winimage"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-1Um","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7338"}],"version-history":[{"count":7,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7338\/revisions"}],"predecessor-version":[{"id":7607,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7338\/revisions\/7607"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}