How to resize a VM on a Windows Host
Posted: 19. Oct 2014, 16:28
Since I'm not able to post or respond to the "How to resize a Virtual Drive by @Perryg and @mpack, I'll just post this, for everyones convenienece.
So let's say you have Windows guest VM running on Windows host. You need to resize it, but don't have a clue and already have a bunch of snapshots.
This is how you do it.
No need for any other 3rd party partition utilities!
So let's say you have Windows guest VM running on Windows host. You need to resize it, but don't have a clue and already have a bunch of snapshots.
This is how you do it.
Code: Select all
1. Close your VM
2. Make a clone of the VM (This will ask you to consolidate all snapshots and clone only latest current state.)
3. Now open an admin CMD shell and change the size with: (modify to your system)
VBoxManage.exe modifyhd "F:\allVMs\VirtualBox\W7sp1\W7sp1.vdi" --resize 40960
4. Close and restart VB
5. Open cloned VM
6. Right click on the "My Computer" dektop icon (or equivalent)
7. Select "Manage"
8. Select "Disk Management" under the "Storage" navigation column.
9. On the disk layout select and right-click on the root disk, usually "C:".
10. Choose ""Extend Volume" and all defaults.
11. Restart your cloned VM.
12. Delete or keep you original VM as you wish.