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

NameTypeDescription
_thisManagedObjectReference A reference to the GuestWindowsRegistryManager used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since vSphere API 6.0
auth PGuestAuthentication

Since vSphere API 6.0
keyName PGuestRegKeyNameSpec

Since vSphere API 6.0
isVolatile Pxsd:boolean

Since vSphere API 6.0
classType* Pxsd:string

Since vSphere API 6.0
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
GuestOperationsFault
InvalidState
RuntimeFaultThrown 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

NameTypeDescription
_thisManagedObjectReference A reference to the GuestWindowsRegistryManager used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since vSphere API 6.0
auth PGuestAuthentication

Since vSphere API 6.0
keyName PGuestRegKeyNameSpec

Since vSphere API 6.0
recursive Pxsd:boolean

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
GuestOperationsFault
InvalidState
RuntimeFaultThrown 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

NameTypeDescription
_thisManagedObjectReference A reference to the GuestWindowsRegistryManager used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since vSphere API 6.0
auth PGuestAuthentication

Since vSphere API 6.0
valueName PGuestRegValueNameSpec

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
GuestOperationsFault
InvalidState
RuntimeFaultThrown 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

NameTypeDescription
_thisManagedObjectReference A reference to the GuestWindowsRegistryManager used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since vSphere API 6.0
auth PGuestAuthentication

Since vSphere API 6.0
keyName PGuestRegKeyNameSpec

Since vSphere API 6.0
recursive Pxsd:boolean

Since vSphere API 6.0
matchPattern* Pxsd:string

Since vSphere API 6.0
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
GuestRegKeyRecordSpec[]

Faults

Type Description
GuestOperationsFault
InvalidState
RuntimeFaultThrown 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

NameTypeDescription
_thisManagedObjectReference A reference to the GuestWindowsRegistryManager used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since vSphere API 6.0
auth PGuestAuthentication

Since vSphere API 6.0
keyName PGuestRegKeyNameSpec

Since vSphere API 6.0
expandStrings Pxsd:boolean

Since vSphere API 6.0
matchPattern* Pxsd:string

Since vSphere API 6.0
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
GuestRegValueSpec[]

Faults

Type Description
GuestOperationsFault
InvalidState
RuntimeFaultThrown 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

NameTypeDescription
_thisManagedObjectReference A reference to the GuestWindowsRegistryManager used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since vSphere API 6.0
auth PGuestAuthentication

Since vSphere API 6.0
value PGuestRegValueSpec

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
GuestOperationsFault
InvalidState
RuntimeFaultThrown 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