{"id":1043,"date":"2013-10-16T11:09:02","date_gmt":"2013-10-16T09:09:02","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=1043"},"modified":"2013-10-16T11:09:02","modified_gmt":"2013-10-16T09:09:02","slug":"sccm-2012-troubleshot-hardware-inventory-import","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=1043","title":{"rendered":"SCCM 2012 &#8211; Troubleshot Hardware Inventory import"},"content":{"rendered":"<p>Hey, here is Martin again, in this Blogpost I would like to explain, how you can resolve Problems with Hardware Inventory and BADMIF and also Delta Mismatch Errors.<\/p>\n<p>I tested around with some WMI classes, and ended up with Errors in &#8220;SMS_INVENTORY_DATA_LOADER&#8221;, all of them coming up with Message ID 2700 and text:<!--more--><\/p>\n<blockquote><p>Inventory Data Loader failed to read the delta MIF file &#8220;D:\\Program Files\\Microsoft Configuration Manager\\inboxes\\authdataldr.box\\Process\\XH1X3RT45.MIF&#8221; and will move the file to the BADMIFs directory.<\/p><\/blockquote>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot01.png?w=300\" alt=\"BadMIF 2700\" width=\"300\" height=\"232\" class=\"aligncenter size-medium wp-image-1046\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot01.png 503w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot01-300x233.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This led me to check, if there are more Information in the dataldr.log, and surprisingly, there were:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1049\" alt=\"Dataldr.log\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot02.png?w=300\" width=\"300\" height=\"85\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot02.png 998w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot02-300x86.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot02-768x220.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nMost important Information in this log is, which MIF I should check, and on which line the MIF could not be read through SCCM:<\/p>\n<blockquote><p>Compilation failed~syntax error on line 30, token &#8216;,&#8217;<br \/>\nCannot process MIF XH7T9DDUL.MIF, moving it to D:\\Program Files\\Microsoft Configuration Manager\\inboxes\\authdataldr.box\\BADMIFS\\ErrorCode_4\\ss753bg7.MIF<\/p><\/blockquote>\n<p>I&#8217;m then going to open the file ss753bg7.MIF to see, which line produced the error:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1051\" alt=\"BadMIF\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot03.png?w=300\" width=\"300\" height=\"106\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot03.png 1038w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot03-300x106.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot03-1024x362.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot03-768x272.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nSo as a said, I tested around, and this WMI Class &#8220;WmiMonitorID&#8221; was from those testings. So, Problem found, I easily remove this WMI class from the Hardware Inventory, I also deleted it:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot041.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1054\" alt=\"Remove WMI class from Hardware Inventory\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot041.png?w=300\" width=\"300\" height=\"257\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot041.png 702w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot041-300x258.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>After a Machine Policy Update, and another Hardware Inventory Cycle, the Hardware Inventory should be written again to the SCCM Database. In my case, the next Problem was coming up with the Delta Mismatch Errors. I can&#8217;t tell you, how this Problem is produced, but I found a way through TechNet Forums, to create a full Hardware inventory which solves the Problem with the Deltas. First, the Error Messages in the System Center 2012 Configuration Manager Console:<\/p>\n<blockquote><p>Inventory Data Loader failed to process the delta MIF file &#8220;XHWPE4KKD.MIF&#8221; and has moved it to &#8220;D:\\Program Files\\Microsoft Configuration \\Manager\\inboxes\\authdataldr.box\\BADMIFS\\DeltaMismatch\\kvw1avzj.MIF.&#8221;<\/p><\/blockquote>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1055\" alt=\"BadMIF 2703\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot05.png?w=300\" width=\"300\" height=\"235\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot05.png 500w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot05-300x235.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nThis message is coming over and over again. To solve this, I simply followed the Description from Torsten in a SCCM TechNet Forum (unfortunately I can&#8217;t find the link to this post anymore\u00a0:(). Open wbemtest.exe as local Administrator on the particular system, in my case, it was the Domain Controller:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1057\" alt=\"Check Delta Mismatch Computername\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot06.png?w=300\" width=\"300\" height=\"62\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot06.png 1022w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot06-300x63.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot06-768x160.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1058\" alt=\"wbemtest\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot07.png?w=186\" width=\"186\" height=\"300\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot07.png 338w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot07-186x300.png 186w\" sizes=\"auto, (max-width: 186px) 100vw, 186px\" \/><\/a><br \/>\nClick on connect, and connect to Root\\ccm\\InvAgt:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot08.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1059\" alt=\"Connect to RootccmInvAgt\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot08.png?w=300\" width=\"300\" height=\"296\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot08.png 480w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot08-300x296.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nClick on &#8220;Enum classes&#8221; and in this opening Dialog, select &#8220;Recursive&#8221; and click on OK:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot09.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1060\" alt=\"Superclass Info\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot09.png?w=300\" width=\"300\" height=\"257\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot09.png 464w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot09-300x257.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nNavigate then to the &#8220;InventoryActionStatus&#8221; and double click this entry:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1061\" alt=\"Query Result\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot10.png?w=300\" width=\"300\" height=\"196\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot10.png 494w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot10-300x197.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nYou have then opened the Object editor for InventoryActionStatus, simply click on &#8220;Instances&#8221; to view those:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1063\" alt=\"Instances\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot11.png?w=300\" width=\"300\" height=\"280\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot11.png 497w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot11-300x280.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nSelect the Instance with ID ending on 000000000000001 and click on delete, to delete this instance:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1065\" alt=\"Delete Instance\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot12.png?w=300\" width=\"300\" height=\"196\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot12.png 493w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot12-300x197.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nClose all open Dialogs from wbemtest, and go to your logfile Location of your SCCM Client and open InventoryAgent.log, and then start a Hardware Inventory Cycle or wait until the scheduled cycle is done. You should find the following entry which tells you, that a Full Inventry was created:<\/p>\n<blockquote><p>Inventory: Version number mismatch; will do a Full report.<\/p><\/blockquote>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1067\" alt=\"Hardware Inventory full report\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot13.png?w=300\" width=\"300\" height=\"172\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot13.png 947w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot13-300x173.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/10\/hardware-inventory-troubleshoot13-768x443.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Hope this helps \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, here is Martin again, in this Blogpost I would like to explain, how you can resolve Problems with Hardware Inventory and BADMIF and also Delta Mismatch Errors. I tested around with some WMI classes, and ended up with Errors in &#8220;SMS_INVENTORY_DATA_LOADER&#8221;, all of them coming up with Message ID 2700 and text:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,19],"tags":[],"class_list":["post-1043","post","type-post","status-publish","format-standard","hentry","category-client-agent","category-general"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1043"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1043\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}