• Advertisement

Windows Server 2008+, Vista+ - OS - Extending disk partitions

Any software title released for Windows. Articles are posted in "Windows Version - Software Title - Subject" format.

Windows Server 2008+, Vista+ - OS - Extending disk partitions

Postby lmmtux » Tue Aug 28, 2012 2:29 pm

Starting in Windows Server 2008 and Windows Vista, any partition can be extended even the one that the operating system is installed on. There are two ways, with the Disk Management console or the command line.


Extending with the Disk Management console:

  1. Make sure you have a good backup of the partition you wish to modify. Even though extending partitions is supported, it will need to modify the partition table which can affect everything within the partition.
  2. Open the Disk Management console (can be found under Control Panel / Administrative Tools / Computer Management / Disk Management). Note: you will need administrative access.
  3. Locate the partition you wish to extend, right-click it, and select "Extend volume".
  4. If the disk your current partition is on does not have any free space left to extend to, you can select another disk to extend to. But, extending to another disk is not recommended as you increase your chance of losing data if either of the two disks used were to go bad.


Extending with the command line:

  1. Open the command line as an administrator.
  2. Run the "diskpart" utility:
    Code: Select all
    diskpart
  3. List the disks in the system to confirm you will be using the correct one:
    Code: Select all
    list partition
  4. Select the disk that the partition resides on, based on the disks shown above:
    Code: Select all
    select disk 0
  5. List the partitions on the selected disk to confirm you will be extending the correct one:
    Code: Select all
    list partition
  6. Select the partition to extend, based on the partitions show above:
    Code: Select all
    select partition 1
  7. Extend the partition (where the size specified is in MB):
    Code: Select all
    extend size=500

    Note: this will only use any available space on the disk.
lmmtux
 
Posts: 55
Joined: Mon Jul 30, 2012 9:40 pm
Reputation: 0

Return to Microsoft Windows

 


  • Related topics
    Replies
    Views
    Last post
cron