Is it possible to disable part of Hardware Inventory on some machines?<p style="margin:0cm 0cm 0pt"><span><font face=Calibri>We have a problem with sccm hardware inventory from terminal servers. The mif files are too large.</font></span></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>I already changed the parameter “Max MIF Size” from 5 MB to 100 MB (HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Components\SMS_INVENTORY_DATA_LOADER\Max MIF Size)</font></span></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>This solved the problem for a few of the terminal servers, but the largest mifs still get rejected. (67 and 72 MB)</font></span></p> <p style="margin:0cm 0cm 0pt"><font face=Calibri>I opened the mifs in WordPad and saw they consist mostly of &quot;CCM Recently Used Applications&quot;.</font></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>This explains why the mifs are larger on terminal servers. Each users opens his own processes and thus there are more processes to inventor.<br></font></span></p> <p style="margin:0cm 0cm 0pt"><font face=Calibri><br>I would like to keep Recently Used Applications in the inventory, but disable this part of the inventory on terminal servers.</font></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>I know it’s possible to change sccm policies locally with mof files. But is it also possible to change part of the hardware inventory?</font></span></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri> </font></span></p>© 2009 Microsoft Corporation. All rights reserved.Tue, 17 Mar 2009 20:26:09 Z49fc4fed-e473-458c-bc05-12a25137a94ehttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#49fc4fed-e473-458c-bc05-12a25137a94ehttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#49fc4fed-e473-458c-bc05-12a25137a94ekoenraadrenshttp://social.technet.microsoft.com/Profile/en-US/?user=koenraadrensIs it possible to disable part of Hardware Inventory on some machines?<p style="margin:0cm 0cm 0pt"><span><font face=Calibri>We have a problem with sccm hardware inventory from terminal servers. The mif files are too large.</font></span></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>I already changed the parameter “Max MIF Size” from 5 MB to 100 MB (HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Components\SMS_INVENTORY_DATA_LOADER\Max MIF Size)</font></span></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>This solved the problem for a few of the terminal servers, but the largest mifs still get rejected. (67 and 72 MB)</font></span></p> <p style="margin:0cm 0cm 0pt"><font face=Calibri>I opened the mifs in WordPad and saw they consist mostly of &quot;CCM Recently Used Applications&quot;.</font></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>This explains why the mifs are larger on terminal servers. Each users opens his own processes and thus there are more processes to inventor.<br></font></span></p> <p style="margin:0cm 0cm 0pt"><font face=Calibri><br>I would like to keep Recently Used Applications in the inventory, but disable this part of the inventory on terminal servers.</font></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri>I know it’s possible to change sccm policies locally with mof files. But is it also possible to change part of the hardware inventory?</font></span></p> <p style="margin:0cm 0cm 0pt"><span><font face=Calibri> </font></span></p>Mon, 02 Mar 2009 12:26:21 Z2009-03-02T12:26:21Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#e00cb9de-8fd5-4294-8252-d277d7e99345http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#e00cb9de-8fd5-4294-8252-d277d7e99345Sherry Kissingerhttp://social.technet.microsoft.com/Profile/en-US/?user=Sherry%20KissingerIs it possible to disable part of Hardware Inventory on some machines? No, it's not.  I see you've already listed the 2 known workarounds to alleviate your issue (the regkey max size, and changing TRUE to FALSE on ccm_recentlyusedapps).<br><br>Unfortunately, the Hardware Inventory policy is 1 policy object, and is one entry in WMI, so no, I can't think of a way to do that.<br><br>This is a long shot... but... for those term servers that get rejected....maybe a local policy override to change the Frequency of Hardware Inventory?  Just thinking as a type, but if it's, say... 72mb being reported every 24 hrs via HINV, if you change it (via local policy override) to report every 12 hrs, does that make it 36mb, &amp; under your limit?<hr class="sig">Standardize. Simplify. Automate.Mon, 02 Mar 2009 14:16:11 Z2009-03-02T14:16:11Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#2319450a-b2a0-4594-b219-06b38090265ahttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#2319450a-b2a0-4594-b219-06b38090265akoenraadrenshttp://social.technet.microsoft.com/Profile/en-US/?user=koenraadrensIs it possible to disable part of Hardware Inventory on some machines?<p>The very large mifs are related to a full hardware inventory.<br>I deleted all the instances from the CCM_RecentlyUsedApps class and took a new full hardware inventory.<br>This worked and now I hope the delta mifs will be small enough and won't end up in BADMIFS.<br><br>If they still get rejected I will try running Hardware Scan more frequently.<br>Else I will disable Software Metering on Terminal Servers.</p>Mon, 02 Mar 2009 14:51:37 Z2009-03-02T14:51:37Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#20e843c5-637d-48cd-a58e-dd02032b00dfhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#20e843c5-637d-48cd-a58e-dd02032b00dfSherry Kissingerhttp://social.technet.microsoft.com/Profile/en-US/?user=Sherry%20KissingerIs it possible to disable part of Hardware Inventory on some machines? &quot;Else I will disable Software Metering on Terminal Servers.&quot;  <br>Actually, that won't help in this instance.  SW Metering and the class CCM_RecentlyUsedApps being reported via HWInv are seperate things.  Sure, the ccm_recentlyusedapps is consumed by the ConfigMgr Server and used, but that action isn't related to SW Metering on the client being on vs. off.  You could have SW Metering off site-wide; and still have the issue with CCM_RecentlyUsedApps.  (of course, if SW Metering is off site-wide; you likely wouldn't care so much about the CCM_RecentlyUsedApps being on, and would have no problem change that to False site-wide, as well.  But I digress.)<br><br>Even though I told Garth I would steal his idea and claim it as my own... Garth Jones and I were discussing this thread today, and his thought was that (long term) if a more frequent HW Inv Scan works out, you could leveraging a DCM baseline to find Term servers that would need a more frequent hinv local policy so you could automagically target them with the local policy override (probably via an Advert), so you wouldn't have to continually monitor for term servers and fix them on a case-by-case basis.<hr class="sig">Standardize. Simplify. Automate.Tue, 03 Mar 2009 06:50:53 Z2009-03-03T06:50:53Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#0bf4a788-ffce-4af3-ab65-478b1d973347http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#0bf4a788-ffce-4af3-ab65-478b1d973347koenraadrenshttp://social.technet.microsoft.com/Profile/en-US/?user=koenraadrensIs it possible to disable part of Hardware Inventory on some machines?I maybe found a way to override part of hardware inventory.<br><br> <p style="font-size:11pt;margin:0in;font-family:Calibri">This mof file disabled the CCM_RecentlyUsedApps Class on one machine.<br></p> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:gray">#pragma namespace(&quot;\\\\.\\root\\ccm\\policy\\machine\\requestedconfig&quot;)  </font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">   </td></tr> <tr> <td>[CCM_Policy_PartialPolicy(</font><font style="color:blue">true</font><font style="font-size:11px">)]   </font></td></tr> <tr> <td style="background-color:#f7f7f7">instance of InventoryDataItem  </td></tr> <tr> <td>{  </td></tr> <tr> <td style="background-color:#f7f7f7">    DataItemID = </font><font style="color:blue">&quot;{c62b40aa-80f2-4b20-aeb0-9669b8d89fe7}&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td>    Namespace = </font><font style="color:blue">&quot;\\\\.\\root\\ccm\\SoftwareMeteringAgent&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td style="background-color:#f7f7f7">    ItemClass = </font><font style="color:blue">&quot;CCM_RecentlyUsedApps&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td> </td></tr> <tr> <td style="background-color:#f7f7f7">    PolicySource = </font><font style="color:blue">&quot;Local&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td>    PolicyID = </font><font style="color:blue">&quot;2&quot;</font><font style="font-size:11px">;   </font></td></tr> <tr> <td style="background-color:#f7f7f7">    PolicyVersion = </font><font style="color:blue">&quot;2&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td>    PolicyRuleID = </font><font style="color:blue">&quot;2&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td style="background-color:#f7f7f7">    PolicyInstanceID = </font><font style="color:blue">&quot;2&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td>      </td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:green">// override only this property, all others from the Site/Management Point </font><font style="font-size:11px"> </font></td></tr> <tr> <td>    [CCM_Policy_Override(</font><font style="color:blue">true</font><font style="font-size:11px">)]  </font></td></tr> <tr> <td style="background-color:#f7f7f7">    InventoryActionID = </font><font style="color:blue">&quot;{00000000-0000-0000-0000-842184218421}&quot;</font><font style="font-size:11px">;  </font></td></tr> <tr> <td>}; </td></tr></tbody></table></div><br>By using a non existing InventoryActionID, this won't be triggered when the Hardware Inventory is started.<br><br>DataItemID = </font><font style="color:blue">&quot;{c62b40aa-80f2-4b20-aeb0-9669b8d89fe7}&quot;</font><font style="font-size:11px">;  </font>is related to our site.<br>Our test environment has a different value.<br>I found the item with PolicySpy.exe<br><br>You can also use wbemtest<br>connect to root\ccm\Policy\Machine\RequestedConfig<br>use this query: select * from inventorydataitem where itemclass = &quot;CCM_RecentlyUsedApps&quot;<br><br>I won't implement this until I really need it.<br>For the moment our daily hardware scan works without problems.<br><br>I'm even considering to eliminate old lines from CCM_RecentlyUsedApps on all our machines.<br>Can you still call this Recently Used Apps when there are applications that haven't been used for months?<br><br>This Query seems to indicate recently used applications are deleted after 90 days on most of my machines.<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:blue">SELECT</font><font style="font-size:11px">     s.name0, r.MachineID, </font><font style="color:blue">MAX</font><font style="font-size:11px">(LastUsedTime0) </font><font style="color:blue">AS</font><font style="font-size:11px"> themax, </font><font style="color:blue">MIN</font><font style="font-size:11px">(LastUsedTime0) </font><font style="color:blue">AS</font><font style="font-size:11px"> themin, <br>            DATEDIFF(dd, </font><font style="color:blue">MIN</font><font style="font-size:11px">(LastUsedTime0), </font><font style="color:blue">MAX</font><font style="font-size:11px">(LastUsedTime0)) </font><font style="color:blue">AS</font><font style="font-size:11px"> Period  </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">FROM</font><font style="font-size:11px">         RecentlyUsedApps_DATA r  </font></td></tr> <tr> <td></font><font style="color:#808080">join</font><font style="font-size:11px"> SYSTEM_DISC s </font><font style="color:blue">on</font><font style="font-size:11px"> r.machineid = s.itemkey  </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">where</font><font style="font-size:11px"> s.name0 = </font><font style="color:red">'U23579'</font><font style="font-size:11px"> </font></td></tr> <tr> <td></font><font style="color:blue">GROUP</font><font style="font-size:11px"> </font><font style="color:blue">BY</font><font style="font-size:11px"> r.MachineID, s.name0  </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">ORDER</font><font style="font-size:11px"> </font><font style="color:blue">BY</font><font style="font-size:11px"> Period </font><font style="color:blue">DESC</font><font style="font-size:11px"> </font></td></tr></tbody></table></div>Wed, 04 Mar 2009 15:33:44 Z2009-03-04T15:33:44Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#ba15a27f-7945-4818-a82f-8c5bdb74b199http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/49fc4fed-e473-458c-bc05-12a25137a94e#ba15a27f-7945-4818-a82f-8c5bdb74b199Wallyhttp://social.technet.microsoft.com/Profile/en-US/?user=WallyIs it possible to disable part of Hardware Inventory on some machines? And for reference, the largest inventory file we'll process is 50MB, no matter if you set the Registry to 100MB :-) It is a hard coded limit in our product.<br><br>I'm marking this as answered, as you indicate you have your answer (and didn't mark it yourself).<hr class="sig">Wally MeadTue, 17 Mar 2009 20:26:00 Z2009-03-17T20:26:00Z