From 4be99c5118c6ff8769cf924c3368e93f98a378b9 Mon Sep 17 00:00:00 2001 From: Frank Rojas <45807133+frankroj@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:45:37 -0400 Subject: [PATCH] Update Boot Image with CU Article 13 --- windows/deployment/update-boot-image.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/windows/deployment/update-boot-image.md b/windows/deployment/update-boot-image.md index f35ddfa10d..080b060656 100644 --- a/windows/deployment/update-boot-image.md +++ b/windows/deployment/update-boot-image.md @@ -16,7 +16,6 @@ appliesto: - ✅ Windows Server 2019 - ✅ Windows Server 2016 --- ---- # Update Windows PE boot image with the latest cumulative update @@ -100,7 +99,7 @@ Mount-WindowsImage -Path "" -ImagePath "\" /Index:1 /MountDir:"" @@ -120,7 +119,7 @@ For more information, see [Modify a Windows image using DISM: Mount an image](/w Command to be determined ``` -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe/Image:"" /Add-Driver /Driver:"\.inf" @@ -149,7 +148,7 @@ Add-WindowsPackage -PackagePath "C:\Program Files (x86)\Windows Kits\10\Assessme For more information, see [Add-WindowsPackage](/powershell/module/dism/add-windowspackage). -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Add-Package /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\.cab" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\.cab" @@ -169,7 +168,7 @@ For more information, see [Add or Remove Packages Offline Using DISM](/windows-h Add-WindowsPackage -PackagePath "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\_en-us.cab" -Path "" -Verbose ``` -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Add-Package /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\_en-us.cab" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\_en-us.cab" @@ -206,7 +205,7 @@ Add-WindowsPackage -PackagePath "" -Path "" /Add-Package /PackagePath:"" @@ -233,7 +232,7 @@ Copy-Item "\Windows\Boot\EFI\bootmgr.efi" "C:\Program Files ( Copy-Item "\Windows\Boot\EFI\bootmgfw.efi" "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\Media\EFI\Boot\bootx64.efi" -Force ``` -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd Command to be determined @@ -253,7 +252,7 @@ Start-Process "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Start-Process "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" -ArgumentList " /Image:"" /Cleanup-image /StartComponentCleanup /Resetbase" -Wait -LoadUserProfile ``` -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Cleanup-image /StartComponentCleanup /Resetbase /Defer @@ -277,7 +276,7 @@ Get-WindowsPackage -Path "" For more information, see [Get-WindowsPackage](/powershell/module/dism/get-windowspackage). -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Get-Packages @@ -299,7 +298,7 @@ Dismount-WindowsImage -Path "" -Save -Verbose For more information, see [Dismount-WindowsImage](/powershell/module/dism/dismount-windowsimage). -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe /Unmount-Image /MountDir:"" /Commit @@ -321,7 +320,7 @@ Export-WindowsImage -SourceImagePath "\.wim" -Sourc For more information, see [Export-WindowsImage](/powershell/module/dism/export-windowsimage). -### [**Command Line]**](#tab/command-line) +### [**Command Line**](#tab/command-line) ```cmd DISM.exe /Export-Image /SourceImageFile:"\.wim" /SourceIndex:1 /DestinationImageFile:"\-export.wim"