I need more space in Windows 11

Discussions about using Windows guests in VirtualBox.
Post Reply
LPIII
Posts: 29
Joined: 18. Jun 2022, 01:23

I need more space in Windows 11

Post by LPIII »

I'm on a Windows host. I want to know why the actual space of my guest didn't increase to the max of the virtual size and how I can fix this?
Virtual_Media_Manager 01-08-2022 12⦂22⦂58⦂712 PM.png
Virtual_Media_Manager 01-08-2022 12⦂22⦂58⦂712 PM.png (40.38 KiB) Viewed 1726 times
Windows_11_Pro_64-bit_[Running]_-_Oracle_VM_Virtua 01-08-2022 12⦂22⦂32⦂404 PM.png
Windows_11_Pro_64-bit_[Running]_-_Oracle_VM_Virtua 01-08-2022 12⦂22⦂32⦂404 PM.png (58.59 KiB) Viewed 1726 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: I need more space in Windows 11

Post by mpack »

If you write to every sector then the VDI will indeed expand to max size. It can't not.

The only thing I'm not sure about is if 1MB of zero bytes counts as 0 or 1MB in the "actual size" column.

I will note that 32GB is rather small for Windows 11 - the official minimum hardware spec says 64GB.

Also see: How to resize a Virtual Drive.
LPIII
Posts: 29
Joined: 18. Jun 2022, 01:23

Re: I need more space in Windows 11

Post by LPIII »

After I increase the space. The vertical machine manager, I ran the below command at the command line and need help:

Code: Select all

C:\windows\system32>VBoxManage modifyhd "C:\Users\LPIII\VirtualBox VMs\Windows 11 Pro 64-bit/Windows 11 Pro 64-bit.vdi" --resize 60000
'VBoxManage' is not recognized as an internal or external command,
operable program or batch file.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: I need more space in Windows 11

Post by mpack »

For some time now you have been able to resize drives using a slider inside the GUI. Many will find that easier than command line.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: I need more space in Windows 11

Post by scottgus1 »

LPIII wrote:'VBoxManage' is not recognized as an internal or external command,
operable program or batch file.
'Vboxmanage.exe' resides in the Virtualbox installation folder. On Windows hosts that's usually 'C:\Program Files\Oracle\Virtualbox'. Usually, 'C:\Program Files\Oracle\Virtualbox' isn't in the host's PATH system variable, so Windows can't find Vboxmanage.

A couple of options:
  • run CD "C:\Program Files\Oracle\Virtualbox" before running Vboxmanage commands.
  • put "C:\Program Files\Oracle\Virtualbox" in your Windows host's PATH
  • use Mpack's Vboxmanage-anywhere batch file here: viewtopic.php?f=25&t=85626
Post Reply