code: public void setRegistryValueInGuest(VirtualMachine vm, GuestAuthentication auth, GuestRegValueSpec value) throws GuestComponentsOutOfDate, GuestOperationsFault, GuestOperationsUnavailable, GuestPermissionDenied, GuestRegistryKeyInvalid, InvalidGuestLogin,
          InvalidPowerState, InvalidState, OperationDisabledByGuest, OperationNotSupportedByGuest, RuntimeFault, TaskInProgress, RemoteException {
          getVimService().setRegistryValueInGuest(getMOR(), vm.getMOR(), auth, value);
      }
docs: Set/Create a registry value.
  
  @param vm    Virtual machine to perform the operation on.
  @param auth  The guest authentication data.
  @param value The information for the registry value to be set/created. The Value "name" (specified in {@link com.vmware.vim25.GuestRegValueNameSpec GuestRegValueNameSpec}) and the Value "data" (specified in {@link com.vmware.vim25.GuestRegValueSpec GuestRegValueSpec}) can both be empty. If "name" is empty, it sets the value for the unnamed or default value of the given key.
  @throws GuestComponentsOutOfDate
  @throws GuestOperationsFault
  @throws GuestOperationsUnavailable
  @throws GuestPermissionDenied
  @throws GuestRegistryKeyInvalid
  @throws InvalidGuestLogin
  @throws InvalidPowerState
  @throws InvalidState
  @throws OperationDisabledByGuest
  @throws OperationNotSupportedByGuest
  @throws RuntimeFault
  @throws TaskInProgress
  @throws RemoteException