HW INVENTORY
Hello
I have configured Client Agents and the sms_def_mof ( Is valid...copy the sms_def_mof from one server to other different server??)
How I could test this role/part (hw inventory)
Regards and thanksMCITP
November 15th, 2011 5:53am
See dataldr.log on the siteserver if the changed mof was processed successfully.
Initiate a machine policy retrieval cycle on the client (this will pick up the HINV modifications).
Initiate a HINV cycle on the client.
See if MP_HINV.log on the MP shows that the client reported inventory.
Open Resource Explorer for the test client to check if the HINV changes/additions made it to the database.Torsten Meringer | http://www.mssccmfaq.de
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 6:02am
BTW, there are lot of troubleshooting article available ...
http://blogs.technet.com/b/sudheesn/archive/2010/05/31/troubleshooting-sccm-part-ii-hardware-inventory.aspx
Troubleshooting Hardware Inventory Flow - Garth JonesAnoop C Nair - Twitter @anoopmannur
MY BLOG:
http://anoopmannur.wordpress.com
SCCM Professionals
This posting is provided AS-IS with no warranties/guarantees and confers no rights.
November 15th, 2011 6:06am
Not exist this log:
\MP\OUtbox
MP_HINV.log ( Is empty)
MCITP
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 6:13am
I have sms_def_mof in SMS 2003
Could I adapt this in SCCM 2007 or change parameters?
ThanksMCITP
November 15th, 2011 6:27am
I want add to sms_def_mof by default this part: #pragma namespace("\\\\.\\root\\cimv2") instance of __Win32Provider as $PropProv3 { Name ="RegPropProv" ; ClsID = "{72967901-68EC-11d0-B729-00AA0062CBB7}"; }; instance of __PropertyProviderRegistration {
Provider = $PropProv3; SupportsPut = TRUE; SupportsGet = TRUE; }; //===================================================================== // Phase 2 Defined: Defining a Registry Class With Qualifiers //=====================================================================
[DYNPROPS] class Inventario { [key]string Keyname=""; string NumeroPC; string VersionMaqueta; string SerialNum; }; [DYNPROPS] instance of Inventario { KeyName="Inventario"; [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\PC\\Inventario|NumeroPC"), Dynamic,
Provider("RegPropProv")] NumeroPC; [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\PC\\Inventario|VersionMaqueta"), Dynamic, Provider("RegPropProv")] VersionMaqueta; [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\PC\\Inventario|SerialNum"), Dynamic,
Provider("RegPropProv")] SerialNum; }; //===================================================================== //Phase 3 Defined: Reporting Inventory for a New Hardware Class //===================================================================== #pragma namespace("\\\\.\\root\\cimv2\\sms")
[SMS_Report(TRUE), SMS_Group_Name("Inventario"), SMS_Class_ID("Inventario|Inventario|1.0")] class Inventario : SMS_Class_Template { [SMS_Report(TRUE),key] string KeyName; [SMS_Report(TRUE)] string NumeroPC; [SMS_Report(TRUE)] string VersionMaqueta; [SMS_Report(TRUE)]
string SerialNum; }; Is correct...?? Could you help me?? ThanksMCITP
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 6:58am
You can't use SMS 2003's sms_def.mof; you have to split the contents (sms_def.mof and configuration.mof). The easiest way would be using Regkey2mof:
http://myitforum.com/cs2/files/folders/proddocs/entry152945.aspxTorsten Meringer | http://www.mssccmfaq.de
November 15th, 2011 7:40am
Very good Torsten
Im testing
ThanksMCITP
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 7:49am
I copy this text in RegKeytoMof:
and after..I look in ConfigMgr07 and appear lines...what is the procedure to adapt??
Thanks
MCITP
November 15th, 2011 10:18am
// Adding Inventario
//=====================================================================
//=====================================================================
// Phase 1 Defined: Registering the System Registry Provider
//=====================================================================
#pragma namespace("\\\\.\\root\\cimv2")
instance of __Win32Provider as $PropProv3
{
Name ="RegPropProv" ;
ClsID = "{72967901-68EC-11d0-B729-00AA0062CBB7}";
};
instance of __PropertyProviderRegistration
{
Provider = $PropProv3;
SupportsPut = TRUE;
SupportsGet = TRUE;
};
//=====================================================================
// Phase 2 Defined: Defining a Registry Class With Qualifiers
//=====================================================================
[DYNPROPS]
class Inventario
{
[key]string Keyname="";
string NumeroPC;
string SerialNum;
string VersionMaqueta;
};
[DYNPROPS]
instance of Inventario
{
KeyName="Inventario";
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\\\Inventario|NumeroPC"),
Dynamic, Provider("RegPropProv")] NumeroPC;
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\\\Inventario|SerialNum"),
Dynamic, Provider("RegPropProv")] SerialNum;
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\\\Inventario|VersionMaqueta"),
Dynamic, Provider("RegPropProv")] VersionMaqueta;
};
//=====================================================================
//Phase 3 Defined: Reporting Inventory for a New Hardware Class
//=====================================================================
#pragma namespace("\\\\.\\root\\cimv2\\sms")
[SMS_Report(TRUE),
SMS_Group_Name("Inventario"),
SMS_Class_ID("Inventario|Inventario|1.0")]
class Inventario : SMS_Class_Template
{
[SMS_Report(TRUE),key]
string KeyName;
[SMS_Report(TRUE)]
string NumeroPC;
[SMS_Report(TRUE)]
string SerialNum;
[SMS_Report(TRUE)]
string VersionMaqueta;
};
How to convert this mof in sms 2003 to configmgr 2007 ?
Help?
ThanksMCITP
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 10:26am
The tool has got 2 tabs: "SCCM configuration.mof" and "SCCM sms_def.mof". Guess what?
The mof that's in the "SCCM configuration.mof" has to be added to the configuration.mof, the "SCCM sms_def.mof" to sms_def.mof.Torsten Meringer | http://www.mssccmfaq.de
November 15th, 2011 10:33am
Excuse me. The Tool : RegkeyMof...might be execute in the client to receive/execute hardware inventory?
THanksMCITP
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 10:42am
No. RegkeytoMof is just for you to use as an administrator. It does not run on the client. Well, if you "happen" to be on a box that happens to be a client, then sure, I guess it does. But that's not required. You could run
it on some home computer, if that home computer just so happens to have the regkeys you care about. But I digress...
RegkeytoMof (version 2.6 or higher) is what you use so that you don't have to manually create the completely custom-for-your-company mof edits, for your company's sms_def.mof and configuration.mof files, on your company's primary site servers.
You add the contents of the tabs to YOUR primary site servers' mof files, at the bottom. Just once. http://tinyurl.com/RegKeyToMof26
Standardize. Simplify. Automate.
November 15th, 2011 10:50am
Im testing this:
http://scug.be/blogs/sccm/archive/2008/08/29/sccm-customizing-the-hardware-inventory-to-report-a-custom-registry-file.aspx
Thanks
MCITP
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 11:06am
What is this description to this parameter?? :
[SMS_Report(TRUE),
SMS_Group_Name("Grupo"),
SMS_Class_ID("Grupo|Inventario|1.0")]
class Win32Reg_CSFAudit : SMS_Class_Template
In sms_def.mof
is necessary to perform some operation
on the system center console????MCITP
November 16th, 2011 4:57am
The InventoryAgent.log in client:
Collection Class Win32 Grupo does not exist out
ThanksMCITP
Free Windows Admin Tool Kit Click here and download it now
November 16th, 2011 5:02am