Config Manager Agent - after Hardware Inventory High CPU Usage with WMIPRSVE and very fast empty Battery

Hi there,

since a few days there is on some machines (40-60) a high cpu usage on one core (quad core cpu machines) with the WMIPRSVE.EXE if the HARDWARE INVENTORY CYCLE started.

i try out some tests, read some forum articles and troubleshooting the WMI management but a real problem i doesnt see.

in some articles i read that hardware inventory runs about minutes up to more hours but some machines runs longer, someone more as 1 day.

here an example of mine PC:

at 8:07 i started Hardware Inventory Cycle, in the InventoryAgent.log i can see that some Collection Namespace are captured.

after a few minutes there stopped and does nothing round about 5.9 hours or better, after 21436.097 Seconds.

For any hints i am grateful. :)

--------------------------------------------------------------------------------------------------

Inventory: *********************** Start of message processing. *********************** InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Message type is InventoryAction InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Temp directory = C:\WINDOWS\CCM\Inventory\Temp\ InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Clearing old collected files. InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ... InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
CInvState::VerifyInventoryVersionNumber: Mismatch found for '{00000000-0000-0000-0000-000000000001}': 4.2 vs. 0.0 InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Version number mismatch; will do a Full report. InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Action=Hardware, ReportType=ReSync, MajorVersion=5, MinorVersion=0 InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Initialization completed in 0.141 seconds InventoryAgent 18.03.2015 08:09:56 11088 (0x2B50)
Collection: Namespace = \\localhost\root\Microsoft\appvirt\client; Query = SELECT __CLASS, __PATH, __RELPATH, CachedLaunchSize, CachedPercentage, CachedSize, LaunchSize, Name, PackageGUID, TotalSize, Version, VersionGUID FROM Package; Timeout = 600 secs. InventoryAgent 18.03.2015 08:09:56 7836 (0x1E9C)

Failed to get IWbemService Ptr for \\localhost\root\vm\VirtualServer Namespace: 8004100E InventoryAgent 18.03.2015 08:10:02 7836 (0x1E9C)
Failed to enumerate instances of VirtualMachine: 8004100E InventoryAgent 18.03.2015 08:10:02 7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AddressWidth, BrandID, CPUHash, CPUKey, DataWidth, DeviceID, Family, Is64Bit, IsHyperthreadCapable, IsMobile, IsTrustedExecutionCapable, IsVitualizationCapable, Manufacturer, MaxClockSpeed, Name, NormSpeed, NumberOfCores, NumberOfLogicalProcessors, PCache, ProcessorId, ProcessorType, Revision, SocketDesignation, Status, SystemName, Version FROM SMS_Processor; Timeout = 600 secs. InventoryAgent 18.03.2015 08:10:02 7836 (0x1E9C)
Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, Requester, RequesterInfo, RequesterType, RequestType, Time, UnknownRequester FROM CCM_PwrMgmtLastSuspendError; Timeout = 600 secs. InventoryAgent 18.03.2015 08:10:03 7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs. InventoryAgent 18.03.2015 08:10:03 7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile, IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable; Timeout = 600 secs. InventoryAgent 18.03.2015 08:10:03 7836 (0x1E9C)
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.03.2015 14:06:43 7836 (0x1E9C)
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.03.2015 14:06:43 7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AdditionalProductCodes, CompanyName, ExplorerFileName, FileDescription, FilePropertiesHash, FileSize, FileVersion, FolderPath, LastUsedTime, LastUserName, msiDisplayName, msiPublisher, msiVersion, OriginalFileName, ProductCode, ProductLanguage, ProductName, ProductVersion, SoftwarePropertiesHash FROM CCM_RecentlyUsedApps; Timeout = 600 secs. InventoryAgent 18.03.2015 14:06:43 7836 (0x1E9C)
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.03.2015 14:07:02 7836 (0x1E9C)
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.03.2015 14:07:02 7836 (0x1E9C)

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.03.2015 14:07:12 7836 (0x1E9C)
Collection: 62/74 inventory data items successfully inventoried. InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Collection Task completed in 21436.097 seconds InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: 12 Collection Task(s) failed. InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Starting reporting task. InventoryAgent 18.03.2015 14:07:12 7552 (0x1D80)
Reporting: 4381 report entries created. InventoryAgent 18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Reporting Task completed in 1.030 seconds InventoryAgent 18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted InventoryAgent 18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Cycle completed in 21453.570 seconds InventoryAgent 18.03.2015 14:07:30 7552 (0x1D80)
Inventory: Action completed. InventoryAgent 18.03.2015 14:07:30 7552 (0x1D80)
Inventory: ************************ End of message processing. ************************ InventoryAgent 18.03.2015 14:07:30 7552 (0x1D80)
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.03.2015 14:07:12 7836 (0x1E9C)
Collection: 62/74 inventory data items successfully inventoried. InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Collection Task completed in 21436.097 seconds InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: 12 Collection Task(s) failed. InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml InventoryAgent 18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Starting reporting task. InventoryAgent 18.03.2015 14:07:12 7552 (0x1D80)
Reporting: 4381 report entries created. InventoryAgent 18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Reporting Task completed in 1.030 seconds InventoryAgent 18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted InventoryAgent 18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Cycle completed in 21453.570 seconds InventoryAgent 18.03.2015 14:07:30 7552 (0x1D80)
Inventory: Action completed. InventoryAgent 18.03.2015 14:07:30 7552 (0x1D80)
Inventory: ************************ End of message processing. ************************ InventoryAgent 18.03.2015 14:07:30 7552 (0x1D80)

March 18th, 2015 11:27am

'--------

InventoryAgent 18.03.2015 08:10:03
7836 (0x1E9C)
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.03.2015 14:06:43 7836 (0x1E9C)
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.03.2015 14:06:43
7836 (0x1E9C)

'-----------

Looks like something in one or both of those wmi queries.  it goes from 8:10:03 to 14:06:43 right around there.  6 hours to do that... 

try running those queries from wbemtest manually; and see which one just never finishes.

Free Windows Admin Tool Kit Click here and download it now
March 18th, 2015 11:37am


Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile, IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable; Timeout = 600 secs. InventoryAgent 18.03.2015 08:10:03 7836 (0x1E9C)
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.03.2015 14:06:43 7836 (0x1E9C)

I'd blame SMS_InstalledExecutable.
March 18th, 2015 12:04pm

Very strange, when i run this querys in WBEMTEST on the problem machine they have a runtime of a few seconds.


  • SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile, IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable

This query runs 30 Seconds and shows 2200 objects where all from MS. this is the default in the Client Settings Policy for MS products.

  • SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration

This query runs 1 Second and shows 17 objects and looks really fine.

so i try all my tests with a Domain Administration Account, tomorrow i will check it with a system account.

thx for your response.

Free Windows Admin Tool Kit Click here and download it now
March 18th, 2015 12:32pm

Hi there,

i solved the Problem, this Comes from the Setting under:

Config Manager Console / COMPLIANCE and ASSETS / ASSETS INTELIGENCE (right Click / EDIT INVENTORY CLASSES.

on this Point there was all check box enabled and in the LOG Files i saw SMS_InstalledExecutable and this was enabled, so i turn it off, makes a Police update on the Client and start the Hardware inventory cycle. The CPU Usage grows up with the WMIPRSVE but after 150seconds the complete CPU Usage is under 3% and this ist great.

In the Asset Advisor i saw all scanned files on the Client and after the reconfiguration i becomes only the Information i want.

SOLVED !!!

 

  • Marked as answer by mr. AAJ 18 hours 35 minutes ago
March 21st, 2015 9:04am

Hi there,

i solved the Problem, this Comes from the Setting under:

Config Manager Console / COMPLIANCE and ASSETS / ASSETS INTELIGENCE (right Click / EDIT INVENTORY CLASSES.

on this Point there was all check box enabled and in the LOG Files i saw SMS_InstalledExecutable and this was enabled, so i turn it off, makes a Police update on the Client and start the Hardware inventory cycle. The CPU Usage grows up with the WMIPRSVE but after 150seconds the complete CPU Usage is under 3% and this ist great.

In the Asset Advisor i saw all scanned files on the Client and after the reconfiguration i becomes only the Information i want.

SOLVED !!!

 

  • Marked as answer by mr. AAJ Saturday, March 21, 2015 1:05 PM
Free Windows Admin Tool Kit Click here and download it now
March 21st, 2015 1:03pm

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

Other recent topics Other recent topics