# Managed Object - GuestWindowsRegistryManager

Property of
  GuestOperationsManager
See also
  GuestAuthentication, GuestRegKeyNameSpec, GuestRegKeyRecordSpec, GuestRegValueNameSpec, GuestRegValueSpec, VirtualMachine
Since
  vSphere API 6.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
CreateRegistryKeyInGuest, DeleteRegistryKeyInGuest, DeleteRegistryValueInGuest, ListRegistryKeysInGuest, ListRegistryValuesInGuest, SetRegistryValueInGuest

# CreateRegistryKeyInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestWindowsRegistryManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 6.0
auth P | GuestAuthentication | Since vSphere API 6.0
keyName P | GuestRegKeyNameSpec | Since vSphere API 6.0
isVolatile P | xsd:boolean | Since vSphere API 6.0
classType* P | xsd:string | Since vSphere API 6.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# DeleteRegistryKeyInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestWindowsRegistryManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 6.0
auth P | GuestAuthentication | Since vSphere API 6.0
keyName P | GuestRegKeyNameSpec | Since vSphere API 6.0
recursive P | xsd:boolean | Since vSphere API 6.0

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# DeleteRegistryValueInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestWindowsRegistryManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 6.0
auth P | GuestAuthentication | Since vSphere API 6.0
valueName P | GuestRegValueNameSpec | Since vSphere API 6.0

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# ListRegistryKeysInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestWindowsRegistryManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 6.0
auth P | GuestAuthentication | Since vSphere API 6.0
keyName P | GuestRegKeyNameSpec | Since vSphere API 6.0
recursive P | xsd:boolean | Since vSphere API 6.0
matchPattern* P | xsd:string | Since vSphere API 6.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
GuestRegKeyRecordSpec[] |

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# ListRegistryValuesInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestWindowsRegistryManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 6.0
auth P | GuestAuthentication | Since vSphere API 6.0
keyName P | GuestRegKeyNameSpec | Since vSphere API 6.0
expandStrings P | xsd:boolean | Since vSphere API 6.0
matchPattern* P | xsd:string | Since vSphere API 6.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
GuestRegValueSpec[] |

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# SetRegistryValueInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestWindowsRegistryManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 6.0
auth P | GuestAuthentication | Since vSphere API 6.0
value P | GuestRegValueSpec | Since vSphere API 6.0

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None