Updating Policy SMS_DEF.mof not updating.
How do I verify Policy is updating on my clients? I do not seem to find anything in the logs, or am looking at the wrong logs. My issue is that I have updated my SMS_DEF.mof, and do not see my edits on either my old SCCM clients or the new clients I bring in. Actually my new clients stilll seem to report the information from the SMS_DEF.mof thatI use with SMS before I update the clients to SCCM. Here is the part of the mof that is giving the issue. The top part SLHS INVENTORY, of the script works. Its the second part SLHSINVENTORY, that does not. It does not even show up in Resource Explorer. I am not sure if this a policy issue or config issue. All I have basically done is copy the SLHS INVENTORY part and paste it back in with the a few edits. Sorry for the long post. // <:[-<>>>>>>>>>>>>>>>>>>>>>>>>>>>>-SLHS Inventory-<<<<<<<<<<<<<<<<<<<<<<<<<<>-]:> //(_.*`'`)ENABLED(`'`*._)//`'`*._.*`'`*-// SLHS Inventory//Added 1/13/06 by Travis Crain//`'`*._.*`'`*- #pragma namespace("\\\\.\\root\\cimv2")#pragma deleteclass("SLHSInv", NOFAIL) [DYNPROPS]class SLHSInv{[key] stringKeyName="";stringAssetTag;stringBuilding;stringFloor;stringRoom;stringPhoneNumber;stringComputerUsageType;stringEntity;stringDepartment;stringException;stringSurveyor;stringSurveyorPhone;stringSurveyDateTime;}; [DYNPROPS]instance of SLHSInv{ KeyName = "SLHS Inv";[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|AssetTag"), Dynamic, Provider("RegPropProv")] AssetTag;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Building"), Dynamic, Provider("RegPropProv")] Building;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Floor"), Dynamic, Provider("RegPropProv")] Floor;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Room"), Dynamic, Provider("RegPropProv")] Room;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|PhoneNumber"), Dynamic, Provider("RegPropProv")] PhoneNumber;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Computer_Usage_Type"), Dynamic, Provider("RegPropProv")] ComputerUsageType;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Entity"), Dynamic, Provider("RegPropProv")] Entity;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Department"), Dynamic, Provider("RegPropProv")] Department;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Exception"), Dynamic, Provider("RegPropProv")] Exception;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|Surveyor"), Dynamic, Provider("RegPropProv")] Surveyor;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|SurveyorPhone"), Dynamic, Provider("RegPropProv")] SurveyorPhone;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\CustomAltiris|SurveyDateTime"), Dynamic, Provider("RegPropProv")] SurveyDateTime;}; #pragma namespace ("\\\\.\\root\\cimv2\\SMS")#pragma deleteclass("SLHSInv", NOFAIL) [SMS_Report(TRUE), SMS_Group_Name("SLHS Inventory Form"), SMS_Class_ID("SLHSInv")]class SLHSInv : SMS_Class_Template{[SMS_Report(TRUE),KEY] stringKeyName;[SMS_Report(TRUE)]stringAssetTag;[SMS_Report(TRUE)]stringBuilding;[SMS_Report(TRUE)]stringFloor;[SMS_Report(TRUE)]stringRoom;[SMS_Report(TRUE)]stringPhoneNumber;[SMS_Report(TRUE)]stringComputerUsageType;[SMS_Report(TRUE)]stringEntity;[SMS_Report(TRUE)]stringDepartment;[SMS_Report(TRUE)]stringException;[SMS_Report(TRUE)]stringSurveyor;[SMS_Report(TRUE)]stringSurveyorPhone;[SMS_Report(TRUE)]stringSurveyDateTime;}; //(_.*`'`)ENABLED(`'`*._) // <:[-<>>>>>>>>>>>>>>>>>>>>>>>END>>-SLHS Inventory-<<END<<<<<<<<<<<<<<<<<<<<<>-]:> // <:[-<>>>>>>>>>>>>>>>>>>>>>>>>>>>>-SLHSInventory<<<<<<<<<<<<<<<<<<<<<<<<<<>-]:> //(_.*`'`)ENABLED(`'`*._)//`'`*._.*`'`*-// SLHS Inventory//Added 4/2/08 by Travis Crain //`'`*._.*`'`*- #pragma namespace("\\\\.\\root\\cimv2")#pragma deleteclass("SLHSInventory", NOFAIL) [DYNPROPS]class SLHSInventory{[key] stringKeyName="";stringAssetTag;stringBuilding;stringFloor;stringRoom;stringPhoneNumber;stringComputerUsageType;stringEntity;stringDepartment;stringException;stringSurveyor;stringSurveyorPhone;stringSurveyDateTime;}; [DYNPROPS]instance of SLHSInventory{ KeyName = "SLHSInventory";[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|AssetTag"), Dynamic, Provider("RegPropProv")] AssetTag;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Building"), Dynamic, Provider("RegPropProv")] Building;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Floor"), Dynamic, Provider("RegPropProv")] Floor;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Room"), Dynamic, Provider("RegPropProv")] Room;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|PhoneNumber"), Dynamic, Provider("RegPropProv")] PhoneNumber;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Computer_Usage_Type"), Dynamic, Provider("RegPropProv")] ComputerUsageType;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Entity"), Dynamic, Provider("RegPropProv")] Entity;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Department"), Dynamic, Provider("RegPropProv")] Department;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Exception"), Dynamic, Provider("RegPropProv")] Exception;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|Surveyor"), Dynamic, Provider("RegPropProv")] Surveyor;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|SurveyorPhone"), Dynamic, Provider("RegPropProv")] SurveyorPhone;[PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\SLHS\\SLHSInventory|SurveyDateTime"), Dynamic, Provider("RegPropProv")] SurveyDateTime;}; #pragma namespace ("\\\\.\\root\\cimv2\\SMS")#pragma deleteclass("SLHSInventory", NOFAIL) [SMS_Report(TRUE), SMS_Group_Name("SLHSInventory Form"), SMS_Class_ID("SLHSInventory")]class SLHSInventory : SMS_Class_Template{[SMS_Report(TRUE),KEY] stringKeyName;[SMS_Report(TRUE)]stringAssetTag;[SMS_Report(TRUE)]stringBuilding;[SMS_Report(TRUE)]stringFloor;[SMS_Report(TRUE)]stringRoom;[SMS_Report(TRUE)]stringPhoneNumber;[SMS_Report(TRUE)]stringComputerUsageType;[SMS_Report(TRUE)]stringEntity;[SMS_Report(TRUE)]stringDepartment;[SMS_Report(TRUE)]stringException;[SMS_Report(TRUE)]stringSurveyor;[SMS_Report(TRUE)]stringSurveyorPhone;[SMS_Report(TRUE)]stringSurveyDateTime;}; //(_.*`'`)ENABLED(`'`*._) // <:[-<>>>>>>>>>>>>>>>>>>>>>>>END>>-SLHSInventory<<END<<<<<<<<<<<<<<<<<<<<<>-]:>
April 4th, 2008 10:56pm

If the sms_def.mof was modified, the dataldr.log will be modified. You'll see references to that in the log. Then, for Configuration Manager clients, there will be a new policy downloaded, you can see it in the DataTransferService.log (with a new version). Finally, the InventoryAgent.log will reference the new attributes if it is implementing the new classes/attributes.
Free Windows Admin Tool Kit Click here and download it now
April 5th, 2008 3:19am

To resolve the issue, I had to recompile the mof using mofcomp.exe on the client. Here is an SMS article that resolved my problem: http://kbalertz.com/940182/Windows-Update-Agent-version-inventoried-after-hardware-inventory-Systems-Management-Server-Service-Service-clients.aspx Thanks
April 8th, 2008 12:42am

For Configuration Manager, the sms_def.mof is automatically updated on clients, no need to do the mofcomp process.
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2008 5:44am

I believe you Wally, yet it's not doing it. I can see the dataldr.log gets updated on the Server. No activity in DataTransferService.log on the clients, it's been a few hours. (and I client update machine policy and HW inventory action like a retard) I am thinking of also just compiling it manually and be done with it. Edit: My MP wasn't running correctly...
January 14th, 2010 11:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics