Expand disks using Diskpart
From Tech-Wiki
Revision as of 19:23, 26 June 2018 by Fabricio.Lima (Talk | contribs)
In example below it will expand the disk by 10GB, if no size is specified all available space will be allocated to the partition. Keep in mind that Windows 2003 doesn't allow to expand system volume.
DISKPART > Select Disk 0 ("This assumes that DISK 0 is your boot disk") Disk 0 is now the selected disk. DISKPART > Detail Disk Controller Type SCSI Disk Device Disk ID: 2FE43460 Type : SCSI Bus : 3 Target : 0 LUN ID : 0 Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 1 C NTFS Partition 68 GB Healthy System DISKPART > Select Volume 1 Volume 1 is the selected volume. DISKPART > Extend Size=10000 Disk Part successfully extended the volume. DISKPART > Exit