Quantcast
Channel: Configuration Manager 2007 Inventory forum
Viewing all articles
Browse latest Browse all 233

New custom mof not working on half of computer inventory

$
0
0
Hello!   Hopefully someone can help me with this one.  3 days ago I created a custom mof with RegKeytoMof 3.1.   I've used this before and have never had an issue.  However, this latest mof add doesn't seem to work on around 1000 computers.   I can't quite figure out what is wrong.   
  
They're all either Windows 7/Windows 8 and all 64bit.   No consistency I can see with the ones not working.  The entries are in the registry and show in wmi.   However, the inventoryagent.log doesn't show it scanning for this.  
  
I've tried a full inventory sync and a install (with uninstall checked).   Still same results.  
I am on SCCM 2012 R2 
  
Here are the mof entries.   I'm thinking maybe the dynamic provider but I didn't check the dymanic instances on the tool so not sure.   Thanks for the help!!! 
  
// RegKeyToMOF by Mark Cochrane (thanks to Skissinger, Steverac, Jonas Hettich & Kent Agerlund) 
// this section tells the inventory agent what to collect 
// 12/13/2013 6:55:36 PM 
#pragma namespace ("\\\\.\\root\\cimv2") 
#pragma deleteclass("InternetExplorer", NOFAIL) 
[DYNPROPS] 
Class InternetExplorer 

[key] string KeyName; 
String MkEnabled; 
String Version; 
String Build; 
String W2kVersion; 
Uint32 IntegratedBrowser; 
String svcKBFWLink; 
String svcVersion; 
String svcUpdateVersion; 
String svcKBNumber; 
}; 
[DYNPROPS] 
Instance of InternetExplorer 

KeyName="RegKeyToMOF_32"; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|MkEnabled"),Dynamic,Provider("RegPropProv")] MkEnabled; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|Version"),Dynamic,Provider("RegPropProv")] Version; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|Build"),Dynamic,Provider("RegPropProv")] Build; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|W2kVersion"),Dynamic,Provider("RegPropProv")] W2kVersion; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|IntegratedBrowser"),Dynamic,Provider("RegPropProv")] IntegratedBrowser; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcKBFWLink"),Dynamic,Provider("RegPropProv")] svcKBFWLink; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcVersion"),Dynamic,Provider("RegPropProv")] svcVersion; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcUpdateVersion"),Dynamic,Provider("RegPropProv")] svcUpdateVersion; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcKBNumber"),Dynamic,Provider("RegPropProv")] svcKBNumber; 
}; 
#pragma namespace ("\\\\.\\root\\cimv2") 
#pragma deleteclass("InternetExplorer_64", NOFAIL) 
[DYNPROPS] 
Class InternetExplorer_64 

[key] string KeyName; 
String MkEnabled; 
String Version; 
String Build; 
String W2kVersion; 
Uint32 IntegratedBrowser; 
String svcKBFWLink; 
String svcVersion; 
String svcUpdateVersion; 
String svcKBNumber; 
}; 
[DYNPROPS] 
Instance of InternetExplorer_64 

KeyName="RegKeyToMOF_64"; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|MkEnabled"),Dynamic,Provider("RegPropProv")] MkEnabled; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|Version"),Dynamic,Provider("RegPropProv")] Version; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|Build"),Dynamic,Provider("RegPropProv")] Build; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|W2kVersion"),Dynamic,Provider("RegPropProv")] W2kVersion; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|IntegratedBrowser"),Dynamic,Provider("RegPropProv")] IntegratedBrowser; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcKBFWLink"),Dynamic,Provider("RegPropProv")] svcKBFWLink; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcVersion"),Dynamic,Provider("RegPropProv")] svcVersion; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcUpdateVersion"),Dynamic,Provider("RegPropProv")] svcUpdateVersion; 
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|svcKBNumber"),Dynamic,Provider("RegPropProv")] svcKBNumber; 
}; 
  
// RegKeyToMOF by Mark Cochrane (thanks to Skissinger, Steverac, Jonas Hettich & Kent Agerlund) 
// this section tells the inventory agent what to report to the server 
// 12/13/2013 6:55:36 PM 
#pragma namespace ("\\\\.\\root\\cimv2\\SMS") 
#pragma deleteclass("InternetExplorer", NOFAIL) 
[SMS_Report(TRUE),SMS_Group_Name("InternetExplorer"),SMS_Class_ID("InternetExplorer"), 
SMS_Context_1("__ProviderArchitecture=32|uint32"), 
SMS_Context_2("__RequiredArchitecture=true|boolean")] 
Class InternetExplorer: SMS_Class_Template 

[SMS_Report(TRUE),key] string KeyName; 
[SMS_Report(FALSE)] String MkEnabled; 
[SMS_Report(TRUE)] String Version; 
[SMS_Report(FALSE)] String Build; 
[SMS_Report(FALSE)] String W2kVersion; 
[SMS_Report(FALSE)] Uint32 IntegratedBrowser; 
[SMS_Report(FALSE)] String svcKBFWLink; 
[SMS_Report(TRUE)] String svcVersion; 
[SMS_Report(FALSE)] String svcUpdateVersion; 
[SMS_Report(FALSE)] String svcKBNumber; 
}; 
#pragma namespace ("\\\\.\\root\\cimv2\\SMS") 
#pragma deleteclass("InternetExplorer_64", NOFAIL) 
[SMS_Report(TRUE),SMS_Group_Name("InternetExplorer64"),SMS_Class_ID("InternetExplorer64"), 
SMS_Context_1("__ProviderArchitecture=64|uint32"), 
SMS_Context_2("__RequiredArchitecture=true|boolean")] 
Class InternetExplorer_64 : SMS_Class_Template 

[SMS_Report(TRUE),key] string KeyName; 
[SMS_Report(FALSE)] String MkEnabled; 
[SMS_Report(TRUE)] String Version; 
[SMS_Report(FALSE)] String Build; 
[SMS_Report(FALSE)] String W2kVersion; 
[SMS_Report(FALSE)] Uint32 IntegratedBrowser; 
[SMS_Report(FALSE)] String svcKBFWLink; 
[SMS_Report(TRUE)] String svcVersion; 
[SMS_Report(FALSE)] String svcUpdateVersion; 
[SMS_Report(FALSE)] String svcKBNumber; 
}; 

Viewing all articles
Browse latest Browse all 233

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>