Having problems increasing disk size of Windows 10 VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
anto554
Posts: 1
Joined: 2. Apr 2020, 03:04

Having problems increasing disk size of Windows 10 VM

Post by anto554 »

Hi all,

Im new to virtual machines. I have setup a Windows 10 WM but only loaded it with 25GB of disk space when starting. I am now needing extra memory but i keep getting errors when trying to add more disk space.

Like i said im completely new to this but the code im using is :

vboxmanage.exe modifymedium "C:\Users\antoi\VirtualBox VMs\Virtual PC W10\Virtual PC W10.vdi" --resize 60999

I have also screenshotted errors im currently getting, hoping someone can help me out with this as i have no idea how to fix this.

gyazo. com/8b2f73246057e1664dfba978de40a346

gyazo. com/da44be99973f5f29ff746cf165c6b75c

gyazo. com/4b1be3d18ecce3f9039b2a00fcd9d442
Attachments
1y5wc198.png
1y5wc198.png (32.43 KiB) Viewed 420 times
Last edited by mpack on 2. Apr 2020, 10:42, edited 2 times in total.
Reason: Add local attachment.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Having problems increasing disk size of Windows 10 VM

Post by mpack »

Please attach images locally - if you must. Or simply tell us what the error message is. I looked at your three screenshots, only one showed an error message, so I modified your post to include it.

The error message is "Not supported" meaning it can't do what you asked. This would be for one (or more) of three reasons.
  1. The file is not actually in VDI format, i.e. someone just tacked that extension on another file.
  2. The VDI was created with the fixed size flag, hence is not resizable.
  3. Despite what you say about the VDI being 25GB (25600MB), the actual size is already >= 60999MB (59.57GB).
Trying cloning the VDI using CloneVDI, with the "Keep UUID" option set. It will cope with any of these problems except the first. The last is also a problem but CloneVDI will at least make the current size clearer.
Post Reply