Create new volume diskpart

To create a new volume using Diskpart, follow these steps:

  1. Open the Command Prompt as an administrator:
    • Right-click on the Start button and select "Command Prompt (Admin)".
    • Alternatively, you can search for "Command Prompt" in the Start menu, right-click on the result, and select "Run as administrator".
  2. Type the following command and press Enter:
    diskpart

    This will launch the Diskpart utility.

  3. At the Diskpart prompt, type the following command and press Enter:
    list disk

    This will list all the disks on your system, including the ones that are currently in use.

  4. Identify the disk you want to create a new volume on and note its disk number (e.g., Disk 1, Disk 2, etc.).
  5. Type the following command and press Enter:
    select disk <disk number>

    Replace <disk number> with the number of the disk you identified in step 4.

  6. Type the following command and press Enter:
    clean

    This will clear any existing data on the disk.

  7. Type the following command and press Enter:
    convert mbr

    This will convert the disk to a Master Boot Record (MBR) disk, which is required for creating a new volume.

  8. Type the following command and press Enter:
    create partition primary

    This will create a new primary partition on the disk.

  9. Type the following command and press Enter:
    format fs=ntfs quick

    This will format the new partition with the NTFS file system and quickly format the disk (without checking for errors).

  10. Type the following command and press Enter:
    assign letter=<letter>

    Replace <letter> with the letter you want to assign to the new volume (e.g., C:, D:, etc.).

  11. Type the following command and press Enter:
    exit

    This will exit the Diskpart utility.

Your new volume should now be created and ready to use.