Client machines not sending hardware inventory SCCM 2012

In case if you come across with the issue where the ConfigMgr 2012 SP1 is not gathering the Hardware and software Inventory, following is one incident which I faced. So finally I realized it is due to IIS permission issue.

Steps Taken

1. Checked inventoryagent.log on the client machine, HW inventory report was send successfully.

inventoryagent.log

===================

Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {98F2CB8E-E9BD-4071-AF5F-C3774C14C34C}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted  InventoryAgent               7/11/2013 8:09:08 PM               1920 (0x0780)

               Ccmmessaging.log

               ================

               Raising event:

instance of CCM_CcmHttp_Status

{

               ClientID = "GUID:B2D31045-887D-4429-B83F-8E3C5B6B1622";

               DateTime = "20130711144331.202000+000";

               HostName = "SCCMSRV-01.SLCLOUD.LOCAL";

               HRESULT = "0x00000000";

               ProcessID = 3104;

               StatusCode = 0;

               ThreadID = 4876;

};

               CcmMessaging 7/11/2013 8:13:31 PM               4876 (0x130C)

2. Checked MP_Hinv.log on the management point, but MP didn`t receive any file for processing.

3. Intermittent component between client and MP is IIS, so I checked the IIS logs and found below error for the BITS upload when the client is uploading the files.

IIS log

=========       

2013-07-11 14:51:02 10.227.19.22 BITS_POST /CCM_Incoming/{D71CC427-4432-48F4-8F14-A94F160A0E66} (bits_error:{E6B14EEC-D492-4399-8B89-2466C196B7A4},403,0×80070005) 80 – 10.227.18.50 Microsoft+BITS/7.5 – 403 0 0 1

4. Error code: 0x80070005 means Access is denied.

5. So I checked the permission for CCM_incoming virtual directory and its folder -> C:\Program Files\Microsoft Configuration Manager\CCM\Incoming. IUSR didn`t have permission in Incoming folder. So what I did is assinged read \ write permission for the IUSR account and this resolved the issue.

Note-By default IUSR user will have Special Permission as showing in the below screen.

(In my case what I suspect is mistakenly someone has deleted this IUSR user account from the CCM incoming Virtual Directory.) Smile with tongue out

clip_image002

So the HW inventory data in the server is not in sync with the delta reports which client is sending, hence the server will issue an inventory resync request to the client. Normally resync will be done within the time cycle you configured in the agent. So just be patient and see the agent are pumping the data back to CM db.

Thanks

Smile

Advertisements

How to resolve the SQL error “cannot connect to WMI provider”

When you try to open SQL Configuration Manager Option and if you get an error like

“cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager.”
Invalid class [0x8004100] then what will be cause? And what is the resolution?

 

image

Cause.
This problem occurs because the WMI provider is removed when you uninstall an instance of SQL Server. The 32-bit instance and the 64-bit instance of SQL Server share the same WMI configuration file. This file is located in the %programfiles(x86)% folder.

It seems the sqlmgmproviderxpsp2up.mof was damaged during the issues with the SAN.

So what is the Solution for this?

In my case I am using SQL 2012 SP1. So where can I find the sqlmgmproviderxpsp2up.mof file?

The location as follows :

C:\Program Files <x86>\Microsoft SQL Server\110\Shared folder.

 

image

The work around for this problem, you have to open a command prompt, type the following command, and then press ENTER:

mofcomp sqlmgmproviderxpsp2up.mof

image

Note For this command to succeed, the Sqlmgmproviderxpsp2up.mof file must be present in the %programfiles(x86)%\Microsoft SQL Server\number\Shared folder.
The value of number depends on the version of SQL Server:nnn

Microsoft SQL Server 2012

110

Microsoft SQL Server 2008 R2

100

Microsoft SQL Server 2008

100

Microsoft SQL Server 2005

90

After you run the Mofcomp tool, make sure to restart the WMI service for the changes to take effect.

Once this is done you will be able to open the SQL Configuration Manager Console.

Thanks

Smile