Sccm Software Inventory Not Running

No Software Inventory on Machines where SCCM Mgmt Point is installed Hi, we are running now the production release and i was wondering (same in the Eval Version) why on some DELL Servers the software inventory is not possible. This Blog post brings up some basics about Configmgr Client Actions, what they are and what each action does. After you have installed the Configuration manager Client on computers, Client will get install (refer log ccmsetup.log for more information ) with exit code 0 and It takes little while,to register the client in Configuration manager Database, assigned to Site, load policies etc. SCCM - Script to Run FULL Software and Hardware Inventory. Say for example Symantec Ghost drops and executable that is dated 1601 that causes half of your enterprise to not report software inventory (more on that to come), the easiest resolution is to drop skpswi.dat into the folder and re-run a full scan. System Center Configuration. How To Manually Force Full Hardware Inventory on SCCM Clients by using Right Click Tools. This tool makes it especially easy for users to do it all with one easy click. Be sure to check the InventoryAgent.log for success messages.

Posted by2 months ago

Mar 13, 2017  Right click tools supports running hardware inventory cycle on a device collection or individual computer. Right click collection Now micro right click tools Client Actions on collection Hardware Inventory Cycle. This will bring up the hardware inventory cycle window. Click Yes to perform a full hardware inventory cycle.

I make this post after many hours of scouring the Google. In my searching 90% of the posts and resolutions ended at updating the MIF file to 50MB.. I did not see one contiguous post that went past updating the MIF. The solution (for me) from diving into the scattered logs of SCCM and IIS and a client.


In efforts of having as many solutions in one place. the Max MIF file size is located in the registry:

Sccm 2012 r2 software inventory not working

HKLK:SoftwareMicrosoftSMSComponentsSMS_Inventory_Data_Loader


DWORD Max MIF Size: <Maximum value is 50000000>


Issue: Hardware inventory Scan Date - Not current event after running the client actions

You may say, I HAVE ALREADY UPDATED THE MIF MAX FILE SIZE!! What next?!?!

Step 1: Review the Client side log C:WindowsCCMLogsCcmMessaging.log (this is the one and only time ill mention the full path of a client log)


CcmMessaging.log loops

Several of these events

Raising event:
instance of CCM_CcmHttp_Status
{
ClientID = 'GUID:a9a762bb-7f34-4faf-a2a6-68ffcf5fa69e';
DateTime = '20190723191405.875000+000';
HostName = 'server.domain.com';
HRESULT = '0x00000000';
ProcessID = 5804;
StatusCode = 0;
ThreadID = 15940;
};

Followed by this event

Supplied sender token is null. Using GetUserTokenFromSid to find sender's token.


Well this lead me down the BITS path. The BITS path actually started at a server log but in order to stay focused on the client first ill continue there.


Running the powershell command (as admin)

Get-BitsTransfer -allusers


you may see a few entries. one probably google. So now you get further information on the bits message


Get-BitsTransfer -Jobid {GUID} select -property *


then something like below pops up. with a server name (crossed off in orange) and trailing path. CCM_Incoming is tied to IIS.



Not much more we can do on the client side at this point. But notice the Access denied portion.

Rfactor 1 download game.

Now we go server side.


Some logs I found helpful on the server side were the following:


<installDIR>SMS_CCMLogsMP.Hinv.log - in here you will probably see some errors about delta changes and that the MIF file got sent to a BADMIFs folder.


<installDIR>MS Config MgrCCMIncomingBITS-Sessions - These folders will most likely be empty


<installDIR>MS Config MgrLogsdataldr.log - more specific errors about MIF files


NOW HERES THE KICKER!


c:inetpublogslogfilesW3SVC1 - IF YOUR CASE IS ANY LIKE MINE YOU'LL SEE LOG FILES between 100 and 250 MB EACH!! OF PURE TEXT!!! WHAT?! Open one of those suckers up, do not use CMTRACE it will crash.. I found notepad++ works well or you can use powershell to open a small portion.


launch PS as admin from the explorer window navigated to the folder above.


get-content latestlog.log select -last 100 out-gridview still takes a bit to open but significantly less time.

The log was loaded with these errors:



BITS errors..


So I open up IIS and go to Sites --> Default --CCM_Incoming and at the bottom you'll see BITS Uploads. I clicked on that got this error:


BITS server was unable to read from the IIS Meta-base as it is corrupt. The settings for this virtual directory have been reset to the BITS defaults. Parameter count mismatch.


Adobe photoshop cs6 tutorials free download. Now i never like to see the word corrupt. After hitting OK, IIS Crashed..


Now researching this back when i saw the access denied errors the suggestion to modify the IUSR permissions to the following folder was suggested:

<installDIR>MS Config MgrCCMIncoming (Keep this in the back of your mind)


BEAR WITH ME ALMOST DONE!


Well, i had to REMOVE the BITS feature from Server manager Remove Feature. (in case someone doesnt know BITS is Background Intelligent Transfer Services)

After removing, restart your server, then Re-Install BITS.

I do another restart

After all of that, go back into IIS --> Sites --> Default --CCM_Incoming BITS Uploads and WOOT it should open no problem. I selected Allow Clients to Upload Files --- selected default


IT SHOULD WORK NOW!!!!! Wrong.. Now before you cry, the last step that i had to take was to go back to the IUSR account and modify the permissions of the Incoming folder to full control. Everything worked then.


I hope this helps someone out! Sorry for the long post

2 comments
Hi,
I have a problem in SCCM where a lot of my machines aren't being added to the appropriate collection which is based on machine model. After scratching around I realized that the machines that aren't being added don't have any hardware (or software) information in Resource Explorer (therefore [I assume] as far as SCCM is concerned, they don't have a model number hence they don't land in the collection I want them to).
The 'Hardware Inventory Client Agent' is enabled and set to run once a day. Even manually running a 'Hardware Inventory Cycle' from the agent doesn't do the job (even after waiting 24 hours in case SCCM takes time for the information to register).

Sccm Software Inventory Cycle

It seems that all machines I reimage have empty hardware/software info too (based on the new record of the client, not the obsolete as they are automatically deleted overnight).

Sccm 2016 Software Inventory Not Working


Any ideas what could cause this?
I have attached the log of one of the affected clients after doing a manual 'Hardware Inventory Cycle' and also the Hardware Inventory log from the server ('MP_Hinv.log' the host name of the client I have been running the manual hardware scans on is Adam-Laptop)

Software Inventory Template

Cheers

Create Software Inventory Report Sccm

InventoryAgent.log

Sccm Software Inventory Not Working

MP-Hinv.log