SCCM 2012: Hardware Inventory errors on VDI Environment

Standard

Last couple of weeks I investigated an issue with hardware inventory errors on a Stateless pooled VDI environment. After deploying the Master to a number of desktops everything looks OK in the SCCM console. No conflicting records and all the desktops shows an active client. But after some time we noticed that the BADMIFS folder was growing. Looking into the dataldr.log log file we saw the following warnings:

WARNING – Outdated report will be discarded. (sp return code = 8)

No further errors were reported. But the Hardware inventory wasn’t processed en therefore no Hardware Inventory for clients. When I forced a full inventory of those desktops they were all processed without any error.
So maybe there was something wrong in the process of creating the Master machine and doing the ConfigMgr actions necessary for imaging. But we did all the tasks:

– Stop CCMExec Service
– Delete C:\Windows\SMSCFG.INI
– Run CCMDelCert.exe

So the above steps didn’t prevent the hardware inventory problems. I came to the idea of forcing the desktops to always do a full scan when they are started. So I had to delete the Hardware inventory history and schedule information. I did this by running the following commands on the Master Image before the deploying process to the desktops:

– wmic /namespace:\\root\ccm\invagt path inventoryActionStatus where InventoryActionID=”{00000000-0000-0000-0000-000000000001}” DELETE /NOINTERACTIVE

– wmic /namespace:\\root\ccm\scheduler path CCM_Scheduler_History where ScheduleID=”{00000000-0000-0000-0000-000000000001}” DELETE /NOINTERACTIVE

After applying the above commands and deploying the image to the desktops the warning was gone and the hardware inventory was working again. The only disadvantage of this solution is that the desktops always do a full hardware inventory on boot.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.