Skip to content

Commit

Permalink
chore: update registry key
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiezhang1997 committed Jun 12, 2024
1 parent 1530acd commit ee8a8a9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
8 changes: 8 additions & 0 deletions vhdbuilder/packer/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,9 @@ function Update-Registry {
Write-Log "Enable 2 fixes in 2024-04B"
Enable-WindowsFixInFeatureManagement -Name 2290715789
Enable-WindowsFixInFeatureManagement -Name 3152880268

Write-Log "Enable 1 fix in 2024-06B"
Enable-WindowsFixInFeatureManagement -Name 1605443213
}

if ($env:WindowsSKU -Like '2022*') {
Expand Down Expand Up @@ -666,6 +669,11 @@ function Update-Registry {
Enable-WindowsFixInFeatureManagement -Name 4186914956
Enable-WindowsFixInFeatureManagement -Name 3173070476
Enable-WindowsFixInFeatureManagement -Name 3958450316

Write-Log "Enable 3 fixes in 2024-06B"
Enable-WindowsFixInFeatureManagement -Name 2540111500
Enable-WindowsFixInFeatureManagement -Name 50261647
Enable-WindowsFixInFeatureManagement -Name 1475968140
}

if ($env:WindowsSKU -Like '23H2*') {
Expand Down
6 changes: 6 additions & 0 deletions vhdbuilder/packer/test/windows-vhd-content-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ function Test-RegistryAdded {

Validate-WindowsFixInFeatureManagement -Name 2290715789
Validate-WindowsFixInFeatureManagement -Name 3152880268

Validate-WindowsFixInFeatureManagement -Name 1605443213
}
if ($env:WindowsSKU -Like '2022*') {
Validate-WindowsFixInFeatureManagement -Name 2629306509
Expand Down Expand Up @@ -398,6 +400,10 @@ function Test-RegistryAdded {
Validate-WindowsFixInFeatureManagement -Name 4186914956
Validate-WindowsFixInFeatureManagement -Name 3173070476
Validate-WindowsFixInFeatureManagement -Name 3958450316

Validate-WindowsFixInFeatureManagement -Name 2540111500
Validate-WindowsFixInFeatureManagement -Name 50261647
Validate-WindowsFixInFeatureManagement -Name 1475968140
}
if ($env:WindowsSKU -Like '23H2*') {
Validate-WindowsFixInHnsState -Name NamespaceExcludedUdpPorts -Value 65330
Expand Down
6 changes: 5 additions & 1 deletion vhdbuilder/packer/write-release-notes-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ $wuRegistryNames = @(
"1552261773",
"4186914956",
"3173070476",
"3958450316"
"3958450316",
"1605443213",
"2540111500",
"50261647",
"1475968140"
)

foreach ($key in $wuRegistryKeys) {
Expand Down

0 comments on commit ee8a8a9

Please sign in to comment.