Assume running Windows 7 Enterprise x86 Operating System (OS) and had already installed the original RTM version (10.0.26624.0) of Windows 10 Microsoft Assessment and Deployment Kit (ADK).
[Download link for Windows ADK for Windows 10]
To solve the below WinPE errors when running copype.cmd:
copype x86 e:\winpe10_x86
ERROR: The following processor architecture was not found: x86.
Failed!
ERROR: The following path for firmware files was not found: "\..\..\x86\Oscdimg".
Failed!
Solutions
Modified the copype.cmd, "set SOURCE" and "set FWFILESROOT" as shown below (accordingly to your Windows OS type) :
Win7 Enterprise x86 OS
"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment directory\copype.cmd":
rem copype.cmd, line 20
rem set SOURCE=%WinPERoot%\%WINPE_ARCH%
set SOURCE=C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\%WINPE_ARCH%
rem copype.cmd, line 21
rem set FWFILESROOT=%OSCDImgRoot%\..\..\%WINPE_ARCH%\Oscdimg
set FWFILESROOT=C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\%WINPE_ARCH%\Oscdimg
Win7 Enterprise x64 OS
"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment directory\copype.cmd":
rem copype.cmd, line 20
rem set SOURCE=%WinPERoot%\%WINPE_ARCH%
set SOURCE=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\%WINPE_ARCH%
rem copype.cmd, line 21
rem set FWFILESROOT=%OSCDImgRoot%\..\..\%WINPE_ARCH%\Oscdimg
set FWFILESROOT=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\%WINPE_ARCH%\Oscdimg
Install Windows PE to the USB thumbdrive
Plug in your USB thumbdrive. Right-click the (Start > All Programs > Accessories) "Command Prompt" shortcut and left click "Run as administrator".
Enter the below diskpart commands (optional) to prepare the thumbdrive that will erase all data and format the thumbdrive as FAT32 file system with the below assumptions:
- USB thumbdrive is located at disk number 3
(Important: change according to your USB thumbdrive disk number by checking the disk size) - Primary partition created is at partition number 1.
If you created more than 1 partition in your USB thumbdrive, you can use the below diskpart commands:
list partition
select partition 1 - USB thumbdrive is assigned to t: drive
diskpart
list disk
select disk 3
clean
(Warning: Diskpart Clean command will erase all data on the selected disk. Please ensure that you have select the correct disk number)
create partition primary
format quick fs=fat32 label="WinPE10"
(Warning: Diskpart Format command will wipe the selected disk)
active
exit
Encountered the below WinPE errors when running MakeWinPEMedia.cmd:
MakeWinPEMedia /UFD e:\winpe10_x86 t:
WARNING, ALL DATA ON DISK DRIVE t: WILL BE LOST!
Proceed with Format [Y,N]?N
Setting the boot code on t:...
'bootsect.exe' is not recognized as an internal or external command, operable program or batch file.
ERROR: Failed to set the boot code on t:.
Solution
To solve the "
WinPE x86
Copy
C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\
to
C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\
Copy
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\
to
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\
No comments:
Post a Comment