Requirements of IDMIF Files

Two delta header comments are required for an IDMIF file. Other comments are optional. The comments you must include are:

  • The name of the architecture you want to create or modify:

    //Architecture<ArchitectureName>

  • A unique ID for this instance:

    //UniqueID<UniqueID>

The unique ID can be any unique ID. Each architecture has one or more instances within the SMS site database. The unique ID is the key for this specific instance.

Also, although it is not required, you should use the agent name, especially with a large or complicated custom MIF file that might be updated by more than one agent.

//AgentID<AgentName>

If you do not include this attribute, hardware inventory might overwrite the information your IDMIF file places in the SMS site database.

The agent name enables you to independently create and modify the System architecture. Others who modify the architecture can use a different agent name. They can then remove or modify the parts of the architecture that are associated with that agent, independently of the modifications of other agents.

There is another requirement of any IDMIF file. Whenever you create an IDMIF file, you must include a group within the IDMIF file with the same class name as the architecture you are creating or modifying. This group is known as the top-level group.

Also, if you create any class that has more than one instance, you must include at least one key value within the class, to avoid having each instance overwrite previous instances.

Important

  • The formatting of the comments must be exactly the same as that given here. The only part that you can change is the part in italics. The < and > characters must be included.

IDMIF files must be stored in the following folder on Advanced Clients:

%Windir%\System32\CCM\Inventory\Idmifs

IDMIF files must be stored in the following folder on Legacy Clients:

%Windir%\MS\SMS\Idmifs

The safest method on both clients is to use the folder the following registry key points to:

HKLM\Software\Microsoft\SMS\Client\Configuration\Client Properties\IDMIF Directory

The following is an example of a simple IDMIF file:

//Architecture<Widget>
//UniqueId<414207>
Start Component
   Name = "System Information"   Start Group
      Name  = "Widget Group"      ID    = 1
      Class = "Widget"      Key = 1
      Start Attribute
         Name    = "Widget Asset Number"         ID      = 1
         Type    = String(10)
         Value   = "414207"      End Attribute
   End Group
End Component
For More Information

Did you find this information useful? Please send your suggestions and comments about the documentation to smsdocs@microsoft.com.