The easiest way to make hardware inventory changes that apply to all clients is to make the required modifications to the SMS_def.mof file on the server.
Both the Legacy Client and Advanced Client pick up on these changes and in their own way act on them.
The Advanced Client is capable of querying any WMI namespace as part of the inventory process through a Namespace qualifier.
The Legacy Client is limited to the \root\CimV2 namespace. This is problematical for inventory collection on software such as Microsoft Office, which uses its own WMI namespace. To query other namespaces, the Legacy Client requires the configuration of the view provider. This is done by adding class definitions to SMS_def.mof. This makes the class visible in \root\CimV2 and thus visible to the Legacy Client Hardware Inventory Agent.
Notes
Because any changes made to SMS_def.mof results in the Legacy Client resynchronizing its inventory, care must be taken to ensure that an efficient inventory takes place. This does not happen with the Advanced Client.
On the Advanced Client, any sms_def.mof extensions beyond the default view and registry provider must be distributed and compiled separately.
Enabling the Report Feature for Existing Classes and Properties Before you create a class and write a provider, check the SMS_def.mof file to see whether your class or property exists and is simply disabled. SMS defines more than 650 properties in SMS_def.mof, but only 200 are enabled. If your component is disabled, you can edit SMS_def.mof and set its reporting value to TRUE. After the file is compiled, SMS provides the inventory data for you.
Note
You can use Notepad to edit the SMS_def.mof file.
The full article is here:
|