Remote Desktop Services WMI provider error codes

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.

WBEM_E_FAILED

2147749889 (0x80041001)

The method call failed.

WBEM_E_NOT_FOUND

2147749890 (0x80041002)

The object could not be found.

WBEM_E_PROVIDER_FAILURE

2147749892 (0x80041004)

The provider has failed at some time other than during initialization.

WBEM_E_TYPE_MISMATCH

2147749893 (0x80041005)

A type mismatch has occurred.

WBEM_E_OUT_OF_MEMORY

2147749894 (0x80041006)

There was not enough memory for the operation.

WBEM_E_INVALID_PARAMETER

2147749896 (0x80041008)

One of the parameters to the call is not correct.

WBEM_E_NOT_AVAILABLE

2147749897 (0x80041009)

The resource, typically a remote server, is not currently available.

WBEM_E_NOT_SUPPORTED

2147749900 (0x8004100C)

The feature or operation is not supported.

WBEM_E_INVALID_NAMESPACE

2147749902 (0x8004100E)

The specified namespace could not be found.

WBEM_E_INVALID_OBJECT

2147749903 (0x8004100F)

The specified instance is not valid.

WBEM_E_INITIALIZATION_FAILURE

2147749908 (0x80041014)

A module, such as a provider, failed to initialize for internal reasons.

WBEM_E_INVALID_OPERATION

2147749910 (0x80041016)

The 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_QUERY

2147749911 (0x80041017)

The query was not syntactically valid.

WBEM_E_INVALID_QUERY_TYPE

2147749912 (0x80041018)

The requested query language is not supported.

WBEM_E_ALREADY_EXISTS

2147749913 (0x80041019)

In a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists.

WBEM_E_INVALID_SYNTAX

2147749921 (0x80041021)

Query is not syntactically valid.

WBEM_E_READ_ONLY

2147749923 (0x80041023)

The property that you are attempting to modify is read-only.

WBEM_E_PROVIDER_NOT_CAPABLE

2147749924 (0x80041024)

The 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_NULL

2147749928 (0x80041028)

A value of Nothing/NULL was specified for a property that cannot be Nothing/NULL, such as one that is marked by a Key, Indexed, or Not_Null qualifier.

WBEM_E_VALUE_OUT_OF_RANGE

2147749931 (0x8004102B)

The request was made with an out-of-range value, or is incompatible with the type.

WBEM_E_INVALID_METHOD

2147749934 (0x8004102E)

The requested method is not available.

WBEM_E_INVALID_METHOD_PARAMETERS

2147749935 (0x8004102F)

The parameters provided for the method are not valid.

WBEM_E_INVALID_OBJECT_PATH

2147749946 (0x8004103A)

The specified object path was not valid.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemcli.h