

The “Physical Size” field should display the new, smaller size of the virtual disk. Select “Virtual Media Manager” and locate the virtual disk you just shrunk. To do that, open VirtualBox and click on the “File” menu. Once the shrinking process is complete, you can check the size of the virtual disk by opening the Virtual Media Manager in VirtualBox. This may take several minutes, depending on the size of the virtual disk and the amount of used space.ĥ. The VBoxManage utility should start to shrink the virtual disk size.

For example, if the virtual disk is located in “C:\Virtual Machines\Windows 10\Windows 10.vdi”, the command should be “VBoxManage.exe modifyhd “C:\Virtual Machines\Windows 10\Windows 10.vdi” –compact”.Ĥ. Replace “path-to-virtual-disk.vdi” with the path to the virtual disk you want to shrink. Type “VBoxManage.exe modifyhd “path-to-virtual-disk.vdi” –compact” and press Enter. Open the Command Prompt as an administrator.ģ. To shrink the virtual hard disk size of a VirtualBox VM, you will need to use the VBoxManage utility. Step 2: Reduce the Size of the Virtual Hard Disk Copy the “VBoxManage.exe” file to your desktop.

The default location is “C:\Program Files\Oracle\VirtualBox\”.ĥ. Navigate to the installation directory of VirtualBox. Once VirtualBox is installed, open the File Explorer.ģ. Download and install VirtualBox for Windows 11 from the official website.Ģ. Here are the steps to download the VBoxManage utility:ġ. To shrink a VirtualBox VM in Windows 11, you will need to download and install VirtualBox first, and then extract the VBoxManage utility. The VBoxManage utility is a command-line tool that is included with VirtualBox. In this article, we will show you how to shrink a VirtualBox VM in Windows 11. Over time, your virtual machine may need more disk space than you initially allocated for it. As you use the virtual machine, the size of the disk space gradually increases. When you create a virtual machine, you allocate a certain amount of disk space to it. VirtualBox is a popular virtualization software that allows you to run multiple operating systems on a single physical machine.
