MSCatalog icon indicating copy to clipboard operation
MSCatalog copied to clipboard

downloading newer files (Windows 11) doesn't work

Open Arbelac opened this issue 1 year ago • 6 comments

Hi,

its not downloading 2024-05 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5037771) update. Just .Net framework updates is downloading such as 2024-05 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2 for x64 (KB5037591).

PS C:\Windows\system32> Get-MSCatalogUpdate -AllPages -Search "$Date Cumulative Update Windows 11 Version 23H2 x64" -ExcludePreview

Title                                                                                                       Products   Classification   LastUpdated Size    
-----                                                                                                       --------   --------------   ----------- ----    
2024-05 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2 for x64 (KB5037591) Windows 11 Updates          2024/05/14  66.5 MB 
2024-05 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5037771)                     Windows 11 Security Updates 2024/05/14  712.5 MB

Script :

Get-MSCatalogUpdate -AllPages -Search "$Date Cumulative Update Windows 11 Version 23H2 x64" -ExcludePreview | Export-Csv -Path "C:\WINDOWSUPDATES\Win11.csv" -NoTypeInformation -Encoding UTF8
$OutFolder = "C:\KBUPDATEWIN11"
 $Updates=Get-MSCatalogUpdate -AllPages -Search "$Date Cumulative Update Windows 11 Version 23H2 x64" -ExcludePreview
if ($Updates -eq $null){ Write-Host "`r`nNo updates from $Date"} else {
	Foreach ($item in $Updates) { Save-MSCatalogUpdate -AcceptMultiFileUpdates -Update $item -Destination $OutFolder -Verbose }
}

Arbelac avatar May 14 '24 17:05 Arbelac

try this: https://github.com/ryan-jan/MSCatalog/issues/30#issuecomment-1987357784

Batchputz avatar May 15 '24 15:05 Batchputz

I tried that too. Unfortunately it doesn't work.

mscatalog

Arbelac avatar May 15 '24 16:05 Arbelac

I have this issue too. I use this module as part of my packer scripts to version my packer images based on the CU available at build time. When I search for Windows 11, the updates don't show (and -strict doesn't work).

image

svetecs avatar Jun 05 '24 07:06 svetecs

Nevermind, I got my issue sorted by :

Get-MSCatalogUpdate -AllPages -Search "Cumulative Update Windows 11 Version 23H2 x64" -Sort "Title" | Where-Object {$_.Title -like 'Cumulative Update for Windows 11'}

svetecs avatar Jun 05 '24 23:06 svetecs

I only want the latest update so fixed it with

#Get-UpdateLinks $Regex = "downloadInformation[0].files[0].url\s*=\s*'([^']*)'" $Links = [regex]::Matches($Links, $Regex)

#Save-MSCatalogUpdate if ($Update) { $Guid = $Update.Guid | Select-Object -First 1 }

$Links = Get-UpdateLinks -Guid $Guid if ($Links.Count -eq 1) {

Marco-online avatar Aug 01 '24 09:08 Marco-online

I just want to point out that the Download URL has changed, specifically for Windows 11 Updates, along with those of the associated Windows Server 2022 Editions.

I've included the URLs, for "Windows 10 21H2", "Windows Server 2022 21H2", "Windows 11 23H2" & "Windows Server 2022 23H2" below, for comparison. As we can see, the Domain URL for the Former Two is "https://catalog.s.download.windowsupdate.com" and the Domain URL for the Latter Two is "https://catalog.sf.dl.delivery.mp.microsoft.com".

Windows 10 21H2 & Windows Server 2022 21H2:

2024-08 Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (KB5041580): https://catalog.s.download.windowsupdate.com/c/msdownload/update/software/secu/2024/08/windows10.0-kb5041580-x64_b3de56748ec2ba6f57af49e58690585ed0c385ec.msu

2024-08 Cumulative Update for Microsoft server operating system version 21H2 for x64-based Systems (KB5041160) https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/secu/2024/08/windows10.0-kb5041160-x64_f8dc7d5afa74f5b403c918ea78dd82a60626bcfd.msu

Windows 11 23H2 & Windows Server 2022 23H2:

2024-08 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5041585): https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/38b0e2e0-267e-4a3f-b940-3ddf2fe60f5e/public/windows11.0-kb5041585-x64_319b34bb6f8f9053c7cc09e635e541931fbbb111.msu

2024-08 Cumulative Update for Microsoft server operating system version 23H2 for x64-based Systems (KB5041573): https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/08cf7d44-3284-41e8-82fd-b0c528079221/public/windows11.0-kb5041573-x64_b68aab1e63a2c92452e54043bab6dcac12b11c60.msu

Just something to look out for.

mrmattipants avatar Aug 18 '24 01:08 mrmattipants

This repository is no longer maintained and has been archived. Please refer to Marco-online/MSCatalogLTS for an actively maintained alternative.

ryan-jan avatar Jul 24 '25 14:07 ryan-jan