Applies to:
- Acronis Bootable Media Builder
- Acronis SCS Cyber Backup 12.5 Hardened Edition
- Acronis Cyber Backup 12.5
- Acronis Cyber Protect 15
Symptoms
- You're trying to create a WinPE media after installing the latest version of ADK deployment tools and Windows PE add-on,
- 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.
Comments
0 comments
Please sign in to leave a comment.