<Overview.>
A WMI API timeout occurred.
Using WMI's API "IEnumWbemClassObject", the class
Getting the "Win32_Service" can take a long time and the following error code
Failed to acquire information in
0x40004 WBEM_S_TIMEDOUT
A time-out occurred before you obtained all the objects
<Questions>
I would like to know the direct and root causes of this event and how to avoid it.
<Environment.
Node: Microsoft Windows Server 2012 R2 Datacenter
<What's happening?
Using WMI's API "IEnumWbemClassObject" in this environment, the class
Getting the "Win32_Service" can take a long time and the following error code
The information was unsuccessful in obtaining the information in
As a result, the service availability information could not be obtained.
0x40004 WBEM_S_TIMEDOUT
A time-out occurred before you obtained all the objects
The services we would like to acquire are as follows.
Group Policy Client
Remote Procedure Call (RPC)
RPC Endpoint Mapper
Task Scheduler
User Profile Service
Windows Event Log
Windows Time
workstation
OfficeScan NT RealTime Scan
Reference.
The following errors were found in the event log (system)
1: Error "7011" occurred frequently in other multiple services.
2: WMI logs frequently show the error "WDM call returned error: 4200
Is there any connection?
Event log (system)
20/08/17 14:47:25 Service Control Manager Error None 7011 N/A HNSXSH07.sidom.local UmRdpService timed out (30,000 milliseconds) while waiting for a transaction response from the service. Classic Info
20/08/17 14:47:55 Service Control Manager Error None 7011 N/A HNSXSH07.sidom.local UmRdpService timed out (30,000 milliseconds) while waiting for a transaction response from the service. Classic Info
20/08/17 14:48:25 Service Control Manager Error None 7011 N/A HNSXSH07.saidom.local AudioEndpointBuilder Timed out while waiting for a transaction response from the service (30,000 milliseconds) You are now in Classic Info
20/08/17 14:50:00 Service Control Manager Error None 7011 N/A HNSXSH07.sidom.local UmRdpService timed out (30,000 milliseconds) while waiting for a transaction response from the service. Classic Info
WMI's log
---wmiprov.log---
(Mon Aug 17 14:46:39 2020.398287796) : Successfully Registered for Mof Events
(Mon Aug 17 14:46:39 2020.398287812) : WDM call returned error: 4200
(Mon Aug 17 14:46:39 2020.398287828) : WDM call returned error: 4200
If you are missing any materials, please contact us.
Thank you for your help.