Set Custom Resolution in VirtualBox for Windows 8

Windows 8 doesn’t work with the included VirtualBox display driver, so by default you are limited to several 4:3 resolutions (full screen). If you want a different resolution or a widescreen resolution, it requires a command line entry to enable it. Here’s how:

1. First, close your virtual machine. Then, navigate to x:Program FilesOracleVirtualBox. Hold Shift and right click an open area of the window. Select “Open Command Window Here”. A command prompt window will open in exactly the correct directory to do the job.

pic1

2. Type VBoxManage.exe setextradata "Win 8 dev" CustomVideoMode1 1680x1050x32. You can edit the name in quotes to your Windows 8 virtual machine name, as well as the custom resolution (my monitor runs as 1680x1050x32).

pic2

3. Restart your VM, and you can now select from the custom resolution you just enabled.

pic3

You can leave a response, or trackback from your own site.
  • Ibrasteel

    When i try your method, i get this error code,

    p, li { white-space: pre-wrap; }

    Result Code:
    E_FAIL (0x80004005)
    Component:
    Console
    Interface:
    IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}, i also see something that says the bit count in custom mode was incorect. do you know how to fix this?

    • SASUKE8907

      SAME

    • tae123

      Notice the p, li {white-space: pre-wrap;} CSS style-sheet code.
      The comment writer (lbrasteel) just needs to remove that.

  • http://www.phrasememe.com Greg Bray

    THANKS! I spent an hour trying to mess with inf files, but all I needed was:  

    VBoxManage.exe setextradata “Windows 8″ CustomVideoMode1 1600x900x32

    Now the VM has the correct custom resolution using the Microsoft Basic video driver ( basicdisplay.sys ). 

    Keep up the great work!

  • Mittslaskkonto

    Didn’t work. The commands seemed to execute at the command line without any error.
    But I get no custom resolution to choose from.

    • Guest

      Make sure all other VirtualBox windows are closed.  I had to kill a vboxsvc.exe process before my changes would take.

      • Truster

        I have the same problem. I checked task manager but there is no programs related to vbox after shutdown. So I’m pretty sure there isn’t anything related to VBox when I do the command. But doesn’t work :/

    • Adrian

      Neither have I. All Virtualbox aplications and services were closed.
      No custom resolution

  • Me

    Worked for me excellent!!! Thanks heaps dude!

  • Guestly

    Excellent.  Only method that gave me my native 1600×900 resolution on my HP laptop.  Thanks!

    • http://www.mstechpages.com/ Dustin Harper

       Glad it worked for you!

      • KJS

        Hi, I tried this and it works great in 1600×900 however I can’t get it to do that in 1280×720 – any ideas?

  • Cameron Ryder

    How would I do this if I am running VirtualBox in Linux Mint(or any other debian-based linux distro)??

    • David

      Same as in Windows:

      david@studio1558:~$ VBoxManage setextradata “Windows 7″ “CustomVideoMode1″ “1366x768x32″

      Notice that my virtual machine name is “Windows 7″.

  • Pingback: Win 8 screen size in Virtualbox - Windows 8 Forums

  • Dolphinspirit9

    That was awesome!  I’m on a black macbook and used your instructions to finally get the 1280×800 resolution I needed.  I found the Vboxmanage file in the virtualbox app package contents/macosx folder.  I dragged that file to a terminal window and added to the end of it setextradata “name of my virtual machine” CustomVideoMode1 1280x800x32.  It dropped to the next line without error so far so good.  Fired up the vm and voila!  I still have the virtual display driver listed with the bang mark in device manager but I now get full screen cause the custom resolution is there to choose.Thanks so much you made my day!!

    • slipmat

      Awesome, this worked on my mac also.

      FYI VBoxManage lives in your path so you don’t need to do anything special other than specify the full path of your VM.

  • millad

    great job Dustin

    thanks dude 
     :)

  • Pingback: Thoughts on the Windows 8 Consumer Preview « PlattSoft.net

  • Pingback: Using Oracle Virtual Box to boot Windows 8 from within windows 7 - Windows 8 Forums

  • Dan

    Thanks, it worked great, but only after I put the resolution in quotes, like this:  VBoxManage.exe setextradata “Windows 8 CP 64-bit” CustomVideoMode1 “1680x1050x32″ and only after I power off the windows 8 system, not just sending the shut down signal.

  • Michael Douglas

    Eu procurei em diversos sites e essa foi a solução correta, o erro era que o meu prompt de comando começava com “C:UsersUsuário>” e eu não conseguia alterar esse inicio de jeito nenhum, MUITO OBRIGADO!!! Trabalho Maravilhoso!!

    • Michael Douglas

      I searched several sites and this was the correct solution, the error was that I started withcommand prompt “C:  Users  User>” and I could not change this start at all, THANK YOU! Wonderful work!

  • Themoon73

    Dude, I spent literally hours searching for a working driver for my Radeon that would allow me to select a 1366×768 resolution.  The only driver that the system would allow is the Microsoft Basic Display Driver.  The only modes available were 4:3 resolutions.  I was pulling my freeking hair out until I happened upon your post.  I cannot thank you enough!!!

    • Asc1892

      Hey, I have the 1366×768 and i closed Vbox and went into the command mode…typed everything out. did it several times. does not work..any suggestions or steps to what you did?

  • Nikhil

    Thanks a lot man…worked like a charm….

  • Dgg101

    Tanks! 

  • Ryan Burdick

    Thank you very much! Worked like a charm and now I don’t have to install guest additions which really messes up most metro apps.

  • Giotismail

    Excellent !!! Thanks you so much. 

  • Giotismail

    Excellent !!! Thanks you so much. 

  • http://www.facebook.com/profile.php?id=1390365013 Olivier Dahan

    Thanks a lot for this really cool and useful trick !

  • Thankful

    You, Sir, are awesome

  • Dann Cox

    I found this advice elsewhere and it worked great.  Any advice on getting Win8 on VirtualBox to recognize dual monitors?

  • Mike

    I’m getting the error “Could not find a registered machine named “….”

    Is the name of the Windows 8 virtual machine the one you name it in VirtualBox?

    • Prashant

      I was also facing the problem, but it resolved.

      1. Virtual Machine name is case sensitive.
      2. Virtual Box Manager should also be closed in order to make this work

      I successfully installed new resolution
      Host: win7
      Guest: Win8
      New resolution set: 1366x768x32

  • http://typrase.myopenid.com/ Jesse Glick

    Worked perfectly for a slightly different use case: running Win 8 inside Linux without the very buggy guest additions.

  • Brandog484

    how do you do this on a mac?

    • http://www.mstechpages.com/ Dustin Harper

      I am not 100% sure, but you could go to the directory where it is installed (/Applications/OpenSource/VirtualBox.app/) and run the same command. I will have to test it on a Mac later and take a look. 

  • Shankho Chatterjee

    Sorry Sir, but your method did not work on my system. I followed the steps very carefully, but there is no custom resolution after I log in to Windows 8 Release Preview x64.

  • Draco A

    Thanks a lot mate, Worked..!!

  • piETro

    It works perfectely to me! Many thanks!!!

  • http://devtalk.net Dmitri

    Doesn’t work. Even with all the processed killed.

  • Utkarsh Kakkar

    Thank you so much it worked !!!!

  • Coroner117

    I had the same problem as you all, tried everything you said and it would still not work. I did some digging and came across this: http://geekswithblogs.net/mbcrump/archive/2011/11/25/1360x768x32-resolution-in-windows-8-in-virtualbox.aspx
    Basically the guy says he has problems with the 1366x768x32 resolution (same as mine), he suggests the exact same thing as posted here and other forums, blogs and posts BUT he changes 1366 to 1360 in the command prompt. It works for me so I thought I’ll just post it here. 

  • http://www.roksoft.co.uk/ RokSoft

    I finally worked out why this wouldn’t work on my VirtualBox Windows 8 installation.  I have VBoxGuestAdditions installed and needed to disable 3D acceleration in the Virtual Box Manager in order for it to work.  Custom resolutions now work perfectly!

  • Popkrull

    Didnt work, just errors

  • avmisoft.nl

    thanks a lot, works perfect.

  • Guest

    Did not work for me. I then installed the display driver from the guest extensions which enabled the Host+G shortcut (also worked in fullscreen)

  • Tom

    Work perfect, thanks!

  • Vijai

    Worked great, thanks for sharing

  • http://www.facebook.com/profile.php?id=615941492 Geraldo Arvalo

    with the guest extensions installed, i ran the command, but didn’t see any new resolution options until i hit HOST+G! thanks for the post and to Guest comment below for the tip. 

  • shaardul

    Works like charm..thank you!! (Was trying to set 1600*900 resolution on Windows XP virtual machine running on Windows 8 host)

  • Zanpher

    Does work with the current virtual box with windows 8. after executing this command, windows 8 fails to start (freezes on logo). Had to force shutdown, and start it up again. It booted up ok, but the changes did not take effect.

  • Pingback: Cambiar resolución de pantalla de una maquina virtual en VirtualBox | Iván Andréi

  • Karim Kandil

    thanks a lot worked 100% from the first time

  • tae123

    VirtualBox has problems with shutting down virtual machines (e.g. long time).
    You’d like to contribute to code which implements the miracle of having localized error messages.

  • Uli

    I am having the same problem using Windows 2012 Server running in a Virtual Box 4.2.18 with Guest Additions installed. My Guest OS is Mac OS X 10.8. I have gone through the comments and tried out nearly everthing but failed – I always have one fixed resolution (1024×768). Has anyone successfully solved this with this or a similar configuration?

  • http://realfiction.net Frank Quednau

    Not working after update to Windows 8.1

  • http://realfiction.net Frank Quednau

    Not working after update to Windows 8.1

  • Pingback: Tech Web Links 2013-12-15 Update | Tech Web Links

  • Pingback: Tech Web Links 2013-12-24 Update | Tech Web Links

  • Pingback: Getting more resolution options in VirtualBox for Windows 8 | Wes Shaddix

  • Pingback: Tech Web Links 2014-1-15 Update | Tech Web Links