Hi matteu31,
The root of the issue is that the System Center Dudes queries were originally designed around Windows 10 servicing state attributes. Windows 11 uses updated build and branch values, and in some cases the SMS_WindowsServicingStates table does not align exactly with the same fields used for Windows 10. This means that simply reusing the query with a Windows 11 collection limitation may not correctly map the servicing state.
To troubleshoot, I recommend first verifying that your Windows 11 devices are reporting the correct build and branch values in the SCCM database. You can do this by running a simple query against SMS_R_System to confirm the build01 and osbranch01 fields. If those values are missing or different, the join with SMS_WindowsServicingStates will fail.
Another approach is to use the built-in “Windows Servicing” collections in MECM, which have been updated to support Windows 11. These collections rely on the proper mapping of servicing states and may save you time compared to custom SQL queries. If you prefer custom queries, you’ll need to adjust the join conditions to reflect the Windows 11 branch values (for example, “co_release” or “22H2” depending on your environment).
I hope the response provided some helpful insight. If this answer is helpful, please don’t forget to hit “Accept Answer”
Jason.