68324: Acronis Cyber Protect 15, Acronis Cyber Backup 12.5: Bootable media builder doesn't accept WinPE files by media creation: "The selected folder does not contain the required WinPE files"

use Google Translate

Last update: 31-05-2021

Symptoms

  1. You're trying to create a WinPE media after installing the latest version of ADK deployment tools and Windows PE add-on,
  2. When browsing the source for WinPE / BartPE files in Bootable media builder, Bootable Media Builder keeps asking for Bart PE / WinPE files. The following error message is shown, even when the correct folder is selected:

The selected folder does not contain the required WinPE files.

Cause

Certain environment variables are not set or set incorrectly.

Troubleshooting

Verify the following 2 points:

1) Check if WinPERoot and OSCDImgRoot environment variables are not set or set incorrectly.

Bootable Media Builder uses C:\Program Files (x86)\Windows Kits\<ххх>\Assessment and Deployment Kit\Windows Preinstallation Environment\copype.cmd for creating installation files first.

Open Command Prompt (CMD) as Administrator and run the following command:

copype.cmd amd64 c:\test_folder

If WinPERoot and OSCDImgRoot are unset, then as a result of this command you will get the following error:

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

To solve this issue, open copype.cmd for editing (with Notepad or a different text editor) and find this section:

rem
rem Set environment variables for use in the script
rem
set WINPE_ARCH=%1
set SOURCE=%WinPERoot%\%WINPE_ARCH%
set FWFILESROOT=%OSCDImgRoot%\..\..\%WINPE_ARCH%\Oscdimg
set DEST=%~2
set WIMSOURCEPATH=%SOURCE%\en-us\winpe.wim

Change it to (added lines are bold):

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

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

(!) Change the text according to Windows Kit version that is used.

Save changes to copype.cmd and retry bootable media creation

2) Check for issues in environment variables:

If at some stage you get the following error:

xcopy is not recognized as an internal or external command, operable program or batch file.

Then check that C:\Windows\System32 is in the Path environment variable: open CMD as Administrator and run the command set

If C:\Windows\System32 is not present as Path value, run the following command:

set Path=%path%;C:\Windows\system32 

After setting this environment variable xcopy command should work correctly.

Tags: