Article ID: 202538 - View products that this article applies to.
This article was previously published under Q202538
This article describes how to edit Managed Object Format (MOF) files with the MOF Manager tool (Mofman.exe).
NOTE: Resource kit utilities such as Mofman.exe are supported on a reasonable-effort basis.
MOF is a compiled language created by the Desktop Management Task Force (DMTF). MOF files can be used to define dynamic or static classes and instances of the classes. The MOF files can be compiled by the MOF compiler (Mofcomp.exe) that adds the classes to the Common Information Model (CIM) repository.
Location of Mofman.exeYou can use Mofman.exe that is included in Systems Management Server (SMS) 2.0 to edit existing MOF files and to toggle the classes and instances that are defined in the MOF file to be available in the CIM repository and inventoried at each client.
Mofman.exe is available at the following locations:
The Sms_def.mof FileAll of the classes and instances of information that are collected during hardware inventory on a client computer are listed in the Sms_def.mof file. By default, this file is located in the SMS\Inboxes\Clifiles.src\Hinv folder on the SMS site server. By default, only about 40 percent of the classes are enabled. Of the classes that are enabled, only about 50 percent of their individual instances are enabled.
Only about 20 percent of all instances are enabled by default because of the amount of information that some classes can obtain during an inventory pass. If you make changes to the Sms_def.mof file, use caution and test any changes in a lab environment. By default, SMS discards any inventory file that has more than 5,000,000 bytes that reaches the site server. You can increase this value, but the value can also be readily exceeded if you enable additional classes.
NOTE: It has been reported that inventory files have reached over 10 megabytes (MBs). Inventory files that are this size have adverse effects on the site server's performance.
Editing the Sms_def.mof FileNOTE: It is recommended that you make a copy of the Sms_def.mof file before you edit it so that you can restore the original file if unexpected or inappropriate results occur.
To edit the Sms_def.mof file, start Mofman.exe, click Open on the File menu, and then navigate to Sms_def.mof. Mofman.exe displays the MOF classes in the left pane under the "Class List" heading. Each class has either a red or green icon beside it. This icon indicates if the class is disabled (red) or enabled (green) for inventory collection.
To change the report status of either a class or an instance, use any of the following methods:
Known IssuesThese are a few of the known issues that may occur if you modify the Sms_def.mof file:
Collecting Asset Information with Systems Management Server 2.0
Contact us for more help
Connect with Answer Desk for expert help.