Export (0) Print
Expand All

Expand vdisk

Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012

Expands a virtual hard disk (VHD) to the size that you specify.

noteNote
This command is only applicable to Windows 7 and Windows Server 2008 R2.

expand vdisk maximum=<n>

 

Parameter Description

maximum=<n>

Specifies the new size for the VHD in megabytes (MB).

  • A VHD must be selected and detached for this operation to succeed. Use the select vdisk command to select a volume and shift the focus to it.

To expand the selected VHD to 20 GB, type:

expand vdisk maximum=20000

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft