You may use the following commands to extend a partition in Windows Server 2008 R2.

  1. Open a command prompt
  2. diskpart
  3. list volume
  4. select volume (volume ID)
  5. extend (size) (if no size specified, it’s expanded to the maximum)