Skip to content

Commit 8e31845

Browse files
czunkerclaude
andcommitted
🐛 Fix Intune detection order in WMI fallback path
Call correctForWindows11 before detectIntuneDeviceID so that Windows 11 Enterprise Multi-Session systems have the correct title when the Intune check runs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1356da9 commit 8e31845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

providers/os/detector/detector_win.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ func runtimeWindowsDetector(pf *inventory.Platform, conn shared.Connection) (boo
5959
pf.Arch = data.OSArchitecture
6060
pf.Labels["windows.mondoo.com/product-type"] = data.ProductType
6161

62-
detectIntuneDeviceID(pf, conn)
63-
6462
correctForWindows11(pf)
63+
64+
detectIntuneDeviceID(pf, conn)
6565
return true, nil
6666
}
6767

0 commit comments

Comments
 (0)