Remote Desktop Services WMI provider error codes

Header: wbemcli.h

The following list lists the WMI errors returned by the Remote Desktop Services WMI provider. For a list of other WMI errors, see WMI Error Constants.

SymbolicCodeDescription
WBEM_E_FAILED0x80041001The method call failed.
WBEM_E_NOT_FOUND0x80041002The object could not be found.
WBEM_E_PROVIDER_FAILURE0x80041004The provider has failed at some time other than during initialization.
WBEM_E_TYPE_MISMATCH0x80041005A type mismatch has occurred.
WBEM_E_OUT_OF_MEMORY0x80041006There was not enough memory for the operation.
WBEM_E_INVALID_PARAMETER0x80041008One of the parameters to the call is not correct.
WBEM_E_NOT_AVAILABLE0x80041009The resource, typically a remote server, is not currently available.
WBEM_E_NOT_SUPPORTED0x8004100CThe feature or operation is not supported.
WBEM_E_INVALID_NAMESPACE0x8004100EThe specified namespace could not be found.
WBEM_E_INVALID_OBJECT0x8004100FThe specified instance is not valid.
WBEM_E_INITIALIZATION_FAILURE0x80041014A module, such as a provider, failed to initialize for internal reasons.
WBEM_E_INVALID_OPERATION0x80041016The requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties. This error is returned on an attempt to modify a server-override property through group policy control.
WBEM_E_INVALID_QUERY0x80041017The query was not syntactically valid.
WBEM_E_INVALID_QUERY_TYPE0x80041018The requested query language is not supported.
WBEM_E_ALREADY_EXISTS0x80041019In a put operation, the **wbemChangeFlagCreateOnly** flag was specified, but the instance already exists.
WBEM_E_INVALID_SYNTAX0x80041021Query is not syntactically valid.
WBEM_E_READ_ONLY0x80041023The property that you are attempting to modify is read-only.
WBEM_E_PROVIDER_NOT_CAPABLE0x80041024The provider cannot perform the requested operation. The operation could include a query that is too complex, retrieving an instance, creating a class, updating a class, deleting a class, or enumerating a class.
WBEM_E_ILLEGAL_NULL0x80041028A value of **Nothing**/**NULL** was specified for a property that cannot be **Nothing**/**NULL**, such as one that is marked by a [**Key**](/windows/desktop/WmiSdk/key-qualifier), [**Indexed**](/windows/desktop/WmiSdk/optional-qualifiers), or [**Not_Null**](/windows/desktop/WmiSdk/optional-qualifiers) qualifier.
WBEM_E_VALUE_OUT_OF_RANGE0x8004102BThe request was made with an out-of-range value, or is incompatible with the type.
WBEM_E_INVALID_METHOD0x8004102EThe requested method is not available.
WBEM_E_INVALID_METHOD_PARAMETERS0x8004102FThe parameters provided for the method are not valid.
WBEM_E_INVALID_OBJECT_PATH0x8004103AThe specified object path was not valid.
23 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.