Zero-XAtlas
0x8004101D

WBEM_E_UNEXPECTED

Client made an unexpected and illegal sequence of calls, such as calling [**EndEnumeration**](https://learn.microsoft.com/en-us/windows/desktop/api/WbemCli/nf-wbemcli-iwbemclassobject-endenumeration) before calling [**BeginEnumeration**](https://learn.microsoft.com/en-us/windows/desktop/api/WbemCli/

hresultdecimal 2147749917signed -2147217379WMI

Matched as: the code as given (hex)

HRESULT breakdown: code: 4125, customer: False, facility: 4, severity: failure (bit 31 set), ntstatus_wrapped: False

Client made an unexpected and illegal sequence of calls, such as calling EndEnumeration before calling BeginEnumeration.

Log a case with no specific solution
(Enterprise subscription only)

Source: WMI Error Constants · CC BY 4.0 · wording unchanged, formatting adapted for this site · retrieved 2026-10-24