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.
| Symbolic | Code | Description |
|---|---|---|
| WBEM_E_FAILED | 0x80041001 | The method call failed. |
| WBEM_E_NOT_FOUND | 0x80041002 | The object could not be found. |
| WBEM_E_PROVIDER_FAILURE | 0x80041004 | The provider has failed at some time other than during initialization. |
| WBEM_E_TYPE_MISMATCH | 0x80041005 | A type mismatch has occurred. |
| WBEM_E_OUT_OF_MEMORY | 0x80041006 | There was not enough memory for the operation. |
| WBEM_E_INVALID_PARAMETER | 0x80041008 | One of the parameters to the call is not correct. |
| WBEM_E_NOT_AVAILABLE | 0x80041009 | The resource, typically a remote server, is not currently available. |
| WBEM_E_NOT_SUPPORTED | 0x8004100C | The feature or operation is not supported. |
| WBEM_E_INVALID_NAMESPACE | 0x8004100E | The specified namespace could not be found. |
| WBEM_E_INVALID_OBJECT | 0x8004100F | The specified instance is not valid. |
| WBEM_E_INITIALIZATION_FAILURE | 0x80041014 | A module, such as a provider, failed to initialize for internal reasons. |
| WBEM_E_INVALID_OPERATION | 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 | 0x80041017 | The query was not syntactically valid. |
| WBEM_E_INVALID_QUERY_TYPE | 0x80041018 | The requested query language is not supported. |
| WBEM_E_ALREADY_EXISTS | 0x80041019 | In a put operation, the **wbemChangeFlagCreateOnly** flag was specified, but the instance already exists. |
| WBEM_E_INVALID_SYNTAX | 0x80041021 | Query is not syntactically valid. |
| WBEM_E_READ_ONLY | 0x80041023 | The property that you are attempting to modify is read-only. |
| WBEM_E_PROVIDER_NOT_CAPABLE | 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 | 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**](/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_RANGE | 0x8004102B | The request was made with an out-of-range value, or is incompatible with the type. |
| WBEM_E_INVALID_METHOD | 0x8004102E | The requested method is not available. |
| WBEM_E_INVALID_METHOD_PARAMETERS | 0x8004102F | The parameters provided for the method are not valid. |
| WBEM_E_INVALID_OBJECT_PATH | 0x8004103A | The 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.