Synology DiskStation DS1621+ NAS Server AMD Ryzen Quad Core 2.2 GHz CPU Recovery Media Creation Guide [EN]

Page 1
Recovery Media Creation Guide
Based on Active Backup for Business 2.1.1
Page 2
Table of Contents
Introduction
Method 1: Automatically Create Recovery Media
System Requirements and Supported Media Types 4 Create USB Recovery Media 5 Create ISO Recovery Media 7 Cancel Recovery Media or Troubleshoot Failure 9
Method 2: Manually Create Recovery Media
Appendix
2
Page 3

Introduction

Synology Active Backup for Business is a business-wise and all-in-one backup solution that supports backing up physical devices including Windows PCs and Windows servers. With this solution, you can create recovery media to restore an entire device either automatically or manually.
Recovery media must be created manually if the device intended to be restored is running a 32-bit version of
Windows or contains specic driver versions, time zone, or language. However, recovery media can be created
automatically if the device intended to be restored is not running a 32-bit version of Windows and does not
contain specic drivers, time zone, and language. We recommend you to create recovery media automatically, if
possible, because this method is easier.
This Recovery Media Creation Guide details the methods for creating recovery media automatically or manually. Please refer to the following chapters detailing the methods, requirements, limitations, and processes of recovery media creation.
3 Introduction
Page 4

Method 1: Automatically Create Recovery Media

Synology Active Backup for Business Recovery Media Creator
data protection solution — Active Backup for Business. This automated tool is designed for administrators to
e󰀨ectively and automatically create recovery media to perform bare-metal or volume-level restore. Administrators
can adopt this tool if the device intended to be restored is not running a 32-bit version of Windows and does not
contain specic drivers, time zone, and language. This tool will create a 64-bit recovery media, and the language and time zone of the media will be the same as the device that creates recovery media. If the device intended to
be restored is running a 32-bit version of Windows, please refer to for more details.
You can click
to be changed and no further customization is required. You only need to download
for Business Recovery Media Creator Backup for Business Recovery Wizard Media Creator
will guide you through how to use this tool.
here
to download this tool and use it to create recovery media if all the default settings do not need
when creating recovery media automatically. The tool
is embedded in
and therefore does not need to be downloaded and installed additionally. The following sections
Synology Active Backup for Business Recovery
is a desktop tool a󰀩liated to our business
Method 2: Manually Create Recovery Media
Synology Active Backup
Synology Active

System Requirements and Supported Media Types

System Requirements
• Windows 7 (all editions)
• Windows 10 (all editions)
• Windows Server 2008 R2 and onward
Supported Media Types
A USB drive:
• Required capacity: 1 GB
Required local system volume storage capacity for temporary les: 2.5 GB
Supported recovery model: UEFI 64-bit
An ISO image:
• Required capacity: 1 GB
Required local system volume storage capacity for temporary les: 2.5 GB
Supported recovery model: Legacy/UEFI 64-bit
4 Method 1: Automatically Create Recovery Media
Page 5

Create USB Recovery Media

To create USB-based recovery media, please insert a USB drive with enough capacity (1 GB at least) into your
device rst, otherwise there will be no available USB drive for you to select. Afterward, launch
Backup for Business Recovery Media Creator
and select
USB media
.
Synology Active
Windows ADK Installation
A pop-up notication will appear if no Windows ADK is detected. Click
through the entire Windows ADK installation process. Please make sure you have already installed the Windows
ADK and Windows PE.
Deployment Tools
required for building recovery media (see the image on the next page). Installing the Windows ADK may take a few minutes. If you want to download the advance, we recommend downloading version
Note:
• Starting with Windows 10 (version 1809), is required for creating recovery media, is released separately from the Windows ADK. To create recovery
media, both the Windows ADK and WinPE packs need to be downloaded and installed. For more
information, please refer to Microsoft's article
• Internet connection must be available when downloading and installing the Windows ADK. Under the circumstances where you cannot use the online ADK installer with GUI, please refer to Microsoft's article
Install the Windows ADK o󰀪ine
WinPE for Windows 10 (version 1803) is the suggested WinPE version to be downloaded and installed through the Windows ADK. To further verify its compatibility with the environment of your device, please refer to Microsoft's article
Windows Preinstallation Environment (Windows PE)
and
Windows Assessment and Deployment Kit (Windows ADK
1803
.
Windows Preinstallation Environment (Windows PE
Create bootable WinPE media
for more information.
What’s New in Windows PE
.
Download
and the wizard will guide you
are the only two features
) in
), which
.
5 Method 1: Automatically Create Recovery Media
Page 6
Select the Target USB Drive
All of the detected USB drives will be listed in the drop-down menu on Synology Active Backup for Business Recovery Media Creator. Please select a target USB drive and then click media process. Please note that this action cannot be undone once the creation process of USB media has started. Please make sure you want to proceed with USB media creation before you start the recovery media process.
Create
to start the automated recovery
Time Zone and Language Settings
Synology Active Backup for Business Recovery Media Creator automatically detects and applies the local time
zone and language to the created recovery media. The default settings will be applied if the local time zone and language cannot be detected, and the default time zone and language are
English
version shown in
Download Center
, respectively. Please note that the time zone settings may a󰀨ect the backup time of the recovery media
Synology Active Backup for Business Recovery Wizard
.
Pacic Standard Time (PST)
, which can be downloaded from
and
Boot Recovery Media
After the recovery media has been created, a message will appear on the progress bar at the bottom of the tool.
Finish
Click onto the device intended to be restored, and then reboot the device. Press F2 to enter the BIOS mode. Please
note that this hotkey may vary according to di󰀨erent vendors. Afterward, navigate to the
Removable Devices
Recovery Wizard
to open the USB device that should have been renamed as Syno Media. Please insert the USB drive
Boot
tab, and prioritize
. Exit the setup process and you will be directed to
, which will start the recovery process automatically.
Synology Active Backup for Business
Note:
Synology Active Backup for Business Recovery Wizard does not need to be additionally downloaded and
installed because it is embedded in Synology Active Backup for Business Recovery Media Creator.
6 Method 1: Automatically Create Recovery Media
Page 7

Create ISO Recovery Media

System volume of at least 2.5 GB is required for creating recovery media in ISO format because creating an
ISO image itself will occupy 1 GB, and the temporary les will occupy the remaining 1.5 GB. Afterward, launch
Synology Active Backup for Business Recovery Media Creator
and select
ISO media
.
Windows ADK Installation
A pop-up notication will appear if no Windows ADK is detected. Click
through the entire Windows ADK installation process. Please make sure you have already installed the Windows
ADK and Windows PE.
Deployment Tools
required for building recovery media (see the image on the next page). Installing the Windows ADK may take a few minutes. If you want to download the advance, we recommend downloading version
Note:
• Starting with Windows 10 (version 1809), is required for creating recovery media, is released separately from the Windows ADK. To create recovery
media, both the Windows ADK and WinPE packs need to be downloaded and installed. For more
information, please refer to Microsoft's article
• Internet connection must be available when downloading and installing the Windows ADK. Under the circumstances where you cannot use the online ADK installer with GUI, please refer to Microsoft's article
Install the Windows ADK o󰀪ine
WinPE for Windows 10 (version 1803) is the suggested WinPE version to be downloaded and installed through the Windows ADK. To further verify its compatibility with the environment of your device, please refer to Microsoft's article
Windows Preinstallation Environment (Windows PE)
and
Windows Assessment and Deployment Kit (Windows ADK
1803
.
Windows Preinstallation Environment (Windows PE
Create bootable WinPE media
for more information.
What’s New in Windows PE
.
Download
and the wizard will guide you
are the only two features
) in
), which
.
7 Method 1: Automatically Create Recovery Media
Page 8
Specify the ISO Image Path
To create ISO media, please dene the directory for storing the recovery media once it is ready in ISO format.
Click to browse and select the target directory.
Time Zone and Language
Synology Active Backup for Business Recovery Media Creator automatically detects and applies the local time
zone and language to the created recovery media. The default settings will be applied if the local time zone and language cannot be detected, and the default time zone and language are
English
version shown in
, respectively. Please note that the time zone settings may a󰀨ect the backup time of the recovery media
Synology Active Backup for Business Recovery Wizard
Pacic Standard Time (PST)
.
and
Boot Recovery Media
After the recovery media has been created, a message will appear on the progress bar at the bottom of the tool.
Finish
Click machine intended for restoration, or burn the image into a disk by using a third-party tool and then insert the disk into the device that you want to restore. Reboot the device and press F2 to enter the BIOS mode. Please
note that this hotkey may vary according to di󰀨erent vendors. Afterward, navigate to the
the order of
Business Recovery Wizard
to open the directory for storing the ISO image. You can either mount the image onto the virtual
Boot
tab, and prioritize
CD-ROM Drive
. Exit the setup process and you will be directed to
, which will start the recovery process automatically.
Synology Active Backup for
Note:
Synology Active Backup for Business Recovery Wizard does not need to be additionally downloaded and
installed because it is embedded in Synology Active Backup for Business Recovery Media Creator.
8 Method 1: Automatically Create Recovery Media
Page 9

Cancel Recovery Media or Troubleshoot Failure

To cancel a recovery media creation that is in progress, simply close the application interface. The cancellation
process may take a while because of the time required for unmounting the mounted les and deleting the unnished pack. If a specic stage of the creation process fails, Synology Active Backup for Business Recovery Media Creator will automatically nish the current stage, and then unmount and delete
recovery media created in USB format cannot be rolled back once the creation process has begun.
boot.wim
. However,
If recovery media creation fails during the creation process, please open the extracted folder named
Restore Media Creator
receive further assistance.
and fetch the log titled
restore-media.log
and send it to Synology Technical Support to
Synology
9 Method 1: Automatically Create Recovery Media
Page 10

Method 2: Manually Create Recovery Media

Recovery media must be created manually if the device intended to be restored is running a 32-bit version of
Windows or contains specic driver versions, time zone, or language. The following sections guide you through
how to create recovery media manually.

System Requirements and Limitations

Prerequisite Environment
To manually create recovery media, a Windows 7 or above building environment with Internet connection is
required. The RAM on the target device must be larger than 512 MB. Before customizing the recovery media, a CD/DVD rewritable drive or a ash drive needs to be attached to the device.
PE-based Recovery Media
PE-based recovery media contains
operating system for installing, deploying, and repairing the Windows operating system of desktops and servers that have crashed or are unbootable. The recovery media also contains
Recovery Wizard
To obtain the Windows PE, please download and install the
Windows ADK
( more information.
Note:
Recovery media based on WinPE 3.0 or above have enabled dynamic loading of the necessary device drivers. Therefore, we recommend you to use WinPE for Windows 10 that supports better hardware compatibility and reduces the e󰀨orts on copying and installing drivers.
For more information on the compatibility of each WinPE version, please refer to Microsoft's article
What’s New in Windows PE
• Recovery media can be built either for x86 or x64 architecture. An x86-supported recovery media is required for an x86 architecture device.
The 32-bit version of Windows PE can boot 32-bit Unied Extensible Firmware Interface (UEFI), BIOS
PCs, and 64-bit BIOS PCs. The 64-bit version of Windows PE can boot 64-bit Unied Extensible Firmware Interface (UEFI), BIOS PCs, and 64-bit BIOS PCs. For more information on the partition style
when setting up Windows, please refer to Microsoft's article
or GPT partition style
• Internet connection must be available when downloading and installing the Windows ADK. Under the circumstances where you cannot use the online ADK installer with GUI, please refer to Microsoft' article
Install the Windows ADK o󰀪ine
that allows you to restore your device in the pre-installation environment.
) from Microsoft Windows. Please refer to the section
Windows Pre-installation Environment (WinPE
Windows Assessment and Deployment Kit
Download and Install the Windows ADK
for more information.
Windows Setup: Installing using the MBR
.
for more information.
), which is a small Windows
Synology Active Backup for Business
for
Administrative Permission
The entire process of creating recovery media requires users with local administrative permission to use the command-line interface (CLI). Right-click the CLI icon and choose
10 Method 2: Manually Create Recovery Media
Run as administrator
to begin.
Page 11

Create Recovery Media with the Windows ADK

Download and Install the Windows ADK
You must download and install the installing version
Deployment Tools
required for building recovery media (see the image below). Installing the Windows ADK may take a few minutes.
1803
if you want to create recovery media.
Windows Preinstallation Environment (Windows PE)
and
Windows ADK
to create recovery media. We recommend downloading and
are the only two features
Note:
• Starting with Windows 10 (version 1809), is required for creating recovery media, is released separately from the Windows ADK. To create recovery
media, both the Windows ADK and WinPE packs need to be downloaded and installed. For more
information, please refer to Microsoft's article
• Internet connection must be available when downloading and installing the Windows ADK. Under the circumstances where you cannot use the online ADK installer with GUI, please refer to Microsoft's article
Install the Windows ADK o󰀪ine
WinPE for Windows 10 (version 1803) is the suggested WinPE version to be downloaded and installed through the Windows ADK. To further verify its compatibility with the environment of your device, please refer to Microsoft's article
What’s New in Windows PE
for more information.
11 Method 2: Manually Create Recovery Media
Windows Preinstallation Environment (Windows PE
Create bootable WinPE media
.
.
), which
Page 12
Copy Required Boot Files to WinPE
1
Right-click the CLI icon and select
2
Change the le directory by the command in this step. For example, if the path of the installed Windows ADK
is C:\Program Files (x86)\Windows Kits\10, the command will be:
cd "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools"
3
Enter the following command to run the
creating recovery media:
DandISetEnv.bat
4
Copy WinPE to this designated path. Here we use path C:\winpe as the example. Below is the example of the command:
copype.cmd amd64 C:\winpe
Please note that amd64 will build the media required for the 64-bit WinPE. amd64 is used as the example here because it is the mainstream hardware architecture. If you want to create a recovery media for a 32-bit device, the amd64 in the example command should be changed to x86.
Run as administrator
.bat
le that will read all the environment variables required for
to begin.
Mount and Congure "boot.wim"
The le necessary congurations and Synology Active Backup for Business Recovery Wizard. Below is the command for
mounting
boot.wim
boot.wim
works as the operating system of WinPE. It needs to be mounted before you copy all the
:
Dism.exe /Mount-Wim /WimFile:"C:\winpe\media\sources\boot.wim" /index:1 /MountDir:"C:\winpe\mount"
Note:
If a certain hardware requires a specic driver that is not supported by the WinPE, the driver needs to be
copied or included in the media during the creation process. Please refer to for more information.
Copy Drivers
Install Drivers
and
Download Synology Active Backup for Business Recovery Wizard
The latest version of the recovery application be downloaded from
depends on the previous parameter you have entered for copying les. Please download the 64-bit zip le if you
had entered amd64, and download 32-bit zip le if you had entered x86.
We recommend you to create a separate folder on your hard disk and name it ActiveBackup, so the path would be: C:\winpe\mount\ActiveBackup. Afterward, extract the recovery wizard to this directory.
Download Center
Synology Active Backup for Business Recovery Wizard
. Whether you should download a recovery wizard with 64-bits or 32-bits
can
Set the Time Zone
Time zone settings can be congured at this stage, and may a󰀨ect the backup time of the recovery media version
shown in
quotation marks according to your needs. Please read the list from Microsoft to consult the time zone names:
Default Time Zones
Synology Active Backup for Business Recovery Wizard
.
. You can change the time zone within the
//Set the time zone to your local time zone
Dism.exe /Image:"C:\winpe\mount" /Set-TimeZone:"
12 Method 2: Manually Create Recovery Media
Taipei Standard Time
"
Page 13
Congure "winpeshl.ini"
After WinPE has been initiated, the executable le
winpeshl.ini
the
the WinPE environment and Active Backup Recovery Wizard has been launched.
You can create this le using notepad, and copy the following content and paste it into your notepad. Afterward, save the le as
[LaunchApps] %systemroot%\System32\wpeinit.exe %systemdrive%\ActiveBackup\ui\recovery.exe
Note:
Under the circumstances where congurations of resolution and language are required, please refer to the sections
Congure Resolution
le. The purpose of this le is to initialize the network environment once your device has entered
winpeshl.ini
and move it to the directory C:\winpe\mount\Windows\system32.
Congure Language Settings
and
winpeshl.exe
for more information.
will run automatically.
winpeshl.exe
will read
Unmount "boot.wim"
Every adjustment made to ready and expected to be e󰀨ective, then the parameter /COMMIT is required:
Dism.exe /Unmount-Wim /MountDir:"C:\winpe\mount" /COMMIT
boot.wim
needs to be committed to become e󰀨ective. If all the congurations are

Pack Recovery Media

Once the conguration is ready, there are three ways to restore the device through the recovery media: restore the device to VMware through an ISO image, through a USB drive, or through other specied media.
Pack Recovery Media into an ISO Image
Turning the media into an ISO image allows you to restore it directly on VM or burn the ISO image to CD/DVD or
a ash drive with a third-party tool for future recovery. Enter the command below to pack your customized media
into an ISO image:
MakeWinPEMedia /ISO C:\winpe C:\winpe\custom_pe_amd64.iso
Pack Recovery Media into a USB Drive
1
Prepare a USB drive and insert it to your PC.
2
Identify whether the partition table pertains to MBR or GPT:
UEFI-based PC supports both UEFI (GPT) and legacy (MBR) BIOS modes. For Legacy BIOS mode, Windows PE needs to be booted in the MBR mode in order to correctly install Windows. You can refer to
Microsoft's article
3
Enter the following commands in sequence according to your partition table type (see the tables on the next
page). Please note that the command in bold should be changed according to your needs.
Boot in UEFI or legacy BIOS mode
for more information.
13 Method 2: Manually Create Recovery Media
Page 14
GPT
Step Description Command
1
Launch the disk partition tool diskpart
2
List all the disks on the device list disk
3
Select which disk needs to be cleaned in the next step select disk 2
4
Clean all the data from the previously selected disk clean
5
Convert the partition table to GPT convert gpt
6
Create the primary partition create partition primary
7
Select the rst partition select partition 1
8
Format the USB’s le system to FAT32 and name the USB format quick fs=fat32 label="WinPE"
9
Assign the drive letter for the USB assign letter="S"
10
Specify that the partition is required by the device, and prevent
assigning drive letter automatically on another device
11
Exit exit
MBR
Step Description Command
1
Launch the disk partition tool diskpart
2
List all the disks on the device list disk
gpt attributes=0x8000000000000001
3
Select which disk needs to be cleaned in the next step select disk 2
4
Clean all the data from the previously selected disk clean
5
Convert the partition table to MBR convert mbr
6
Create the primary partition create partition primary
7
Select the rst partition select partition 1
8
Activate the partition to be formatted active
9
Format the USB’s le system to FAT32 and name the USB format quick fs=ntfs label="WinPE"
10
Assign the drive letter for the USB assign letter="S"
11
Exit exit
Note:
The command in bold should be changed according to your needs. For example, "select disk 2" should be changed to the corresponding disk number for your media.
4.
Enter the command below to copy the customized WinPE le to the USB drive. Please note that the underlined command should be changed according to your requirement. For example, the could be changed to your assigned letter.
xcopy.exe c:\winpe\media /E /F S:\
S
in the sample command
Preboot eXecution Environment (PXE) on Synology NAS
Preboot eXecution Environment (PXE) supports booting the WinPE loaded from PXE server via Internet connection. To congure your Synology NAS into a PXE server requires the conguration of DHCP server and TFTP server. This section guides you through how to congure DHCP, PXE, and TFTP on your Synology NAS.
1
Create a shared folder "PXE" on your NAS, and then go to your
SMB/AFP/NFS
2
My Network Places
Go to
and tick
Enable SMB service
, enter the shared folder PXE, and create a Boot folder underneath it.
.
DSM
>
Control Panel
File Services
>
14 Method 2: Manually Create Recovery Media
>
Page 15
net use y: \\Your-Remote-NAS\PXE y: md Boot
3
Mount and customize "boot.wim".
Dism.exe /Mount-Wim /WimFile:"C:\winpe\media\sources\boot.wim” /index:1 / MountDir:“C:\winpe\mount"
4
Copy the PXE boot le to the newly created Boot folder.
copy C:\winpe\mount\windows\Boot\pxe\*.* y:\Boot
5
Copy the boot.sdi to the same Boot folder.
copy C:\winpe\media\Boot\boot.sdi y:\Boot
6
Copy the bootable WinPE image to the same Boot folder.
copy C:\winpe\media\sources\boot.wim y:\Boot
7
Copy the TrueType font to the Boot folder (optional).
copy C:\winpe\media\Boot\Fonts y:\Boot\Fonts
8
Execute the command-line interface as an administrator, and create a BCD le through the following
commands:
// Use bcdedit.exe to create space for BCD:
bcdedit /createstore c:\BCD
// Congure the RAMDISK settings:
bcdedit /store c:\BCD /create {ramdiskoptions} /d "Ramdisk options" bcdedit /store c:\BCD /set {ramdiskoptions} ramdisksdidevice boot bcdedit /store c:\BCD /set {ramdiskoptions} ramdisksdipath \Boot\boot.sdi bcdedit /store c:\BCD /create /d "winpe boot image" /application osloader
// The last command will reply a GUID, for example:
// The entry {a4f89c62-2142-11e6-80b6-00155da04110} was successfully created.
// Copy this replied GUID for the next command. Please replace the GUID1 with your GUID in the following command: // Create a new boot record for the Windows PE image:
bcdedit /store c:\BCD /set {GUID1} device ramdisk=[boot]\Boot\boot. wim,{ramdiskoptions} bcdedit /store c:\BCD /set {GUID1} path \windows\system32\winload.exe bcdedit /store c:\BCD /set {GUID1} osdevice ramdisk=[boot]\Boot\boot. wim,{ramdiskoptions} bcdedit /store c:\BCD /set {GUID1} systemroot \windows bcdedit /store c:\BCD /set {GUID1} detecthal Yes bcdedit /store c:\BCD /set {GUID1} winpe Yes
// Congure BOOTMGR settings (Please remember to replace the GUID1 with your own GUID):
bcdedit /store c:\BCD /create {bootmgr} /d "boot manager" bcdedit /store c:\BCD /set {bootmgr} timeout 30 bcdedit /store c:\BCD -displayorder {GUID1} -addlast // Copy this BCD le to the shared folder "Boot" copy c:\BCD y:\Boot\BCD
15 Method 2: Manually Create Recovery Media
Page 16
9
Copy bootmgr.exe and pxeboot.n12 to y:\Boot\
copy y:\Boot\bootmgr.exe y:\bootmgr.exe copy y:\Boot\pxeboot.n12 y:\pxeboot.n12
10
Log in to your
congure your root directory.
11
Enable DHCP server from
12
Enable PXE from
13
Follow the steps below to congure the recovery machine: enter the BIOS mode and then enable and prioritize
the Wake-on-LAN (WOL). In this way, you will be able to access WinPE via PXE.
DSM
Control Panel > DHCP Server > PXE
, go to
Control Panel
Control Panel
File Services
>
DHCP Server > Network Interface
>
TFTP
>
and congure the bootloader.
and tick
Enable TFTP service
.
, and then

Boot Recovery Media (ISO Image or USB Drive)

After you have mounted the ISO image or attached the USB drive to the device intended for restoration, press F2 to enter the BIOS mode once your device has been rebooted. Please note that this hotkey may vary according to
di󰀨erent vendors. Afterward, navigate to the
Devices
Synology Active Backup for Business Recovery Wizard
according to where the recovery media is located. Exit the setup process and you will be directed to
Boot
tab, and prioritize the order of
, which will start the recovery process automatically.
CD-ROM Drive
Removable
and
16 Method 2: Manually Create Recovery Media
Page 17

Appendix

Copy Drivers

If a certain hardware requires a specic driver that is not supported by WinPE, the driver should be copied to and
included into the recovery media when creating the media. Once the image is mounted during the restoration, the driver can be installed onto the device by clicking
Load Drivers
Because the WinPE version suggested previously in this Guide contains a broader hardware compatibility, the
aforementioned situation rarely happens in this version. This step is therefore optional.
after entering WinPE.

Install Drivers

You can also directly install the drivers into the WinPE operating system. In this way, the specic drivers that you
need will be prepared in the operating system without manually loading them upon booting the recovery media.
Synology Active Backup for Business Recovery Wizard
>
You can refer to the article commands regarding this installation.
// When installing a specic driver, you can add parameter /ForceUnsigned to allow unsigned drivers:
Dism.exe /Image: "C:\winpe\mount" /Add-Driver /Driver:"path-to-driver/driver­name.inf"
// When installing all the drivers in the folder, you can add parameter /ForceUnsigned to allow unsigned drivers:
Dism.exe /Image:"C:\winpe\mount" /Add-Driver /Driver:"path-to-driver" /Recurse
Add and Remove Drivers to an o󰀪ine Windows Image
for more detailed
17 Appendix
Page 18
Congure Resolution
The default resolution of WinPE is 800 x 600. If you wish the resolution during restoration is higher, a graphic card driver is required. Without the graphic card driver, the resolution you have congured will not be applied. Only the resolution supported by WinPE will be applied.
To change the resolution, please add the le named "unattend.xml" under the directory
with the following commands:
<?xml version=“1.0” encoding=”utf-8”?> <unattend xmlns=”urn:schemas-microsoft-com:unattend”> <settings pass=”windowsPE”> <component name=”Microsoft-Windows-Setup”> processorArchitecture=“amd64“ publicKeyToken= “31bf3855ad364e35“ language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMICong/2002/State” xmlns:xsi= “http://www.w3.org/2001/XMLSchema-instance”> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> <EnableNetwork>true</EnableNetwork> <EnableFirewall>true</EnableFirewall> </component> </settings> </unattend>
C:\winpe\mount\
along
Congure Language Settings
WinPE for Windows 10 does not support downloading the SDK dedicated for a specic language. Only English is
supported.
If you want the user interface to support other languages, the language packs and fonts are required to be
installed. Congurations of the display language on the user interface and system locale are also required.
If your architecture is amd64, please congure the language settings through the le rst copy the le to
Access the le
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs
To congure the language settings, please follow the formats for relevant commands shown on the next page. Here we use Traditional Chinese as the example.
C:\winpe
WinPE_OCs
to avoid unexpected space error from occurring and to ensure a smoother process.
through the following path:
18 Appendix
WinPE_OCs
. We suggest to
Page 19
// Install the Language packs for Traditional Chinese:
Dism.exe /Image:"C:\winpe\mount" /Add-Package /PackagePath:"C:\winpe\WinPE_OCs\ zh-tw\lp.cab"
// Install the font:
Dism.exe /Image:"C:\winpe\mount" /Add-Package /PackagePath:"C:\winpe\WinPE_OCs\ WinPE-FontSupport-ZH-TW.cab"
// Set the UI language to be Traditional Chinese:
Dism.exe /Image:"C:\winpe\mount" /Set-UILang:zh-tw
// Set the regional language to be Traditional Chinese:
Dism.exe /Image:"C:\winpe\mount" /Set-UserLocale:zh-tw
Add Certicate to WinPE Image
This section will guide you through how to add a root certicate to an WinPE image.
1
Mount the WinPE image to a temporary location on your computer with DISM. For example:
c:\path\to\mount
2
Import the o󰀪ine registry hive to a temporary hive in your host registry.
reg load HKLM\OFFLINE c:\path\to\mount\Windows\System32\cong\Software
3
Copy the key of the root certicate.
reg copy HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCerticates\AuthRoot\ Certicates HKEY_LOCAL_MACHINE\OFFLINE\Microsoft\SystemCerticates\AuthRoot\ Certicates /s /f
reg copy HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCerticates\CA\Certicates HKEY_LOCAL_MACHINE\OFFLINE\Microsoft\SystemCerticates\CA\Certicates /s /f
reg copy HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCerticates\ROOT\ Certicates HKEY_LOCAL_MACHINE\OFFLINE\Microsoft\SystemCerticates\ROOT\ Certicates /s /f
4
Remove the registry that you have loaded.
reg unload HKLM\OFFLINE
5
Now, the root certicate is added to the WinPE image.
19 Appendix
Loading...