I installed Win8 Pro by booting into Win PE and then running a Diskpart script and a Batch file. Code: rem == CreatePartitions-UEFI.txt == rem == These commands are used with DiskPart to rem create five partitions rem for a UEFI/GPT-based PC. rem Adjust the partition sizes to fill the drive rem as necessary. == select disk 0 clean convert gpt rem == 1. Windows RE tools partition =============== create partition primary size=300 format quick fs=ntfs label="Windows RE tools" assign letter="T" set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac" gpt attributes=0x8000000000000001 rem == 2. System partition ========================= create partition efi size=100 rem ** NOTE: For Advanced Format 4Kn drives, rem change this value to size = 260 ** format quick fs=fat32 label="System" assign letter="S" rem == 3. Microsoft Reserved (MSR) partition ======= create partition msr size=128 rem == 4. Windows partition ======================== rem == a. Create the Windows partition ========== create partition primary rem == b. Create space for the recovery image === shrink minimum=15000 rem ** NOTE: Update this size to match the size rem of the recovery image ** rem == c. Prepare the Windows partition ========= format quick fs=ntfs label="Windows" assign letter="W" rem === 5. Recovery image partition ================ create partition primary format quick fs=ntfs label="Recovery image" assign letter="R" set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac" gpt attributes=0x8000000000000001 list volume exit Applyimage.bat Code: rem These commands copy the selected image file to rem predefined hard disk partitions on a UEFI-based computer. rem Usage: ApplyImage WimFileName rem Example: ApplyImage E:\Images\ThinImage.wim rem === Copy the image to the recovery image partition ======================= mkdir R:\RecoveryImage copy %1 R:\RecoveryImage\install.wim rem === Apply the image to the Windows partition ============================= dism /Apply-Image /ImageFile:R:\RecoveryImage\install.wim /Index:1 /ApplyDir:W:\ rem === Copy the Windows RE Tools to the Windows RE Tools partition ========== md T:\Recovery\WindowsRE attrib -a -s -h W:\windows\system32\recovery\winre.wim copy W:\windows\system32\recovery\winre.wim T:\Recovery\WindowsRE\winre.wim rem === Copy boot files from the Windows partition to the System partition === bcdboot W:\Windows rem === In the System partition, set the location of the Windows partition === W:\Windows\System32\reagentc /setosimage /path R:\RecoveryImage /target W:\Windows /index 1 rem === In the System partition, set the location of the WinRE tools ========= W:\Windows\System32\reagentc /setreimage /path T:\Recovery\WindowsRE /target W:\Windows /bootkey 0x3d00 Win8 Was loaded successfully, however in Settings->General, the Refresh my PC and Reset my PC would not work. When trying Refresh my PC it says the windows drive is locked and i need to unlock it first. When trying Resetting my PC, it says "Unable to Reset your pc. A required drive partition is missing". It is a HP Envy m6 laptop with UEFI. When I enable Legacy Mode in BIOS and using the same method to load Win8, the Reset my PC functions correctly. But it fails when i disable "Legacy mode" to use UEFI only. Can anyone enlighten me on this issue? Any comment is appreciated. Thanks.
For me, I just needed to install win8 on the gpt disk, uefi and msr partitions will be created automatically...
I'm assuming you've boot winpe in UEFI mode? Have you stepped through the script? 1). Does winre.wim get copied to t:\Recovery\Winre? 2). The last reagentc command with /setreimage. Does that run? /bootkey is a win7 feature & not supported by win8.
u need flash with W8 on it but i tested one time and took one hour to reach 5% i ended using normal format method and only took about 13 Minutes to be in Windows