{"id":607,"date":"2010-10-26T16:21:11","date_gmt":"2010-10-26T21:21:11","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=607"},"modified":"2010-10-26T16:21:11","modified_gmt":"2010-10-26T21:21:11","slug":"windows-pe-vista7","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2010\/10\/windows-pe-vista7\/","title":{"rendered":"Windows PE Vista\/7"},"content":{"rendered":"<p>I was trying to get back into the Remote Installation Server (RIS) setup and wanted to run sysprep on my newly formatted laptop.  I then wanted to take the image and be able to install it on different hardware but maintain the basic software suite I have grown accustomed to.<\/p>\n<p>All of my stuff is running on 7 at this point save for a few virtual XP testing machines.<\/p>\n<p>You MUST have the AIK (automated installation kit) installed!  <a href=\"http:\/\/www.microsoft.com\/downloads\/en\/details.aspx?FamilyId=94BB6E34-D890-4932-81A5-5B50C657DE08&#038;displaylang=en\">http:\/\/www.microsoft.com\/downloads\/en\/details.aspx?FamilyId=94BB6E34-D890-4932-81A5-5B50C657DE08&#038;displaylang=en<\/a><br \/>\nhttp:\/\/www.microsoft.com\/downloads\/en\/confirmation.aspx?familyid=696DD665-9F76-4177-A811-39C26D3B3B34&#038;displaylang=en<\/p>\n<p>Then follow along: (I grabbed all this from http:\/\/technet.microsoft.com\/en-us\/library\/dd744537%28WS.10%29.aspx)<br \/>\nStart, All Programs, Microsoft Windows AIK, Right-click on Windows PE Tools Command Prompt and select Run As Administrator.<br \/>\n<code>copype.cmd x86 c:\\winpe_x86<br \/>\ncopy c:\\winpe_x86\\winpe.wim c:\\winpe_x86\\ISO\\sources\\boot.wim<br \/>\nDism \/Mount-Wim \/Wimfile:c:\\winpe_x86\\ISO\\sources\\boot.wim \/index:1 \/MountDir:C:\\winpe_x86\\mount<br \/>\ncopy c:\\winpe_x86\\ISO\\bootmgr c:\\winpe_x86\\mount<br \/>\nmkdir c:\\winpe_x86\\mount\\boot<br \/>\nxcopy \/cherky  C:\\winpe_x86\\ISO\\boot C:\\winpe_x86\\mount\\boot\\<\/code><\/p>\n<p><code>copy \"c:\\program files\\Windows AIK\\Tools\\x86\\ImageX.exe\" c:\\winpe_x86\\mount<br \/>\nDel c:\\winpe_x86\\mount\\boot\\BCD<br \/>\nBcdedit \/createstore c:\\winpe_x86\\mount\\boot\\BCD<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -create {bootmgr} \/d \"Boot Manager\"<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -set {bootmgr} device boot<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -create \/d \"WINPE\" -application osloader<\/code><br \/>\nThe last command returns a GUID value. Substitute this value for <GUID> in the following examples.<br \/>\n<code>Bcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -set GUID osdevice boot<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -set GUID device boot<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -set GUID path \\windows\\system32\\winload.exe<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -set GUID systemroot \\windows<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -set GUID winpe yes<br \/>\nBcdedit \/store c:\\winpe_x86\\mount\\boot\\BCD -displayorder GUID -addlast<br \/>\noscdimg -n -m -o -bc:\\winpe_x86\\etfsboot.com c:\\winpe_x86\\mount c:\\winpe_x86\\winpe_x86.iso<\/code><\/p>\n<p>Then burn the ISO (located in c:\\winpe_x86\\) to a CD.  Now we&#8217;re done creating the PE environment.<\/p>\n<p>I went on to run sysprep:<br \/>\n<code>C:\\windows\\system32\\sysprep\\sysprep.exe<\/code><\/p>\n<blockquote><p>Enter System Out-of-Box Experience OOBE<br \/>\nGeneralize<br \/>\nQuit<\/p><\/blockquote>\n<p>It took roughly 10 minutes to run the Sysprep cleanup.<br \/>\nAnd then booted off my CD (64bit in my case, so just change the appropriate x86 to amd64)<\/p>\n<p><code>imagex \/capture d: d:\\data.wim \"Drive D\"<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to get back into the Remote Installation Server (RIS) setup and wanted to run sysprep on my newly formatted laptop. I then wanted to take the image and be able to install it on different hardware but maintain the basic software suite I have grown accustomed to. All of my stuff is &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2010\/10\/windows-pe-vista7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows PE Vista\/7<\/span> <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":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/607\/revisions"}],"predecessor-version":[{"id":608,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/607\/revisions\/608"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}