Update Boot Image with CU Article 18

This commit is contained in:
Frank Rojas 2023-07-27 12:45:17 -04:00
parent f676f9c520
commit 2c6dccfca7

View File

@ -89,7 +89,7 @@ Before modifying the desired boot image, make a backup copy of the boot image. F
Create a new empty empty folder to mount the boot image to. For example, `C:\Mount`.
### [:::image type="icon" source="images/icons/powershell.svg"{width=50%,height:50%}::: **PowerShell**](#tab/powershell)
### [:::image type="icon" source="images/icons/powershell.svg"{ width=50%,height:50% }::: **PowerShell**](#tab/powershell)
```powershell
Mount-WindowsImage -Path "<Mount_folder_path>" -ImagePath "<Boot_image_path>\<boot_image>.wim" -Index 1 -Verbose
@ -97,7 +97,7 @@ Mount-WindowsImage -Path "<Mount_folder_path>" -ImagePath "<Boot_image_path>\<bo
For more information, see [Mount-WindowsImage](/powershell/module/dism/mount-windowsimage).
### [:::image type="icon" source="images/icons/command-prompt.svg"{width=50%,height:50%}::: **Command Line**](#tab/command-line)
### [:::image type="icon" source="images/icons/command-prompt.svg" { width=50%,height:50% }::: **Command Line**](#tab/command-line)
```cmd
DISM.exe /Mount-image /imagefile:"<Boot_image_path>" /Index:1 /MountDir:"<Mount_folder_path>"
@ -117,16 +117,16 @@ If needed, add any drivers to the boot image:
Command to be determined
```
### [:::image type="icon" source="images/icons/command-prompt.svg"{width=18px,height:18px}::: **Command Line**](#tab/command-line)
### [:::image type="icon" source="images/icons/command-prompt.svg"{ width=18px,height:18px }::: **Command Line**](#tab/command-line)
```cmd
DISM.exe /Image:"<Mount_folder_path>" /Add-Driver /Driver:"<Dirver_INF_source_path>\<driver>.inf"
DISM.exe /Image:"<Mount_folder_path>" /Add-Driver /Driver:"<Driver_INF_source_path>\<driver>.inf"
```
or
```cmd
DISM.exe /Image:"<Mount_folder_path>" /Add-Driver /Driver:"<Dirvers_source_path" /Recurse
DISM.exe /Image:"<Mount_folder_path>" /Add-Driver /Driver:"<Drivers_source_path" /Recurse
```
For more information, see [Add and Remove Driver packages to an offline Windows Image](/windows-hardware/manufacture/desktop/add-and-remove-drivers-to-an-offline-windows-image)