# Fault - GuestRegistryKeyInvalid(vim.fault.GuestRegistryKeyInvalid)

Thrown by
  CreateRegistryKeyInGuest, DeleteRegistryKeyInGuest, DeleteRegistryValueInGuest, ListRegistryKeysInGuest, ListRegistryValuesInGuest, SetRegistryValueInGuest
Extends
  GuestRegistryKeyFault
Since
  vSphere API 6.0

## Fault Description

A GuestRegistryKeyInvalid exception is thrown when an operation fails because the guest registry key specified was not valid (most probably due to an invalid HKEY Root in the key path), or does not exist.

Properties

Name | Type | Description
--- | --- | ---
None
Properties inherited from GuestRegistryKeyFault
keyName
Properties inherited from GuestRegistryFault
windowsSystemErrorCode
Properties inherited from GuestOperationsFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="GuestRegistryKeyInvalid"> <complexContent> <extension base="vsan:GuestRegistryKeyFault"> <sequence> </sequence> </extension> </complexContent> </complexType>