How to resize Virtual Box machine

1. Shut down your virtual machine and create security backup of your virtual machine .vdi
2. Open the cmd console and use the following commant to your .vdi path and the total size you want for your virtual machine.

C:\Archivos de programa\oracle\VirtualBox>vboxmanage modifyhd --resize 55000 "D:\MAY_A\MAY_A.vdi

3. Enable your new space on your vm

3.1 Open your virtual machine
3.2 Press Windows + R buttons to open this window and type diskmgmt.msc

3.3 Right click on your old disk volume and press extend

3.4 Select disk and press next. By default will increase all the space you set by cmd.