WMI API "IEnumWbemClassObject" Timedout

悠 高島 81 Reputation points
2020-09-01T08:46:50.783+00:00

<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.

Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
424 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Yan-MSFT 9,326 Reputation points
    2020-09-02T07:37:59.477+00:00

    Hi,
    From the event logs you shared, the problem might be related to audio/video drivers. Kindly check if any update for the drivers or reinstall them as a test.

    Always backup important data before any changes into production environment.

    Thanks,
    Jenny


0 additional answers

Sort by: Most helpful