The endpoints with this problem are showing the following error in the inventoryagent.log:
ie.
Collection: Namespace = root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, FullName, InstallState, UserAccountName, UserSecurityId FROM SMS_Windows8ApplicationUserInfo; Timeout = 600 secs. InventoryAgent 03/12/2021 8:04:02 AM 17460 (0x4434)
Unknown error encountered processing an instance of class SMS_Windows8ApplicationUserInfo: 80041024 InventoryAgent 03/12/2021 8:04:02 AM 17460 (0x4434)
...
Collection: Namespace = root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, ApplicationName, Architecture, ConfigMgrManaged, DependencyApplicationNames, FamilyName, FullName, InstalledLocation, IsFramework, Publisher, PublisherId, Version FROM SMS_Windows8Application; Timeout = 600 secs. InventoryAgent 03/12/2021 8:06:09 AM 17460 (0x4434)
Unknown error encountered processing an instance of class SMS_Windows8Application: 80041024 InventoryAgent 03/12/2021 8:06:09 AM 17460 (0x4434)
I discovered that on one endpoint I have fixed this problem by following these steps:
- Reset WMI repository
- Repair CCM Agent
Then after performing another HW inventory I found these 2 lines in the inventoryagent.log without errors:
Collection: Namespace = root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, FullName, InstallState, UserAccountName, UserSecurityId FROM SMS_Windows8ApplicationUserInfo; Timeout = 600 secs.
...
Collection: Namespace = root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, ApplicationName, Architecture, ConfigMgrManaged, DependencyApplicationNames, FamilyName, FullName, InstalledLocation, IsFramework, Publisher, PublisherId, Version FROM SMS_Windows8Application; Timeout = 600 secs.
Then from the Config Manager console I ran Resource Explorer on this endpoint with a successful outcome now listing:
-Windows app
-Windows app User Info
I can now successfully run queries for this class to detect the presence of certain Store Apps.