Page 1 of 1

Windows 10 screen resolution

Posted: 29. Jul 2016, 11:33
by Gutchi
Hello all,

i'm on linux mint host, and i have install a windows 10 VM on virtualBox 5.0.24, i have install the guest additions, but i can change the resolution to 1920x1080 on the VM the max is 1280x960.
I fin on internet a guy who say use these command:

Code: Select all

$ VBoxManage controlvm "Win10" setvideomodehint 1920 1080 32

$ VBoxManage getextradata "Win10" enumerate
Key: CustomVideoMode1, Value: 1920x1080x32
Key: GUI/AutoresizeGuest, Value: false
Key: GUI/LastCloseAction, Value: PowerOffRestoringSnapshot
Key: GUI/LastGuestSizeHint, Value: 1280,960
Key: GUI/LastNormalWindowPosition, Value: 334,45,1280,1009
Key: GUI/RestrictedRuntimeDevicesMenuActions, Value: HardDrives
Key: GUI/RestrictedRuntimeMachineMenuActions, Value: SaveState,PowerOff
Key: GUI/StatusBar/IndicatorOrder, Value: HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Display,VideoCapture,Features,Mouse,Keyboard

I have restart the VM and the host machine but there is no change..

another think, when i go to print parameter and i click on detect screen, i don't detect it, it say no screen are detected.

Any idea?

Re: Windows 10 screen resolution

Posted: 29. Jul 2016, 11:48
by socratis
mpack recently wrote:Usually the display size you're stuck in is the highest possible 4:3 ratio, because VirtualBox and the Window guest have gotten tied into a knot telling/asking each other only about 4:3 ratio options, because that's the size of your default virtual monitor (your actual monitor of course isn't relevant to the VM). If you shut down all VMs, then in the UI go to File|Preferences|Display and set MaxGuestDisplaySize to "None" then you should be able to select any display size you like in any VM.
Oh, and don't forget to delete the CustomVideoMode1 and LastGuestSizeHint keys:
   VBoxManage setextradata "Win10" CustomVideoMode1
   VBoxManage setextradata "Win10" GUI/LastGuestSizeHint

Re: Windows 10 screen resolution

Posted: 29. Jul 2016, 12:51
by Gutchi
It's ok, thank you :)

Re: Windows 10 screen resolution

Posted: 5. May 2017, 12:13
by Dorothy
Thank you for sharing this!
I have even managed to get rid of the scroll bars on my VB. Choosing

VBoxManage setextradata "Win10" CustomVideoMode1
VBoxManage setextradata "Win10" GUI/LastGuestSizeHint
was well worth doing!