Update Boot Image with CU Article 3

This commit is contained in:
Frank Rojas
2023-07-14 18:37:13 -04:00
parent b19b980b2e
commit 8e5971c66e

View File

@ -26,11 +26,16 @@ This walkthrough describes how to update a Windows PE (WinPE) boot image with th
## Prerequisites
- [Windows Assessment and Deployment Kit (ADK)](/windows-hardware/get-started/adk-install). Recommended to use the latest version of the ADK.
- [Windows Assessment and Deployment Kit (Windows ADK)](/windows-hardware/get-started/adk-install) - It's recommended to use the latest version of the ADK.
- [Windows PE add-on for the Windows ADK](/windows-hardware/get-started/adk-install). Make sure the version of Windows PE matches the version of Windows ADK that is being used.
- Boot image - This can be `winpe.wim` included with the Windows ADK.
- Latest cumulative update downloaded from the [Microsoft Update Catalog](https://catalog.update.microsoft.com/) site.
## Overview
Note about boot.wim from installation media
Note about Win11 ADK only having x64 boot images
Note about Windows Server 2012 R2
## Steps
@ -39,31 +44,56 @@ Note about boot.wim from installation media
3. Backup existing boot image (e.g. winpe.wim or boot.wim)
4. Mount boot image to temporary mount folder
5. Add optional components to boot image
6. Add cumulative update (CU) to boot image
7. Copy boot files from mounted image to ADK installation location
8. Perform component cleanup
9. Unmount boot image and save changes
10. Export boot image to reduce size
6. Add optional components OCs to boot image
7. Add cumulative update (CU) to boot image
8. Copy boot files from mounted image to ADK installation location
9. Perform component cleanup
10. Unmount boot image and save changes
11. Export boot image to reduce size
## Step 1: Download and install ADK
## Step 2: Download CU
- Download and install the **Windows Assessment and Deployment Kit (Windows ADK)** from [Download and install the Windows ADK](windows-hardware/get-started/adk-install).
- Download and install the **Windows PE add-on for the Windows ADK** from [Download and install the Windows ADK](windows-hardware/get-started/adk-install). Make sure to download and install both components.
- It's strongly recommended to download and install the latest version of the ADK.
- When installing the Windows ADK, it's only necessary to install the **Deployment Tools**.
## Step 2: Download cumulative update (CU)
- Go to the [Microsoft Update Catalog](https://catalog.update.microsoft.com/) site and search for the latest cumulative update for the version of Windows that matches the version of Windows PE that was downloaded in [Step 1](#step-1-download-and-install-adk) or the version of the Windows PE boot image that will be updated.
- When searching the [Microsoft Update Catalog](https://catalog.update.microsoft.com/) site, use the search term `"<year>-<month> cumulative update for windows <x>"` where `year` is the four digit current year, `<month>` is the two digit current month, and `<x>` is the version of Windows that Windows PE is based on. For example, to search for the latest cumulative update for Windows 11 in July 2023, use the search term `"2023-07 cumulative update for windows 11"`. If the cumulative update hasn't been released yet for the current month, then search on the previous month.
- Once the cumulative update has been found, download the appropriate version for the version and architecture of Windows that matches the Windows PE boot image. For example, if the version of the Windows PE boot image is Windows 11 22H2 64-bit, then download the **Cumulative Update for Windows 11 Version 22H2 for x64-based Systems" version of the update.
- Store the downloaded cumulative update in a known location for later use.
## Step 3: Backup existing boot image
Before modifying the desired boot image, make a backup copy of the boot image being modified. For example,
- For the boot image included with the **Windows PE add-on for the Windows ADK**, the boot image is located at `C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim`.
- For the boot image included with Microsoft Configuration Manager, the boot image is located at `<ConfigMgr_Install_Directory>\OSD\boot\x64\boot.wim`
## Step 4: Mount boot image to temporary mount folder
## Step 5: Add optional components to boot image
## Step 6: Add cumulative update (CU) to boot image
## Step 6: Add optional components OCs to boot image
## Step 7: Copy boot files from mounted image to ADK installation location
## Step 7: Add cumulative update (CU) to boot image
## Step 8: Perform component cleanup
## Step 8: Copy boot files from mounted image to ADK installation location
## Step 9: Unmount boot image and save changes
## Step 9: Perform component cleanup
## Step 10: Export boot image to reduce size
## Step 10: Unmount boot image and save changes
## Step 11: Export boot image to reduce size
## Script outline