Difference between revisions of "Expand disks using Diskpart"

From Tech-Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]
 
'''[[Microsoft#Misc|Back to Misc]]'''
 
'''[[Microsoft#Misc|Back to Misc]]'''
 +
 +
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.
  
 
  <nowiki>
 
  <nowiki>
Line 21: Line 23:
 
  Volume 1 is the selected volume.
 
  Volume 1 is the selected volume.
  
DISKPART > Extend Size=10000 ("10000 will expand the disk by 10GB as an example, if no size is specified all available space will be allocated to the partition") Disk Part successfully extended the volume.
+
DISKPART > Extend Size=10000  
 +
Disk Part successfully extended the volume.
  
 
DISKPART > Exit
 
DISKPART > Exit

Revision as of 20:23, 26 June 2018

Back to Misc

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