SCCM 2012 - Troubleshooting on Software Inventory

I was facing some problem in the client Software inventory.

It frequently goes in timeout after 4 hours (it's not possible to change this timeout period)

I have solved with different workaround.

1. I have changed the maximum dimension of .mif file with this server/register modify:



SMS Software Inventory Processor failed to process the file D:\Program Files\Microsoft Configuration Manager\inboxes\auth\sinv.box\YIOOJ1KP.SIC because it is larger than the defined maximum allowable size of 5000000.

The precedent error was found on the server log:

drive:\Program Files\Microsoft Configuration Manager\Logs\sinvproc.log 

Solution: Increase the maximum allowable size, which is defined in the registry key HKLM\Software\Microsoft\SMS\Components\SMS_SOFTWARE_INVENTORY_PROCESSOR\Max File Size (the default is 5 MB), and wait for SMS Software Inventory Processor to retry the operation.
 
2. For Hardware inventory I solved with the precedent register modify.

the relative log on SCCM Server is:

Drive:\Program Files\Microsoft Configuration Manager\Logs\dataldr.log

3. From this article I disabled ThrottleTask because in the log:

C:\WINDOWS\CCM\Logs\FileSystemFile.log

CThrottler::Throttle()[{58E2FE09-07BB-4ADB-8A93-E49C5BF2301F}] - soft timeout exceeded. Throttling is now disabled for the current iteration of this task.

It goes in timeout


I added in

Drive:\Program Files\Microsoft Configuration Manager\inboxes\clifiles.src\hinv\configuration.mof

#pragma namespace ("\\\\.\\root\\ccm\\policy\\machine\\requestedconfig")
 [CCM_Policy_PartialPolicy(true)]
 instance of CCM_Service_ResourceProfileConfiguration
 {
  DummyKey = 1;
  PolicySource = "Local";
  PolicyID = 1;
  PolicyVersion = 1;
  PolicyRuleID = 1;
  PolicyInstanceID = 1;

  [CCM_Policy_Override(true)]
  ThrottleTasks = FALSE;
 };


Anyway I suggest this other interesting articles:

http://social.technet.microsoft.com/Forums/en-US/1fe22747-2b1f-45df-a8d3-8370d5ed104f/is-software-inventory-slower-in-2012 

http://hayesjupe.wordpress.com/sccm-inventory-troubleshooting/