Purpose: Gather a new registry value that is not included in the built-in values.
SCCM has a long list of Hardware Inventory objects that you can set the system to gather for you from each workstation. As you continue to use SCCM more intensively, you will notice that the built-in list is not comprehensive for all your great ideas. Thats when you need to extend the SCCM 2012 Hardware Inventory and gather the registry values that you have noticed to be important for you. This will take a moment, so dont rush it.
This application will generate the customization files for you, so you dont need to worry about constant syntax errors (which you would receive if you begin writing these on your own). You can download the application from the authors web site: Mark Cochrane (System Center Configuration Manager MVP). On the other hand, you can download it here as well (in-case the authors website will go down one day). It is a stand-alone application and does not need to be installed.
Select the correct registry values (remember to check each intended value from the top right box individually). Copy the string that the program creates for you from the ConfMg12 – configuration.mof tab in the applications bottom window. Do not close the application yet.
Navigate to your SCCM 2012 primary server installation and to the hardware inventory configuration file (generally in C:\ConfMgr\inboxes\clifiles.src\hinv\) Backup the original configuration.mof in the folder to configuration.mof.backup. Open the configuration.mof using your choice of text editing software. Find the following at the very bottom of the file:
You need to paste what you created and copied from the RegKeyTOMof application inside the ADDED EXTENSIONS START and ADDED EXTENSIONS END –lines. Do not remove these lines.
Return to the RegKeytoMOF application. Open the second tab under ConfMgr12 –
To import in Admin/AgentSettings/HardwareInventory/SetClasses/Import
Copy the string that the application created for you and create and save the string in an external text file (for example) “MyInventoryExtension.mof” and save it into some accessible location.
open your SCCM Admin Console and navigate to \Administration\Overview\Client Settings. Open the Default Client Settings -> Hardware Inventory -> Set Classes.
Click Import at the bottom of the Hardware Inventory Classes –window and select your “MyHardwareExtension.mof” –file. If no syntax error detected (as should not, you used an application to generate the string – select “Import BOTH” and continue by clicking import.
Congratulations, you have successfully extended your SCCM Hardware Inventory. Close the windows and you will start receiving the new attribute values into your database after the clients have downloaded new machine policy and after they have ran the hardware inventory -cycle.