Wednesday, November 20, 2013

Fixing Screen Resolution in VirtualBox

Sometimes a virtual pc in VirtualBox will refuse to take up the whole screen.  Even in Full-Screen mode, it will insist on showing things in a 1024x768 resolution.   To fix this, you need to open a command prompt and run one of the following from c:\Program Files\Oracle\VirtualBox .   This was taken from section 9.8.2 of the VirtualBox manual

VBoxManage setextradata global GUI/MaxGuestResolution any
will remove all limits on guest resolutions.
VBoxManage setextradata global GUI/MaxGuestResolution >width,height<
manually specifies a maximum resolution.
VBoxManage setextradata global GUI/MaxGuestResolution auto
restores the default settings. Note that these settings apply globally to all guest systems, not just to a single machine.

1 comment:

  1. Those apply globally because you specified "global". You can also specify a specific machine.

    I have recently had some success also by using the above and then changing the driver on the display adapter. By default you get the VirtualBox Display adapter. I changed it to Microsoft Basic Display Adapter and many of my problems went away after rebooting.