Troubleshooting: OS Identification Issues

By default, the Microsoft SCCM client does not collect the piece of information Cherwell Asset Management needs to determine if an operating system is 64-bit. In order to collect that information, you'll need to modify your SCCM configuration so that it collects OSArchitecture. The latest versions of SCCM include a user interface in the SCCM Management Console to facilitate collecting this information. Older SCCM versions require modifying the MOF files.

Follow these steps to modify your MOF files:

  1. Add the following code to the end of the sms_def.mof file:
    //--------------------------------------------- 
          // Custom OS properties, not supported on all OSes 
          //--------------------------------------------- 
         [ SMS_Report (TRUE),
           SMS_Group_Name ("Operating System Additional"), 
           SMS_Class_ID ("CUSTOM|OS_Additional|2.0") ] 
    
         class CM_CustomOSAdditional : SMS_Class_Template 
          { 
             [SMS_Report (TRUE), key ]         string   Name; 
             [SMS_Report (TRUE)      ] 
             string   OSArchitecture;
          }; 
          
  2. Add the following code to the end of the configuration.mof file:
    //------------------------------------------------
    // Custom OS properties, not supported by all OSes
    // -----------------------------------------------
    
    [Union, ViewSources{"select Name, OSArchitecture from win32_operatingsystem"},ViewSpaces{"\\\\.\\root\\cimv2"},dynamic,Provider("MS_VIEW_INSTANCE_PROVIDER")]
    
    class CM_CustomOSAdditional
    
    {
      [PropertySources{"Name"},key ]            string Name;
      [PropertySources{"OSArchitecture"}  ] string OSArchitecture;
    };
  3. Wait for at least one new SCCM scan on one machine to complete. (The new field will not show up in the SCCM Hardware Field Mapping dialog box until data has been collected.)
  4. In the SCCM Hardware Field Mapping dialog box, select "OS Architecture (Custom)" in the left panel. In the right panel, search for "operating system additional" and select OSArchitecture under CUSTOM|OS_ADDITIONAL|2.0. Then select Map.