Skip to content
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM

Written By Anoop C Nair
Last Updated July 29, 2024
Posted In SCCM
SHARE

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM. One of the clients recently got into an issue while extending the hardware inventory.

They wanted to collect all users in all local groups using SCCM. Sherry Kissinger’s post (ALL MEMBERS OF ALL LOCAL GROUPS INVENTORY FOR ConfigMgr 2012) helped them proceed until they got the following error.

We see this error only when we’ve ConfigMgr SCCM Current Branch hierarchy with CAS and primary servers.

Primary server admins cannot change Default Client Settings, which impacts other primary servers in the hierarchy. So, what process must we follow to extend hardware inventory in the SCCM 2012 Hierarchy? How do you extend hardware inventory using the MOF file in the SCCM ConfigMgr hierarchy?

Patch My PC
Index
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Table 1

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error

You can only import hardware inventory classes for the default client settings on the central administration site. The following Classes do not exist for which you are trying to import settings.

Import the required class definitions and then import the settings again LocalGroupMembers (cm_LocalGroupMembers). While importing MOF files into SCCM / ConfigMgr, we get 3 options.

You must be careful when selecting these options when you’ve CAS and primaries. First, 2 options can ONLY be performed with Default Client Settings. 1. Import both hardware inventory classes and hardware inventory class settings:-

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM - Fig.1
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Fig.1

(a) Perform this action from the CAS server when adding these classes globally for all child primary servers. These new hardware inventory settings should be enabled and collected from all the systems/devices in the environment. 

(b) Perform this action from a stand-alone Primary server when we don’t have an SCCM /ConfigMgr 2012 hierarchy. These new hardware inventory settings should be enabled and collected from all the systems/devices in the environment. 2. Import Hardware Inventory classes only:-

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM - Fig.2
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Fig.2

(a) Perform this action from the CAS server when we’ve got the SCCM /ConfigMgr 2012 hierarchy, and only one of the primary site devices (or a subset of devices ) needs to be inventoried about the option. Also, these new hardware inventory settings should be enabled only for Custom Client Settings (NOT default client settings). 

(b) Perform this action from a stand-alone primary server when we don’t want to collect the inventory of all systems in the organization. Also, when this new hardware inventory (classes), settings should be enabled and collected only from a few systems using custom client settings (NOT default client settings).

Select the Class that will be collected by the Hardware Inventory
LocalGroupMembers(cm_LocalGroupMembers)
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Table 2
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM - Fig.3
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Fig.3

When we select this option, the new hardware inventory classes will get imported. Still, the new hardware inventory settings won’t be enabled, and the inventory won’t start being collected from clients. 3. Import Hardware Inventory Class Settings Only.

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM - Fig.4
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Fig.4

Don’t use this option at all. Once we import the new inventory classes (using option 2 above), we can checkmark or select the LOCALGROUPMEMBERS inventory class from the hardware inventory classes list (as shown in the picture below).

Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM - Fig.5
Fix Custom Inventory Errors SCCM Hardware Inventory MOF File Import Error Configuration Manager MEMCM – Fig.5

When you select “Import Hardware Inventory Class Settings Only”, it automatically Enables hardware inventory settings. Once we’ve enabled this, then the client will start collecting the new inventory data. So both the options are the same 🙂

(a) Perform this action from the child primary server, When I’ve already imported the new inventory classes using the above option (2 a) on my CAS server.  (b) I will Perform this action from a stand-alone primary server when I have already imported the new inventory classes using the above option (2 b) on that server.

Once we import new inventory class settings, the SCCM 2012 server will create a new policy and collect the inventory of new classes from the devices assigned to custom client settings.

Resources

ConfigMgr Client Action Hardware Inventory Collection Cycle | SCCM HTMD Blog

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here. HTMD WhatsApp.

Author

Anoop C Nair is Microsoft MVP from 2015 onwards for consecutive 10 years! He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is a Blogger, Speaker, and Local User Group Community leader. His main focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 1 comment

  1. Hi Anoop, I have a query regarding creating custom inventory class. I would like to add few properties/attributes to each computer object we are managing through SCCM.Those properties/attributes cannot be collected using any WMI/Registry as we have those values per computer object in a separate Table in another SQL Database. Example, we have a table containing computer name,owner name,owner user id, Patch designation(means in which patching phase we will patch the server),server type(like prod,dev,qa etc.). I would like have those part of the Inventoried information for each computer object and create device collection based using those properties in Console(example, collection of all PROD systems).Is there anyway to get those values from the SQL Table and extend existing inventory class in SCCM. Any help will be highly appreciated! Thanks in advance.

    Thanks,
    Arindam

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read