id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host 15601,VBoxManage creates corrupted VHD with fixed size => fixed in SVN/5.1.x,schrotti12,,"The following command is used to create a VHD Images for hosts: {{{#!python VBoxManage createmedium disk --filename ""%USERPROFILE%\MyVdisks\disk1.vhd"" --size 8192 --format vhd --variant fixed }}} The VHD file is corrupted as shown in the following diskpart output: {{{#!python C:\Windows\system32>diskpart Microsoft DiskPart version 10.0.10586 Copyright (C) 1999-2013 Microsoft Corporation. On computer: S10 DISKPART> select vdisk file=""C:\\disk1.vhd"" DiskPart has encountered an error: The file or directory is corrupted and unreadable. See the System Event Log for more information. There is no virtual disk selected. }}} Also if it is included into VirtualBox via GUI there are errors: {{{#!python Could not get the storage format of the medium 'C:\\disk1.vhd' (VERR_NOT_SUPPORTED). Result Code: VBOX_E_IPRT_ERROR (0x80BB0005) Component: MediumWrap Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda} Callee: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945} Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001) }}} If added via command line the VirtualBox Manager shows disk as dynamicaly resizeable instead of fixed size. Screenshots can be added if required.",defect,closed,virtual disk,VirtualBox 5.1.0,fixed,vboxmanage createmedium disk fixed,,all,Windows