Software inventory not finding anything ...

I'm trying to get software inventory to work, but I'm having some problems. I have tried various threads and blogs and stuff .. but I am kind of stuck.

We're running SCCM 2012 SP1.

I've set the client to collect as shown here:

 

When I check the clients activity, I see when a hardware scan was made and so on, but Software scan is just blank. If I on the client try to run Software Inventory Cycle, nothi ng seems to happen. The inventoryagent log does not show any error.

Does anyone have any clue what's next to check ?


  • Edited by Fridberg Tuesday, June 18, 2013 9:39 AM
June 18th, 2013 9:37am

Do you really need software inventory? Or is add/remove programs (collected by hardware inventory) enough?
Initiate software inventory on the client and watch inventoryagent.log.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2013 10:01am

I actually need it, because we are planning to use CSI by Secunia, and it actually need to collect exe files (and not just use the WMI)

I have tried initiating software inventory . .this is what inventoryagent gets:

<![LOG[Inventory: *********************** Start of message processing. ***********************]LOG]!><time="11:26:27.821-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="agentendpoint.cpp:322">
<![LOG[Inventory: Message type is InventoryAction]LOG]!><time="11:26:27.821-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="agentendpoint.cpp:323">
<![LOG[Inventory: Temp directory = C:\Windows\CCM\Inventory\Temp\]LOG]!><time="11:26:27.821-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="agentstate.cpp:2727">
<![LOG[Inventory: Clearing old collected files.]LOG]!><time="11:26:27.821-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="agentstate.cpp:1812">
<![LOG[Inventory: Opening store for action {00000000-0000-0000-0000-000000000002} ...]LOG]!><time="11:26:27.832-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="datastore.cpp:176">
<![LOG[Inventory: Action=Software, ReportType=Delta, MajorVersion=2, MinorVersion=2]LOG]!><time="11:31:59.103-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="agentstate.cpp:1681">
<![LOG[Inventory: Initialization completed in 331.268 seconds]LOG]!><time="11:31:59.104-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="117324" file="agentstate.cpp:526">


  • Edited by Fridberg Tuesday, June 18, 2013 10:40 AM
June 18th, 2013 10:22am

00000000-0000-0000-0000-000000000002 is software inventory. Does the logfile really end at that point? Have you waited long enough? It does not indicate that the client agent started the scan.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2013 11:32am

about 40 min later this was added to the log:

<![LOG[Collection: Input context, scan rate in milliseconds = 2]LOG]!><time="12:10:59.195-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="116516" file="filesystemcollectiontask.cpp:588">
<![LOG[Collection: Input context, skip file name = skpswi.dat]LOG]!><time="12:10:59.195-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="116516" file="filesystemcollectiontask.cpp:593">
<![LOG[Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = '*.exe|*.ocx|*.dll' AND Path = '*\\*' AND IsCompressed = FALSE AND IsEncrypted = FALSE; Timeout = 14400 secs.]LOG]!><time="12:10:59.195-60" date="06-18-2013" component="InventoryAgent" context="" type="1" thread="116516" file="filesystemcollectiontask.cpp:479">

June 18th, 2013 12:24pm

That means that it is still not finished, it is just querying the next set of things. BTW it will time out after 4hours if it has not completed, by then.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2013 2:16pm

True. This is the complete log from this action:

Inventory: *********************** Start of message processing. *********************** InventoryAgent 18-06-2013 11:26:27 117324 (0x1CA4C)
Inventory: Message type is InventoryAction InventoryAgent 18-06-2013 11:26:27 117324 (0x1CA4C)
Inventory: Temp directory = C:\Windows\CCM\Inventory\Temp\ InventoryAgent 18-06-2013 11:26:27 117324 (0x1CA4C)
Inventory: Clearing old collected files. InventoryAgent 18-06-2013 11:26:27 117324 (0x1CA4C)
Inventory: Opening store for action {00000000-0000-0000-0000-000000000002} ... InventoryAgent 18-06-2013 11:26:27 117324 (0x1CA4C)
Inventory: Action=Software, ReportType=Delta, MajorVersion=2, MinorVersion=2 InventoryAgent 18-06-2013 11:31:59 117324 (0x1CA4C)
Inventory: Initialization completed in 331.268 seconds InventoryAgent 18-06-2013 11:31:59 117324 (0x1CA4C)
Collection: Input context, scan rate in milliseconds = 2 InventoryAgent 18-06-2013 12:10:59 116516 (0x1C724)
Collection: Input context, skip file name = skpswi.dat InventoryAgent 18-06-2013 12:10:59 116516 (0x1C724)
Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = '*.exe|*.ocx|*.dll' AND Path = '*\\*' AND IsCompressed = FALSE AND IsEncrypted = FALSE; Timeout = 14400 secs. InventoryAgent 18-06-2013 12:10:59 116516 (0x1C724)
Inventory: Collection Task completed in 11986.555 seconds InventoryAgent 18-06-2013 14:51:45 116828 (0x1C85C)
Inventory: Temp report = C:\Windows\CCM\Inventory\Temp\216fb0bb-2ef7-4fc6-ae67-d098d67ae7ab.xml InventoryAgent 18-06-2013 14:51:45 116828 (0x1C85C)
Collection: 1/1 inventory data items successfully inventoried. InventoryAgent 18-06-2013 14:51:45 116828 (0x1C85C)
Inventory: Starting reporting task. InventoryAgent 18-06-2013 14:51:45 27480 (0x6B58)
Reporting: 7 report entries created. InventoryAgent 18-06-2013 14:52:06 27480 (0x6B58)
Inventory: Reporting Task completed in 20.701 seconds InventoryAgent 18-06-2013 14:52:06 27480 (0x6B58)
Inventory: Successfully sent report. Destination:mp:MP_SinvEndpoint, ID: {CEA5E5E0-A584-4A85-8BFD-21760D2F9898}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted InventoryAgent 18-06-2013 14:52:06 27480 (0x6B58)
Inventory: Cycle completed in 12799.991 seconds InventoryAgent 18-06-2013 14:59:47 27480 (0x6B58)
Inventory: Action completed. InventoryAgent 18-06-2013 14:59:47 27480 (0x6B58)
Inventory: ************************ End of message processing. ************************ InventoryAgent 18-06-2013 14:59:47 27480 (0x6B58)
Inventory: *********************** Start of message processing. *********************** InventoryAgent 18-06-2013 14:59:47 116828 (0x1C85C)
Inventory: Message type is InventoryAction InventoryAgent 18-06-2013 14:59:47 116828 (0x1C85C)
Inventory: Temp directory = C:\Windows\CCM\Inventory\Temp\ InventoryAgent 18-06-2013 14:59:47 116828 (0x1C85C)
Inventory: Clearing old collected files. InventoryAgent 18-06-2013 14:59:47 116828 (0x1C85C)
Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ... InventoryAgent 18-06-2013 14:59:47 116828 (0x1C85C)
Inventory: Action=Hardware, ReportType=Delta, MajorVersion=1, MinorVersion=6 InventoryAgent 18-06-2013 15:00:05 116828 (0x1C85C)
Inventory: Initialization completed in 17.878 seconds InventoryAgent 18-06-2013 15:00:05 116828 (0x1C85C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, ApplicationID, Description, EvaluationEndDate, GracePeriodRemaining, ID, LicenseStatus, MachineURL, Name, OfflineInstallationId, PartialProductKey, ProcessorURL, ProductKeyID, ProductKeyURL, UseLicenseURL FROM SoftwareLicensingProduct; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:05 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, ClientMachineID, IsKeyManagementServiceMachine, KeyManagementServiceCurrentCount, KeyManagementServiceMachine, KeyManagementServiceProductKeyID, PolicyCacheRefreshRequired, RequiredClientCount, Version, VLActivationInterval, VLRenewalInterval FROM SoftwareLicensingService; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:06 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, ConfigManagerErrorCode, DeviceID, ErrorDescription, LastErrorCode, Name, PNPDeviceID FROM Win32_PnpEntity; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:06 21560 (0x5438)
Collection: Namespace = \\.\root\ccm\ClientSDK; Query = SELECT __CLASS, __PATH, __RELPATH, AdminAllowOptout, EffectiveClientOptOut, IsClientOptOut FROM CCM_PowerManagementClientOptoutSetting; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Description, DeviceID, PrimaryBusType, RevisionNumber, SecondaryBusType, Status, StatusInfo, SystemName FROM Win32_MotherboardDevice; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Name FROM Win32_USBController; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName, SystemName FROM Win32_USBDevice; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, HealthStatus, OfflineAccessEnabled, Redirected FROM SMS_FolderRedirectionHealth; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupURL, name, napEnabled, napProtocolVersion, systemIsolationState FROM NAP_Client; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, SecurityLogStartDate, TopConsoleUser, TotalConsoleTime, TotalConsoleUsers, TotalSecurityLogTime FROM SMS_SystemConsoleUsage; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:07 21560 (0x5438)
Collection: Namespace = \\localhost\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DisplayName, InstallDate, ProdID, Publisher, Version FROM Win32Reg_AddRemovePrograms; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:08 21560 (0x5438)
Collection: Namespace = root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, ApplicationName, Architecture, ConfigMgrManaged, DependencyApplicationNames, FamilyName, FullName, InstalledLocation, IsFramework, Publisher, PublisherId, Version FROM SMS_Windows8Application; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:08 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, AnswerMode, DeviceID, DeviceType, Index, MaxBaudRateToPhone, MaxBaudRateToSerialPort, Model, Name, Properties, Status, StringFormat, SystemName, VoiceSwitchFeature FROM Win32_POTSModem; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:09 21560 (0x5438)
Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, minutesComputerActive, minutesComputerOn, minutesComputerShutdown, minutesComputerSleep, minutesMonitorOn, minutesTotal, MonthStart FROM CCM_PwrMgmtMonth; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:09 21560 (0x5438)
Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, Requester, RequesterInfo, RequesterType, RequestType, Time, UnknownRequester FROM CCM_PwrMgmtLastSuspendError; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:09 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, CompatibleIDs, DeviceID, HardwareIDs, IsPnP, Name FROM CCM_SystemDevices; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:09 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Capabilities, DeviceID, Name, Status FROM Win32_ParallelPort; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Caption, Description, DeviceID, Index, InterfaceType, Manufacturer, MediaType, Model, Name, Partitions, PNPDeviceID, SCSIBus, SCSILogicalUnit, SCSIPort, SCSITargetId, Size, SystemName FROM Win32_DiskDrive; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, HealthStatus, LocalPath, RoamingConfigured, RoamingPath, RoamingPreference, Special, Status FROM Win32_UserProfile; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, BankLabel, Capacity, Caption, CreationClassName, DataWidth, Description, DeviceLocator, FormFactor, HotSwappable, InstallDate, InterleaveDataDepth, InterleavePosition, Manufacturer, MemoryType, Model, Name, OtherIdentifyingInfo, PartNumber, PositionInRow, PoweredOn, Removable, Replaceable, SerialNumber, SKU, Speed, Status, Tag, TotalWidth, TypeDetail, Version FROM Win32_PhysicalMemory; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, CertificateSelectionCriteria, CertificateStore, ClientAlwaysOnInternet, HttpsStateFlags, InstanceKey, InternetMPHostName, SelectFirstCertificate FROM Win32Reg_SMSAdvancedClientSSLConfiguration; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\CCM\policy\machine\actualconfig; Query = SELECT __CLASS, __PATH, __RELPATH, NonPeakPowerPlanName, PeakPowerPlanName, PowerConfigID, WakeUpTimeHoursMin FROM CCM_PowerConfig; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, InstallDate, Manufacturer, Name, PNPDeviceID, ProductName, Status FROM Win32_SoundDevice; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, AvailableLicenses, Description, IssuedLicenses, KeyPackId, KeyPackType, ProductType, ProductVersion, TotalLicenses FROM Win32_TSLicenseKeyPack; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Class "Win32_TSLicenseKeyPack" does not exist. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, ID, Name, ParentID FROM Win32_ServerFeature; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Class "Win32_ServerFeature" does not exist. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = root\ccm; Query = SELECT __CLASS, __PATH, __RELPATH, DisplayName, Name, Version FROM CCM_InstalledComponent; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, ChassisTypes, Manufacturer, Model, SerialNumber, SMBIOSAssetTag, Tag FROM Win32_SystemEnclosure; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\localhost\root\Microsoft\appvirt\client; Query = SELECT __CLASS, __PATH, __RELPATH, LastLaunchOnSystem, Name, PackageGUID, Version FROM Application; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Failed to get IWbemService Ptr for \\localhost\root\Microsoft\appvirt\client Namespace: 8004100E InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Failed to enumerate instances of Application: 8004100E InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\localhost\root\vm\VirtualServer; Query = SELECT __CLASS, __PATH, __RELPATH, Name FROM VirtualMachine; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Failed to get IWbemService Ptr for \\localhost\root\vm\VirtualServer Namespace: 8004100E InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Failed to enumerate instances of VirtualMachine: 8004100E InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Compressed, Description, DeviceID, DriveType, FileSystem, Name, Size, SystemName, VolumeName, VolumeSerialNumber FROM SMS_LogicalDisk; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, CLSID, Description, FileName, FilePropertiesHash, FilePropertiesHashEx, FileVersion, Product, ProductVersion, Publisher, Version FROM SMS_BrowserHelperObject; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, CurrentTimeZone, Description, Domain, DomainRole, Manufacturer, Model, Name, NumberOfProcessors, Roles, Status, SystemType, UserName FROM Win32_ComputerSystem; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, DisplayVersion, EntitlementRequired, ProductName, SoftwareCreator, SoftwareCreatorRegid, SoftwareLicensor, SoftwareLicensorRegid, TagCreator, TagCreatorRegid, UniqueID, VersionMajor, VersionMinor FROM SMS_SoftwareTag; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:10 21560 (0x5438)
Collection: Namespace = \\localhost\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DisplayName, InstallDate, ProdID, Publisher, Version FROM Win32Reg_AddRemovePrograms64; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:11 21560 (0x5438)
Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, ApmPresent, BatteriesAreShortTerm, FullWake, LidPresent, MinDeviceWakeState, PreferredPMProfile, ProcessorThrottle, RtcWake, SystemBatteriesPresent, SystemS1, SystemS2, SystemS3, SystemS4, SystemS5, UpsPresent, VideoDimPresent FROM CCM_PwrMgmtSystemPowerCapabilities; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:11 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, AdapterType, Description, DeviceID, MACAddress, Manufacturer, Name, ProductName, ServiceName, Status FROM Win32_NetworkAdapter; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:11 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, LastConsoleUse, NumberOfConsoleLogons, SystemConsoleUser, TotalUserConsoleMinutes FROM SMS_SystemConsoleUser; Timeout = 600 secs. InventoryAgent 18-06-2013 15:00:11 21560 (0x5438)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, FileName, FilePropertiesHash, FilePropertiesHashEx, FileVersion, Location, Product, ProductVersion, Publisher, StartupType, StartupValue FROM SMS_AutoStartSoftware; Timeout

June 18th, 2013 2:54pm

this is the section where it's actually querying, and then done querying, for the files you asked for:

Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = '*.exe|*.ocx|*.dll' AND Path = '*\\*' AND IsCompressed = FALSE AND IsEncrypted = FALSE; Timeout = 14400 secs. InventoryAgent 18-06-2013 12:10:59 116516 (0x1C724)
Inventory: Collection Task completed in 11986.555 seconds InventoryAgent 18-06-2013 14:51:45 116828 (0x1C85C)

So it took (on this specific box) from 12:10 to 14:51 to do the bulk of the work.  So, for that particular computer, if you look at resource explorer software files you say you still don't see any results?

Free Windows Admin Tool Kit Click here and download it now
June 18th, 2013 4:17pm

Fridberg,

 

As a Secunia CSI user and a ConfigMgr professional, I highly recommend deploying the CSI Agent instead of just using Software Inventory.

 

The CSI Agent is much more lightweight and easier on the workstations than inventorying every .exe, .dll, and .ocx file.  On workstations with slow or very full hard drives, the software inventory task will often time out unless you increase the max allowed run time significantly.  You can also run into the inventory report being large than the maximum accepted by the server.

 

Using the CSI Agent instead of software inventory is also much easier on the ConfigMgr server and database (and backups!).  

 

It is really easy to deploy the CSI agent with Software Update Management.  You can also deploy it as a traditional ConfigMgr application.

 

I hope that helps,

 

Nash

June 18th, 2013 4:54pm

Yes, when I start resource explorer for this PC, under Software, I get the message "There are no items to show in this view"... (if I choose collected files, file details, last software scan or product details" 
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2013 7:16am

Examine sinvproc.log on the site server to get an idea if the files are being processed.
June 19th, 2013 7:41am

I have now checked that file, and actually found out that there are a few (very few) machines that go through successfully. If I check resource explorer, I can see files... but collected files still shows "there are no items to show in this view".

In the log I see this error very often:

WARNING - Attempt to process a delta inventory file before a full inventory file has been processed for this client (sp return code = 11)

ERROR - SQL Error 11 in exec dbo.sp_SoftwareInventoryStatus 1, 0, 16777919,7,N'06/18/2013 18:51:30',4294967297,0

I also got this warning often:

WARNING - File size of 6833288 byte has exceeded the limit of 5000000 byte.

WARNING: Report size for machine SND-WS004 has exceeded the limit.

Free Windows Admin Tool Kit Click here and download it now
June 19th, 2013 10:46am

"Collected files" will only contain information if you enabled "Collect files". This has nothing to do with software inventory. You don't want to enable that as it *copies* the files from the client to the site server.

The max MIF file size can be adjusted here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Components\SMS_SOFTWARE_INVENTORY_PROCESSOR (Max File Size)
June 19th, 2013 11:14am

Does anyone have a solution for this yet? I see the same errors in sinvproc.log:

WARNING - Attempt to process a delta inventory file before a full inventory file has been processed for this client (sp return code = 11)

SMS_SOFTWARE_INVENTORY_PROCESSOR 8/16/2013 11:10:25 AM 5504 (0x1580)
ERROR - SQL Error 11 in exec dbo.sp_SoftwareInventoryStatus 1, 0, 16778882,7,N'08/16/2013 11:09:29',85899345921,0 SMS_SOFTWARE_INVENTORY_PROCESSOR 8/16/2013 11:10:25 AM 5504 (0x1580)

When I look at the table for LastSoftwareScan, I don't see the ResourceID of the machine that I'm using as an example. The record simply does not exist. I try to force a full software inventory but it doesn't seem to work and even if it did, it's entirely impractical to do all of the machines that this is occuring with by hand.

Free Windows Admin Tool Kit Click here and download it now
August 16th, 2013 4:16pm

On 1 PC only, force a Full SW inventory and follow this troubleshooting guide. Where does the inventory stop?

http://be.enhansoft.com/post/2013/07/25/Troubleshooting-Inventory-Flow.aspx

August 18th, 2013 8:58pm

It just says it's already in queue and never does anything.

Inventory: Message [Type=InventoryAction, ActionID={00000000-0000-0000-0000-000000000002}, Report=Delta] already in queue. Message ignored. InventoryAgent 8/20/2013 8:45:55 AM 5640 (0x1608)

It never reaches the MP. You never seen the machine name in the MP_sinv.log

The IIS log is misleading because the hardware inventory comes through just fine, so you see the record of an upload, but it's for hinv.

This is what I'm seeing now:

Inventory: *********************** Start of message processing. *********************** InventoryAgent 8/20/2013 9:16:24 AM 5176 (0x1438)
Inventory: Message type is InventoryAction InventoryAgent 8/20/2013 9:16:24 AM 5176 (0x1438)
Inventory: Temp directory = C:\Windows\CCM\Inventory\Temp\ InventoryAgent 8/20/2013 9:16:24 AM 5176 (0x1438)
Inventory: Clearing old collected files. InventoryAgent 8/20/2013 9:16:24 AM 5176 (0x1438)
Inventory: Opening store for action {00000000-0000-0000-0000-000000000002} ... InventoryAgent 8/20/2013 9:16:24 AM 5176 (0x1438)
CInvState::VerifyInventoryVersionNumber: Mismatch found for '{00000000-0000-0000-0000-000000000002}': 1.1 vs. 0.0 InventoryAgent 8/20/2013 9:22:02 AM 5176 (0x1438)
Inventory: Version number mismatch; will do a Full report. InventoryAgent 8/20/2013 9:22:02 AM 5176 (0x1438)
Inventory: Action=Software, ReportType=ReSync, MajorVersion=2, MinorVersion=0 InventoryAgent 8/20/2013 9:22:03 AM 5176 (0x1438)
Inventory: Initialization completed in 338.288 seconds InventoryAgent 8/20/2013 9:22:03 AM 5176 (0x1438)
Collection: Input context, scan rate in milliseconds = 2 InventoryAgent 8/20/2013 9:22:03 AM 6108 (0x17DC)
Collection: Input context, skip file name = skpswi.dat InventoryAgent 8/20/2013 9:22:03 AM 6108 (0x17DC)
Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = 'lpt$vpn.*' AND Path = '*\\*' AND SkipWindirFolders = TRUE; Timeout = 14400 secs. InventoryAgent 8/20/2013 9:22:03 AM 6108 (0x17DC)
Collection: Input context, scan rate in milliseconds = 2 InventoryAgent 8/20/2013 9:26:14 AM 5176 (0x1438)
Collection: Input context, skip file name = skpswi.dat InventoryAgent 8/20/2013 9:26:14 AM 5176 (0x1438)
Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = 'deal2003.mdb|*.xla|*.xll' AND Path = '*\\*' AND SkipWindirFolders = TRUE AND IsCompressed = FALSE AND IsEncrypted = FALSE; Timeout = 14400 secs. InventoryAgent 8/20/2013 9:26:14 AM 5176 (0x1438)
Inventory: Message [Type=InventoryAction, ActionID={00000000-0000-0000-0000-000000000002}, Report=Delta] already in queue. Message ignored. InventoryAgent 8/20/2013 11:00:59 AM 3120 (0x0C30)
Inventory: Message [Type=InventoryAction, ActionID={00000000-0000-0000-0000-000000000001}, Report=Delta] already in queue. Message ignored. InventoryAgent 8/20/2013 11:01:21 AM 4912 (0x1330)
Collection: Input context, scan rate in milliseconds = 2 InventoryAgent 8/20/2013 11:34:09 AM 488 (0x01E8)
Collection: Input context, skip file name = skpswi.dat InventoryAgent 8/20/2013 11:34:09 AM 488 (0x01E8)
Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = '*.exe|*.dll' AND Path = '*\\*' AND IsCompressed = FALSE AND IsEncrypted = FALSE; Timeout = 14400 secs. InventoryAgent 8/20/2013 11:34:09 AM 488 (0x01E8)

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2013 6:25pm

Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT Name, Path, LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ProductLanguage, FileVersion, FileDescription FROM FileSystemFile WHERE Name = '*.exe|*.dll' AND Path = '*\\*' AND IsCompressed = FALSE AND IsEncrypted = FALSE; Timeout = 14400 secs. InventoryAgent 8/20/2013 11:34:09 AM 488 (0x01E8)


SINV seems still to be running if the logfiles really ends at that point.
August 20th, 2013 7:50pm

Finally saw the record come through MP_Sinv

Here's from dataldr.lo_ from earlier in the day:

Moving MIF file C:\SCCM\inboxes\auth\dataldr.box\HDSGIS5B.MIF to C:\SCCM\inboxes\auth\dataldr.box\process\HDSGIS5B.MIF SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:37 AM 8156 (0x1FDC)
Started the machine MIF processing thread, thread ID = F10 SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:37 AM 8156 (0x1FDC)
Worker thread 9880 starting execution. SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:37 AM 9880 (0x2698)
Thread: 0 is using GUID SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 9880 (0x2698)
Thread: 9880 will use GUID GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 9880 (0x2698)
Processing Inventory for Machine: COMPUTER   Version 1.4  Generated: 08/20/2013 08:43:03 SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 9880 (0x2698)
Done with job queueing. SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 3856 (0x0F10)
Blocking until completion. SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 3856 (0x0F10)
Begin transaction: Machine=COMPUTER(GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F) SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 9880 (0x2698)
Commit transaction: Machine=COMPUTER(GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F) SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 9880 (0x2698)
Done: Machine=COMPUTER(GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F) code=0 (130 stored procs in XHDSGIS5B.MIF) SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:38 AM 9880 (0x2698)
Done blocking until completion. SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:39 AM 3856 (0x0F10)
No more machine MIFs to be processed, terminating thread SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:39 AM 3856 (0x0F10)
Shutting down Machine Writer. SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:39 AM 3856 (0x0F10)
Worker thread 9880 halting execution. SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:39 AM 9880 (0x2698)
Finished processing 1 MIFs SMS_INVENTORY_DATA_LOADER 8/20/2013 8:44:44 AM 3856 (0x0F10)
Cleaning aged temp files... SMS_INVENTORY_DATA_LOADER 8/20/2013 8:45:49 AM 8156 (0x1FDC)
Checking inbox for any MIFs to process... SMS_INVENTORY_DATA_LOADER 8/20/2013 8:45:49 AM 8156 (0x1FDC)

Despite the above, there is still no record of this ResourceID in the table and Last Software Scan for the machine is still showing as Blank.

Later in the day, this is what is showing for that same machine:

Processing Inventory for Machine: COMPUTER   Version 1.5  Generated: 08/20/2013 15:26:03 SMS_INVENTORY_DATA_LOADER 8/20/2013 3:26:27 PM 4284 (0x10BC)
Begin transaction: Machine=COMPUTER(GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F) SMS_INVENTORY_DATA_LOADER 8/20/2013 3:26:27 PM 4284 (0x10BC)
Commit transaction: Machine=COMPUTER(GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F) SMS_INVENTORY_DATA_LOADER 8/20/2013 3:26:28 PM 4284 (0x10BC)
Done: Machine=COMPUTER(GUID:D4DE200E-E71B-4F49-80A6-7B8713E82C2F) code=0 (77 stored procs in XH2PPJOPK.MIF) SMS_INVENTORY_DATA_LOADER 8/20/2013 3:26:28 PM 4284 (0x10BC)

Again, LSS is showing as blank and no record in the table. The only thing I can see so far is that the number of stored procs is small, certainly less than I would have guessed for a full inventory, but maybe I'm wrong. I'm missing something here.

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2013 1:05pm

Processing Inventory for Machine: COMPUTER   Version 1.4  Generated: 08/20/2013

Processing Inventory for Machine: COMPUTER   Version 1.5  Generated: 08/20/2013

Neither of these are full inventory both are Delta inventory. It must say 1.0 within the version number if it is a full inventory.

How did you force a full inventory?

August 21st, 2013 1:52pm

I went onto the machine itselft and into the Config Mgr client and ran the Software Inventory from there. I've also tried running it using SCCM Client Center as well - Sofware Inventory (Full).

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2013 2:18pm

There are only two ways to do it, one is SCCM client center the other is manually deleting the WMI class. I would do it again with SCCM client Center, make sure that the version # says 1.0.
August 21st, 2013 2:23pm

This is what happens when I try to run a full software inventory through Client Center.

Inventory: Message [Type=InventoryAction, ActionID={00000000-0000-0000-0000-000000000002}, Report=Delta] already in queue. Message ignored. InventoryAgent 8/21/2013 10:44:22 AM 3316 (0x0CF4)

This is happening to 15% of my laptops.

  • Edited by WBrady1965 Wednesday, August 21, 2013 3:46 PM Added content
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2013 3:45pm

It sound like your clients are constantly doing SW inventory. Do you have any custom setting for your clients?

August 21st, 2013 4:39pm

Software inventory is set to run once a day at 12:00AM. I assume that varies from stock. I'm sure there are others, but not sure what else would really be pertinent. I think a lot of our settings (HINV, software deployment eval, etc) are set for 1 day. We're a pretty small environment and I'm not sure if the settings were created to mimic our 2007 environment or if that's what the consultant that we had in to do the migration (as part of our domain migration) set.

The only other thing that's happening is that we're in the middle of a domain migration and from what our asset management guy told me, he didn't see this happening before the migration of the machines to the new forest.

What's interesting is that while this problem is occuring on about of 15% of laptops, it's affecting less than 1% of desktops.

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2013 5:10pm

Solving this problem here in the forums is not easy obviously. Laptops might be more affected because their harddisks are usually slower compared to desktop ones. Just being curious: do you really need software inventory at all? What is done with SINV data?
August 21st, 2013 7:26pm

If the only thing you are using Software Inventory data for is to feed it into Secunia CSI, I highly recommend just using the CSI Agent.

If you don't want to install another agent, then you can use ConfigMgr to run the scan executable on a schedule as Kent Agerlund describes here:

http://blog.coretech.dk/kea/how-to-run-secnia-csi-scanning-without-installing-the-csi-agent/

Using the CSI agent (installed or with a reoccurring ConfigMgr task) will take far fewer CPU/Disk resources on the device, use less network traffic, give better compliance data, and in general be more reliable than importing Software Inventory information.

I hope that helps,

Nash

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2013 7:42pm

Our laptops are all SSDs at least.

The SINV data is being used by our asset management person as part of his reconcilliation process - a process developed in part by our managing VP. I don't know if anything else runs off of it and I did ask if this was something we could do without but I received quite a bit of resistance. I can't remember exactly how it is used and why the hardware dates are not sufficient but I think it may have to do with a vendor audit going back.

August 21st, 2013 7:43pm

Are you sure the asset management person is using Software Inventory data?  Software Inventory does not tell you what software is installed; it tells you the metadata about .exe, .dll, and .ocx files.  (You'll find numerous Microsoft Connect suggestions that they rename "Software Inventory" to "File Inventory" because it causes every new configmgr admin so much confusion.)

I've worked on dozens of asset management projects, and I can only think of a couple rare exceptions where we got data from anywhere other than Hardware Inventory.  The "Installed Software" Asset Intelligence classes from Hardware Inventory are usually used for these types of projects.

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2013 7:51pm

What they are using is the software scan date. Why? I don't know. Because that's what they based their stuff on and they don't want to change. I'm trying to convince them to use the hardware scan date instead, but no such luck. In either case, that doesn't solve the problem of why this isn't working correctly and how to fix it. Until I can either convince them to use HINV scan date or I can fix the problem, this will remain on my list of things to do.

I very much appreciate all the help.

August 21st, 2013 7:59pm

Did you ever solve this? I am seeing the same thing on a mixed proporation of clients. i force a full inv from WMI, but it dismisses it saying there is already a delta in progress - how to delete/cancel this delta? i've seen that it times out after 4 hours, but i want to get it sorted.
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2015 7:20am

Same question here: why do you want to use software inventory at all? Why don't you just use hardware inventory (which also reports add/remove programs data). 
May 23rd, 2015 7:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics