# How to extend partitions or revert shrunk partitions Last Updated On: 17 Oct 2025 2 minutes read This document will explain the steps to extend partitions or revert shrunk partitions. This can be done in two ways, - Using Windows interface - Using command line interface ## Using Windows Interface To extend a basic volume partition using windows interface, follow the steps given below, 1. Run **_diskmgmt.msc_** and open disk manager. 2. You will be able to view the available partition volumes now. Right-click the basic volume you want to extend. 3. Click **Extend Volume** and follow the on screen instructions to complete the extending process. ## Using a Command line interface To extend a basic volume using a command line interface follow the steps given below, 1. Open a command prompt and run command **_diskpart_**. 2. At the DISKPART prompt, type **list volume**. Decide on the number of the simple volumes you want to extend. 3. Now type **select volume **. This selects the basic volume's volume number that you want to extend into contiguous empty space on the same disk. 4. Type **extend [size=]**. This will extend the selected volume to desired size in megabytes (MB).