There was a problem loading the comments.

How to Extend Windows Disk after Upgrading VPS

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

How to Extend Windows Disk after Upgrading VPS

 

After upgrading your VPS, you may find that you need to extend your Windows disk to accommodate additional data or applications.

There are several ways to extend a Windows disk, including using PowerShell or Disk Manager. 

 

 

Option 1: Extend a volume with PowerShell

 

To extend a volume by using PowerShell, follow these steps.

    1. Select and hold (or right-click) Windows Start, and then select Windows PowerShell (Admin).

    2. Enter the following command to resize the volume to the maximum size.

      For the $drive_letter variable, specify the drive letter of the volume to extend.                                             4e8ceb4f8cecfaaf30fbb575272cd49c0cf4771dde8c34959005ef7ab363d99bcc71cce1aa31ecbd?t=814b01de18a25de3688a3fae529090e7

       
      # Variable specifies the disk drive to extend
      $drive_letter = "C"
      
      # Script gets the partition sizes, and resizes the volume
      $size = (Get-PartitionSupportedSize -DriveLetter $drive_letter)
      Resize-Partition -DriveLetter $drive_letter -Size $size.SizeMax

 

 

Option 2: Extend a volume with Disk Management

 

To extend a volume by using Disk Management, follow these steps.

    1. Open Disk Management with administrator permissions.

      1. In the search box on the taskbar, enter Disk Management.
      2. Select and hold (or right-click) Disk Management, and then select Run as administrator > Yes.


      If you can't open Disk Management as an administrator, follow these steps:

      1. In the search box on the taskbar, enter Computer Management, and then select Run as administrator > Yes.
      2. After Computer Management opens, go to Storage > Disk Management.

    2. Select and hold (or right-click) the volume that you want to extend, and then select Extend Volume. The Extend Volume Wizard opens.

       Note If the Extend Volume option isn't available, see the following section and check for volume extension issues to resolve.

    3. In the Extend Volume Wizard, select Next.

    4. In the wizard, under Select Disks, select how much disk drive space to use to extend the volume.

      The default approach is to use all available empty space (Maximum available) on the disk drive.

      If you plan to create other volumes in the available empty space, you can select a smaller amount of space to use to extend the volume.

      Screenshot of the Extend Volume Wizard that shows how to select the available space to use to extend a volume.

    5. Select Next, and then select Finish to extend the volume.

 


Share via
Did you find this article useful?  

Related Articles

Tags

© Rackzar