How to Resize a VirtualBox Disk in Windows

5 Feb

If you created your VirtualBox .vdi disk too small, there is a simple utility to increase the size of the disk. 

  1. Leave VirtualBox open, but stop the VM
  2. Open a command prompt (don’t use an Administrative command prompt unless VirtualBox is running as Administrator)
  3. Use the VBoxManage.exe application to set the new size in MB

Here is an example resizing to ~70gb.

You’ll then need to start your VM and resize your partition (or create a new partition) to take advantage of the space.

If you get an error that looks like the below then vboxmanage.exe was unable to communicate with the VirtualBox application.  Try changing your command prompt (either to an Administrator prompt or a non-elevated prompt) and restarting the VirtualBox application.

One Reply to “How to Resize a VirtualBox Disk in Windows”

  1. Pingback: Resize .vdi Virtualbox file in Windows | CCG TechBlog

Leave a Reply

Your email address will not be published. Required fields are marked *