Search notes:

VBoxManage: setextradata / getextradata

Set a value for the virtual machine whose name is stored in the variable $vmName:
VBoxManage setextradata $vmName "valueName" "value"
Query a value
VBoxManage getextradata $vmName "valueName"
Query all values
VBoxManage getextradata $vmName enumerate
A value can be deleted by simple not specifying a value:
VBoxManage setextradata $vmName "valueName"
Some value can be set or queried globally:
VBoxManage setextradata global "valueName" "value"
VBoxManage getextradata global "valueName"
There is also the VBoxManage modifyvm command which also allows to modify settings for a virtual machine.

Some values

To be continued …
GUI/FirstRun Automatically set, for example to 0
GUI/LastCloseAction Automatically set, for example to PowerOff
GUI/Customizations Only globally? Allowed properties: noSelector, noMenuBar, noStatusBar
CustomVideoModeX X = 1 … 16. The format of the value is something like 1400x1050x16
GUI/Input/HostKeyCombination Specifies the host key.
GUI/Input/MachineShortcuts Redefines or disables certain host key actions.
GUI/MaxGuestResolution This value can also be set to WidthxHeight, any (no limits) or auto (default)
GUI/LastGuestSizeHint Automatically set? Size for character based console? For example: 800,600
GUI/LastNormalWindowPosition Automatically set? For example: 0,23,640,480,max
GUI/HideDetails
GUI/PreventReconfiguration
GUI/PreventSnapshotOperations
GUI/HideFromManager
GUI/PreventApplicationUpdate
GUI/DefaultCloseAction Defines a specific action for terminating a VM
GUI/MouseCapturePolicy Configures automatic mouse capturing
GUI/Fullscreen/LegacyMode A global setting
GUI/GuruMeditationHandler
GUI/RestrictedGlobalSettingsPages Only globally? Allowed properties: General, Input, Update, Language, Display, Network, Extensions, Proxy
GUI/RestrictedRuntimeMenus
GUI/RestrictedRuntimeApplicationMenuActions
GUI/RestrictedRuntimeViewMenuActions
GUI/RestrictedRuntimeDevicesMenuActions
GUI/RestrictedRuntimeDebuggerMenuActions
GUI/RestrictedRuntimeHelpMenuActions
GUI/RestrictedStatusBarIndicators
GUI/RestrictedVisualStates
GUI/RestrictedCloseActions
GUI/RestrictedNetworkAttachmentTypes
VBoxInternal/Devices/{ahci,piix3ide}/0/Config/Port0/SerialNumber
VBoxInternal/Devices/{ahci,piix3ide}/0/Config/Port0/FirmwareRevision
VBoxInternal/Devices/{ahci,piix3ide}/0/Config/Port0/ModelNumber
VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion
VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor"
VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort TCP/IP forwarding?
VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort TCP/IP forwarding?
VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol TCP/IP forwarding?
VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled Setting this value to 1 disables time synchronization in the guest.
VBoxInternal/Devices/VMMDev/0/Config/KeepCredentials 1: keep the credentials after they were read by the guest and on VM reset
VBoxInternal2/Audio/Debug/Enabled If set to true, playing audio on the guest (playback) will create .wav files in the host's temporary directory (or in the path configured with VBoxInternal2/Audio/Debug/PathOut), for example, on Windows in C:\Users\<username>\AppData\Local\Temp. See Investigating audio problems and audio settings.
VBoxInternal2/Audio/Debug/PathOut Specifies in which directory .wav files are stored if audio debug is enabled (VBoxInternal2/Audio/Debug/Enabled)

Index