From 99e919dbf9db2a9518451b346dad5f9e81f4169b Mon Sep 17 00:00:00 2001 From: YeehomZhu Date: Thu, 29 Jan 2026 12:42:25 +1100 Subject: [PATCH] Fix XML errors and add Win11 25H2 support - Add WPM (winget) logs collection: %TEMP%\winget\defaultState\WPM-*.txt - Add Windows 11 25H2 (Build 26200) to version mapping tables - Fix registry path errors: - CryptSvc: Remove duplicate SYSTEM in path - SCardSvr: Remove duplicate HKLM in path - Fix file path error: - Edge MAMLog: Remove duplicate Local in path --- Intune.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Intune.xml b/Intune.xml index a574b6e..f30f28f 100644 --- a/Intune.xml +++ b/Intune.xml @@ -426,6 +426,7 @@ if ($WMIOS -ne $null) { #if WMIOS is null - means connection failed. Abort scrip # https://en.wikipedia.org/wiki/Windows_10_version_history $versions = @{ + "26200" = "Win11 25H2" "26100" = "Win11 24H2" "22631" = "Win11 23H2" "22622" = "Win11 22H2" @@ -448,6 +449,7 @@ if ($WMIOS -ne $null) { #if WMIOS is null - means connection failed. Abort scrip } $marketingNames = @{ + "26200" = "Win11 2025 Update" "26100" = "Win11 2024 Update" "22631" = "Win11 2023 Update" "22622" = "Win11 2022 Update" @@ -471,6 +473,7 @@ if ($WMIOS -ne $null) { #if WMIOS is null - means connection failed. Abort scrip $codeNames = @{ + "26200" = "Win11 25H2" "26100" = "Win11 24H2" "22631" = "Win11 23H2" "22622" = "Win11 22H2" @@ -549,7 +552,7 @@ if ($MachineIDContainer){ $SubscriptionID = $ds -match "SubscriptionID : (.+)" # Start reporting -$highestWinBuildNumber = "26100" +$highestWinBuildNumber = "26200" $OS_Summary | Format-List @@ -5289,10 +5292,11 @@ $resultBlob | Format-List %ProgramFiles%\Microsoft Device Inventory Agent\Logs\* %ProgramFiles%\Microsoft Device Inventory Agent\InventoryService\*.sqlite %ProgramFiles%\Microsoft EPM Agent\Logs\* + %TEMP%\winget\defaultState\WPM-*.txt %LOCALAPPDATA%\Temp\*.log %SystemRoot%\Temp\WinGet\defaultState %LOCALAPPDATA%\Temp\WinGet\defaultState - %LocalAppData%\Local\Microsoft\Edge\User Data\MAMLog.txt + %LocalAppData%\Microsoft\Edge\User Data\MAMLog.txt %ProgramData%\Microsoft\IntuneManagementExtension\Logs\* %ProgramData%\microsoft\diagnosticlogcsp\collectors\* %ProgramFiles%\Microsoft Intune\ODJConnector\ODJConnectorUI\*.log @@ -5356,10 +5360,10 @@ $resultBlob | Format-List HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\CSDVersion HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CertPropSvc HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\crypt32 - HKEY_LOCAL_MACHINE\SYSTEM\SYSTEM\CurrentControlSet\services\CryptSvc + HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CryptSvc HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SCPolicySvc - HKEY_LOCAL_MACHINE\HKLM\SYSTEM\CurrentControlSet\services\SCardSvr + HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SCardSvr HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\Mdm HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TPM