IT Consultant Everyday Notes

Just some problems/solutions storage

WinPE: The following processor architecture was not found: amd64.

Problem:

I am trying to create a WinPE bootable flash drive for WinPE 4.0 provided by Windows Assessment and Deployment Kit 8.1

to prepare WinPE Source directory I navigate to “C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment” folder (default installation for ADK) and run

copype amd64 d:\WinPE_amd64

The installation fails with error:

ERROR: The following processor architecture was not found: amd64.

 

Resolution:

after digging copype.cmd I found that some variables are missing. I guess they were set up with older version of WAIK, when we had a chance to start “WAIK” command prompt; but now we (at least I) do not have this customized command prompt in Windows 8/8.1 and the variables are not set.

So, I added the variables manually and change a line in the batch file (copype.cmd)

Here are variables I added (there are two variables, each on its own line, depending on your installation path – mine are default):

set WinPERoot=C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment
set OSCDImgRoot=C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools

and I also changed FWFILESROOT line to:

set FWFILESROOT=%OSCDImgRoot%\%WINPE_ARCH%\Oscdimg    (I added a variable and removed “\..\..”)

At the end the changed part of copype.cmd looks like (changes are in red):

rem
rem Set environment variables for use in the script
rem
set WINPE_ARCH=%1
set WinPERoot=C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment
set OSCDImgRoot=C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
set SOURCE=%WinPERoot%\%WINPE_ARCH%

set FWFILESROOT=%OSCDImgRoot%\%WINPE_ARCH%\Oscdimg
set DEST=%~2
set WIMSOURCEPATH=%SOURCE%\en-us\winpe.wim

After that I saved the changed copype.cmd and reran it – It generated source WinPE folder structure for me successfully.

About these ads

One response to “WinPE: The following processor architecture was not found: amd64.

  1. Andy January 23, 2014 at 7:29 am

    Hi,
    Thanks for this. Your changes worked for me although the bit in red for the line below I think should be on the removal of the ..\..\ part not the %OSCDImgRoot% bit. Hope that makes sense and appreciate your post!
    cheers

    set FWFILESROOT=%OSCDImgRoot%\%WINPE_ARCH%\Oscdimg

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: