Article ID: 000059417 Content Type: Troubleshooting Last Reviewed: 11/07/2022

How to Create a Primary Partition Using Diskpart

Environment

Windows 7 family*, Windows 8.1 family*, Windows 8 family*, Windows® 10 family, Windows Vista family*, Windows XP family*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Steps to remove existing partitions in the Intel® SSD and create a new primary partition using the Diskpart utility

Description

Unable to use my SSD. Cannot access the drive.

Resolution

Diskpart is a Windows* CLI utility that can be used to manage the storage devices. To clean the drive and create a new primary partition, follow the steps below:

Note
  • This process will delete all data and partitions in the drive. Back up your data before following these steps.
  • Depending on the system, the process may take from minutes to several hours to complete.
  1. Open the Command Prompt as Administrator.
  2. Run the command diskpart
  3. Run the command list disk to see all storage devices currently connected and recognized in the system.
  4. Run the command select disk <index_number> to select the desired drive.​​​​​​ Use the index number associated to the drive, for example select disk 2.
  5. Run the command clean all to remove the partitions and data from the drive.
  6. Run the command create partition primary to create a partition of the full size of the drive.
  7. Run the command format override fs=NTFS label=<partition_label> to set the file system and volume label. Use the label of your preference for the volume.
  8. Run the command list volume to see all volumes in the available storage devices.
  9. Run the command select volume <index_number> to select the newly labeled volume. Use the index number associated to the proper volume, for example select volume 3.
  10. Run the command assign letter=<volume_letter> to assign a new letter to the volume. Use the letter of your preference for the volume, for example assign letter=D.
  11. Run one more time the command list volume to see the new letter assigned to the new volume.
Additional information

More details about Diskpart and other available options in this utility can be found in the following sites: