Windows Guest Additions

Note: All following modifications need Administrator rights in the guest VM! Also, this guide assumes that the directory C:\Temp exists on the guest.

Open the registry editor (regedit.exe) and add the key:

HKLM\SYSTEM\CurrentControlSet\Services\VBoxGuest\LoggingEnabled = 0xFF (REG_DWORD)

There currently is no common / generic way of enabling logging for all guest-side components, e.g. for the auto-logon components (VBoxGINA and VBoxCredProv) there are registry keys which must be used in conjunction with the key above:

Auto-Logon (Windows)

HKLM\SOFTWARE\Oracle\VirtualBox Guest Additions\AutoLogon\LoggingEnabled = 0xFF (REG_DWORD)
HKLM\SOFTWARE\Oracle\VirtualBox Guest Additions\AutoLogon\LoggingLevel = 0xFF (REG_DWORD)


Set the following system-wide environment variables:


After setting these variables the guest needs to be restarted.


HKLM\SYSTEM\CurrentControlSet\Services\VBoxService\ImagePath = "system32\VBoxService.exe -vvvv --logfile c:\Temp\VBoxService.log" (REG_EXPAND_SZ)


For the other components (like Shared Folders) it should be sufficient to enable the guest driver registry key in order to let through the guest's debug logging into the VBox.log on the host.

Note: The host limits the number of guest log entries by default (per log group). To enable unlimited logging of all components the host environment variable


must be set. Otherwise we have a limit of 32k entries per logging group.
ContactPrivacy policyTerms of Use