From c3f8de7ae49d3a46b1ac539436f3fb24965a9684 Mon Sep 17 00:00:00 2001 From: Frank Rojas <45807133+frankroj@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:29:27 -0400 Subject: [PATCH] Update Boot Image with CU Article 26 --- ...mand-prompt-18.svg => command-line-18.svg} | 0 .../images/icons/command-prompt-16.png | Bin 343 -> 0 bytes .../images/icons/command-prompt-24.png | Bin 455 -> 0 bytes .../images/icons/command-prompt-32.png | Bin 510 -> 0 bytes .../images/icons/command-prompt-org.svg | 3 -- .../deployment/images/icons/powershell-16.png | Bin 317 -> 0 bytes .../deployment/images/icons/powershell-24.png | Bin 425 -> 0 bytes .../deployment/images/icons/powershell-32.png | Bin 437 -> 0 bytes .../images/icons/powershell-org.svg | 3 -- .../deployment/images/icons/powershell.svg | 3 -- windows/deployment/update-boot-image.md | 38 +++++++++--------- 11 files changed, 19 insertions(+), 28 deletions(-) rename windows/deployment/images/icons/{command-prompt-18.svg => command-line-18.svg} (100%) delete mode 100644 windows/deployment/images/icons/command-prompt-16.png delete mode 100644 windows/deployment/images/icons/command-prompt-24.png delete mode 100644 windows/deployment/images/icons/command-prompt-32.png delete mode 100644 windows/deployment/images/icons/command-prompt-org.svg delete mode 100644 windows/deployment/images/icons/powershell-16.png delete mode 100644 windows/deployment/images/icons/powershell-24.png delete mode 100644 windows/deployment/images/icons/powershell-32.png delete mode 100644 windows/deployment/images/icons/powershell-org.svg delete mode 100644 windows/deployment/images/icons/powershell.svg diff --git a/windows/deployment/images/icons/command-prompt-18.svg b/windows/deployment/images/icons/command-line-18.svg similarity index 100% rename from windows/deployment/images/icons/command-prompt-18.svg rename to windows/deployment/images/icons/command-line-18.svg diff --git a/windows/deployment/images/icons/command-prompt-16.png b/windows/deployment/images/icons/command-prompt-16.png deleted file mode 100644 index d3a5d0257cbb088e7d90f0751012d1bd70aa5f73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 343 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!8e{Rjv*HQYcK81VsaE|dw7vMz%eKyGID9} zTziFx3~?SaM%SDoW=$5(s4UHY3Brcv0{PCmTRo;*l~4SBCQ`gqT#VhmVp=}?Go9Vm z&*WAncKNdl&(MGK@!bRVZ!fKTWMmTAbN04I%O+ft@F+atq^I4pw8C>?vw2F&!PCO4 zqW+$^*UiYO^RdU~(u+r|ku}PF!A#64$^NV5f1Xuco7UD9Hv2#W+pnmLNodyved|HtB6=6={ jc(cTH=f4NrkIkspY!587t}w^}`kTSi)z4*}Q$iB}Xexfn diff --git a/windows/deployment/images/icons/command-prompt-24.png b/windows/deployment/images/icons/command-prompt-24.png deleted file mode 100644 index f5729faa7f8a423fbb8d5b494cb67b9adb34d0b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 455 zcmV;&0XY7NP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0bEH$K~zXf)zmvL z1wk0b@gam$NC=hCxP1c=iG)h6qf#m)isM#DC?pb5C`b^6hEgL6t;T2I14tA)4Wi)x z%!PAyWmaNV;z@qlclPYgn=`Y!<}cEYUi6ee^O|iuPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0h38YK~z{r?Uy-A z#6SQ><57qfUX@mYrC17rpddDar3xaVwH6+Tl~$J8c!Hg+cz}(Kje-gmTG*+LHvR(z zZS;MU9d@%$Ocs`8g?;eId=o;x>`sPVuMCXf4sNBO?(6O2cZz!3nZW_hB7Nuif4F(jp(8V-|@(#aAFnEQ|R0ZR%#-Lip+5ocd^$bpLx`EO(waCRp1=; zy8Oi<>iT7qd~{>Y&6(sTvOpbv;6d8&G(yBI6bKAb#xI~ zpccPy!lZCqYryh~C;spkkp;vRUi-sPTx-BGi#peAQjk~$x=`mfut5_UG`4Sro?O@F zuK{5f - - \ No newline at end of file diff --git a/windows/deployment/images/icons/powershell-16.png b/windows/deployment/images/icons/powershell-16.png deleted file mode 100644 index 4ecfea848644068ea9bcb4506dabd981e216ef49..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 317 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!AqVljv*HQYcJXJF*=GI|JZp>Fy-2v zBfctDf>IyVrRo;{FZg;r+;vs$-_@Xb7Z_^?Blf^*4VBhyXa7dr~3=S-a3 z+7cl>qvwN*@BW*@w-vfs^E6I7`K;kh+3@a$f-*PfMza?S-c4V{^)pY+Kg;rfi}{4? zDZbl81m^Cu@ws=s!nNX9FXy7e#?3$fHE1ntebIkEPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0X|7YK~zXf)z!O7 z13?tV@$mwhLI`MOOcjNISX!sDu=OE?6oLt8AqW-}&iYON5 z{|&P+#Jx=7uHXkhvKh{v!(K8me~~h(*eZbfnp=$VT>$kp_wGv@Cpo%=`kEd-pj)+q z)f}i#4R%1s9Tdgf;R_cy&(RI+fCt!zk#kD01EOc31wYH~bKdARO&qX*C%mAdg*lQr z;1ntt;Rv%PbwHFo44}d;;%br-G(cIx6;wRL0YVZyK&j&$I^i0+g;@z6a0V5=;ZO^K z$sDkQXQ-%;b T;xcYW00000NkvXXu0mjflQymO diff --git a/windows/deployment/images/icons/powershell-32.png b/windows/deployment/images/icons/powershell-32.png deleted file mode 100644 index c28fd8f833588b38eddc94d0acdfcaa0e30a8361..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 437 zcmV;m0ZRUfP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0ZK_kK~z{r?bp38 z1VJ3e@exGg6rvTCmMA3(|AGcBJ)KIT)1kO{38hvP3ZjrmC>0tSe}P1+(Mb3{VG_&A z{$_W~DDFu<$-c~Hp1a-K%(+g;9QLr2f#!9Gc+1G`er_CLDWPi=3e0LJVb)P7aD{D@ z-K*F%&m9T{a``{cz=C!XW)p=1YLzm6-pT@l82#9c8dHH@oZ}huIuJ3Y0{u9J&dWYp zh!Il(pJlv2 zzQnSY)cI+Y#Z*A)fo{Y197EStSwmUO1%8V@nXaiaj - - \ No newline at end of file diff --git a/windows/deployment/images/icons/powershell.svg b/windows/deployment/images/icons/powershell.svg deleted file mode 100644 index 7ea68cb8b0..0000000000 --- a/windows/deployment/images/icons/powershell.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/windows/deployment/update-boot-image.md b/windows/deployment/update-boot-image.md index 5356ec74a5..b621a07b4d 100644 --- a/windows/deployment/update-boot-image.md +++ b/windows/deployment/update-boot-image.md @@ -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-18.svg"::: **PowerShell**](#tab/powershell) +### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Mount-WindowsImage -Path "" -ImagePath "\.wim" -Index 1 -Verbose @@ -97,7 +97,7 @@ Mount-WindowsImage -Path "" -ImagePath "\" /Index:1 /MountDir:"" @@ -117,7 +117,7 @@ If needed, add any drivers to the boot image: Command to be determined ``` -### [:::image type="icon" source="images/icons/command-prompt-18.svg"::: **Command Line**](#tab/command-line) +### [:::image type="icon" source="images/icons/command-line-18.svg"::: **Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Add-Driver /Driver:"\.inf" @@ -141,7 +141,7 @@ For more information, see [Add and Remove Driver packages to an offline Windows 1. Add any desired optional components to the boot image: - ### [:::image type="icon" source="images/icons/powershell-16.png"::: **PowerShell**](#tab/powershell) + ### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Add-WindowsPackage -PackagePath "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\.cab" -Path "" -Verbose @@ -151,7 +151,7 @@ For more information, see [Add and Remove Driver packages to an offline Windows For more information, see [Add-WindowsPackage](/powershell/module/dism/add-windowspackage). - ### [:::image type="icon" source="images/icons/command-prompt-16.png"::: **Command Line**](#tab/command-line) + ### [:::image type="icon" source="images/icons/command-line-18.svg"::: **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 +169,7 @@ For more information, see [Add and Remove Driver packages to an offline Windows For example, for English United States (en-us), add the following: - ### [:::image type="icon" source="images/icons/powershell-24.png"::: **PowerShell**](#tab/powershell) + ### [:::image type="icon" source="images/icons/command-line-18.svg"::: **PowerShell**](#tab/powershell) ```powershell 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 @@ -177,7 +177,7 @@ For more information, see [Add and Remove Driver packages to an offline Windows This example assumes an x64 boot image. If a different architecture is being used, then adjust the commands accordingly. - ### [:::image type="icon" source="images/icons/command-prompt-24.png"::: **Command Line**](#tab/command-line) + ### [:::image type="icon" source="images/icons/command-line-18.svg"::: **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" @@ -208,7 +208,7 @@ For more information, see [Add and Remove Driver packages to an offline Windows Apply the cumulative update (CU) downloaded earlier in the walkthrough to the boot image: -### [:::image type="icon" source="images/icons/powershell-32.png"::: **PowerShell**](#tab/powershell) +### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Add-WindowsPackage -PackagePath "" -Path "" -Verbose @@ -216,7 +216,7 @@ Add-WindowsPackage -PackagePath "" -Path "" /Add-Package /PackagePath:"" @@ -234,7 +234,7 @@ For more information, see [Add or Remove Packages Offline Using DISM](/windows-h Copy the updated bootmgr files from the updated boot image to the ADK installation path: -### [**PowerShell**](#tab/powershell) +### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Copy-Item "\Windows\Boot\EFI\bootmgr.efi" "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\Media\bootmgr.efi" -Force @@ -242,7 +242,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) +### [:::image type="icon" source="images/icons/command-line-18.svg"::: **Command Line**](#tab/command-line) ```cmd Command to be determined @@ -256,7 +256,7 @@ This step doesn't update or change the boot image. However, it makes sure that t Run **DISM.exe** commands that will clean up the mounted image and help reduce its size: -### [**PowerShell**](#tab/powershell) +### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell 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 /Defer" -Wait -LoadUserProfile @@ -264,7 +264,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) +### [:::image type="icon" source="images/icons/command-line-18.svg"::: **Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Cleanup-image /StartComponentCleanup /Resetbase /Defer @@ -280,7 +280,7 @@ For more information, see [Modify a Windows image using DISM: Reduce the size of After the optional components and the cumulative update (CU) have been applied to the boot image, verify that they are showing as installed: -### [**PowerShell**](#tab/powershell) +### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Get-WindowsPackage -Path "" @@ -288,7 +288,7 @@ Get-WindowsPackage -Path "" For more information, see [Get-WindowsPackage](/powershell/module/dism/get-windowspackage). -### [**Command Line**](#tab/command-line) +### [:::image type="icon" source="images/icons/command-line-18.svg"::: **Command Line**](#tab/command-line) ```cmd DISM.exe /Image:"" /Get-Packages @@ -302,7 +302,7 @@ For more information, see [DISM Operating System Package (.cab or .msu) Servicin Once drivers, optional components, and the cumulative update (CU) have been applied to the boot image, unmount the boot image and save changes. -### [**PowerShell**](#tab/powershell) +### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Dismount-WindowsImage -Path "" -Save -Verbose @@ -310,7 +310,7 @@ Dismount-WindowsImage -Path "" -Save -Verbose For more information, see [Dismount-WindowsImage](/powershell/module/dism/dismount-windowsimage). -### [**Command Line**](#tab/command-line) +### [:::image type="icon" source="images/icons/command-line-18.svg"::: **Command Line**](#tab/command-line) ```cmd DISM.exe /Unmount-Image /MountDir:"" /Commit @@ -324,7 +324,7 @@ For more information, see [Modify a Windows image using DISM: Unmounting an imag 1. Once the boot image has been unmounted and saved, its size can be further reduced by exporting it: - ### [**PowerShell**](#tab/powershell) + ### [:::image type="icon" source="images/icons/powershell-color-18.svg"::: **PowerShell**](#tab/powershell) ```powershell Export-WindowsImage -SourceImagePath "\.wim" -SourceIndex 1 -DestinationImagePath "\-export.wim" -CompressionType max -Verbose @@ -332,7 +332,7 @@ For more information, see [Modify a Windows image using DISM: Unmounting an imag For more information, see [Export-WindowsImage](/powershell/module/dism/export-windowsimage). - ### [**Command Line**](#tab/command-line) + ### [:::image type="icon" source="images/icons/command-line-18.svg"::: **Command Line**](#tab/command-line) ```cmd DISM.exe /Export-Image /SourceImageFile:"\.wim" /SourceIndex:1 /DestinationImageFile:"\-export.wim"