{"id":1097,"date":"2013-10-20T20:47:40","date_gmt":"2013-10-20T18:47:40","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=1097"},"modified":"2013-10-20T20:47:40","modified_gmt":"2013-10-20T18:47:40","slug":"sccm-2012-r2-create-virtual-hard-disk-vhd","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=1097","title":{"rendered":"SCCM 2012 R2 &#8211; Create Virtual Hard Disk (VHD)"},"content":{"rendered":"<p>One of the new Features Microsoft is bringing with System Center 2012 Configuration Manager R2 is the capability to create a VHD out of an Task Sequence with operating System deployment. This allows you to simplify your process of a Virtual Desktop Infrastructure. It is not possible to create a vhdx, but after creation<!--more--> you can convert your vhd if you like to, use this blog if you Need help for this: http:\/\/www.thomasmaurer.ch\/2012\/05\/windows-server-2012-hyper-v-convert-vhd-to-vhdx\/<\/p>\n<p>In this blog, I would like to Show how you create a vhd, and what the requirements are.<br \/>\nYou will Need a Computer or Server, which has a Hyper-V Role installed. On Client side you can use a Windows 8 or later and on Server side you can use a Windows Server 2008 R2 or later (http:\/\/technet.microsoft.com\/en-us\/library\/dn448591.aspx).<br \/>\nIf your machine meets the requirements, you can install the SCCM Console, to create the Task sequence and the VHD afterwards. You can start with the wizard of &#8220;Create Task sequence&#8221; and select &#8220;Install an existing Image package to a virtual hard disk&#8221;:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd01.png?w=300\" alt=\"Create VHD Task sequence\" width=\"300\" height=\"277\" class=\"aligncenter size-medium wp-image-1099\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd01.png 709w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd01-300x278.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nThe process of creating the Task sequence is very similar to a normal Task sequence, and I&#8217;m not pointing this out. When your Task Sequence is created, you can start to create your virtual hard disk:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd02.png?w=155\" alt=\"Start create vhd wizard\" width=\"155\" height=\"300\" class=\"aligncenter size-medium wp-image-1100\" \/><\/a><br \/>\nThis Option is not selectable or grayed out, when you not have installed a supported Hyper-V Version. I used my Client with Windows 8.1. The wizard starts, and you have to give some Information for creating the VHD:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd03.png?w=300\" alt=\"Creat VHD Wizard\" width=\"300\" height=\"289\" class=\"aligncenter size-medium wp-image-1101\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd03.png 717w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd03-300x289.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nClick on Browse to select your Task sequence created before, and you will see the installed Software:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd041.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd041.png?w=300\" alt=\"Create_VHD04\" width=\"300\" height=\"290\" class=\"aligncenter size-medium wp-image-1104\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd041.png 714w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd041-300x290.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nAdd your preferred Distribution Point to the List:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd051.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd051.png?w=300\" alt=\"Create VHD select DP\" width=\"300\" height=\"289\" class=\"aligncenter size-medium wp-image-1109\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd051.png 716w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd051-300x290.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nIn the last step, you have the well-known Options to set before the Task sequence starts:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd06.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd06.png?w=300\" alt=\"Create VHD wizard\" width=\"300\" height=\"290\" class=\"aligncenter size-medium wp-image-1108\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd06.png 714w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd06-300x291.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nIn the last step, you will see the summary, and by clicking on Next, the Console starts the necessary commands, to create a VHD to the Location you want:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd07.png?w=300\" alt=\"Create VHD wizard summary\" width=\"300\" height=\"287\" class=\"aligncenter size-medium wp-image-1110\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd07.png 719w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd07-300x287.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nFirst you will be asked for administrative rights, and then you will see the Progress:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd08.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd08.png?w=300\" alt=\"Create VHD process 01\" width=\"300\" height=\"289\" class=\"aligncenter size-medium wp-image-1111\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd08.png 719w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd08-300x289.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nAnd:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd09.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd09.png?w=300\" alt=\"Create VHD process 02\" width=\"300\" height=\"290\" class=\"aligncenter size-medium wp-image-1113\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd09.png 716w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd09-300x290.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nYou can even open the virtual machine through Hyper-V Manager and view the Progress of the Task Sequence:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd10.png?w=300\" alt=\"Viurtal Machine TS progress\" width=\"300\" height=\"255\" class=\"aligncenter size-medium wp-image-1115\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd10.png 1042w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd10-300x256.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd10-1024x873.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd10-768x654.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nBe Aware, the vhd will be created in the AppDataLocal, so you should have enough space on your System drive. It does not care about the Setting in Hyper-V Manger where to create new Virtual Machines.<br \/>\nYou should then receive a success Status from the wizard:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd11.png?w=300\" alt=\"Create VHD success\" width=\"300\" height=\"290\" class=\"aligncenter size-medium wp-image-1121\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd11.png 713w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd11-300x291.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nYour created virtual hard disc is also shown in the console, where you can upload it directly to virtual machine Manager:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd12.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/create_vhd12.png?w=300\" alt=\"Created VHD\" width=\"300\" height=\"187\" class=\"aligncenter size-medium wp-image-1122\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd12.png 1069w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd12-300x187.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd12-1024x639.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/create_vhd12-768x479.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the new Features Microsoft is bringing with System Center 2012 Configuration Manager R2 is the capability to create a VHD out of an Task Sequence with operating System deployment. This allows you to simplify your process of a Virtual Desktop Infrastructure. It is not possible to create a vhdx, but after creation<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-1097","post","type-post","status-publish","format-standard","hentry","category-operating-system-deployment"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1097"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1097\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}