How to Enable a Fixed Disk in DiskPart

Written by b. steele
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Enable a Fixed Disk in DiskPart
Microsoft's DiskPart is a powerful utility and can cause complete data loss if you delete or overwrite the wrong partition; use with caution. ( Images)

DiskPart is a command-line disk partitioning utility included with all Microsoft Windows operating systems built on the New Technology, or NT, kernel. This utility allows you to perform a variety of tasks, including creating, deleting, resizing, enabling and disabling partitions and volumes. After you create a new partition on a disk, Windows will not recognise it as enabled unless it's online and assigned a drive letter. You can do both in DiskPart. For each command listed, do not include the quotation marks or commas.

Skill level:
Moderately Challenging


    Bring the Disk Online

  1. 1

    Log into Windows using an account with administrator rights.

  2. 2

    Click "Start," and position your mouse cursor in the "Search" box.

  3. 3

    Type "cmd," and press "Enter."

  4. 4

    Type "diskpart," and press "Enter."

  5. 5

    Type "list disk," and press "Enter." Use the list that displays to determine the physical disk number containing the partition you wish to make into an enabled disk. As a guide, Disk 0 is your master drive and contains your system partition -- it's always online.

  6. 6

    Type "select disk=x" (substitute "x" for the physical disk number you want), and press "Enter."

  7. 7

    Type "online disk" and press "Enter." The utility will bring the disk online and issue a confirmation message.

    Create Volume and Enable

  1. 1

    Type "create partition primary size=xxxx" (substitute "xxxx" for the size you want in megabytes) in DiskPart and press "Enter." If you want the partition to take up all the remaining space on the physical disk, leave out the "size=xxxx."

  2. 2

    Type "format fs=ntfs" and press "Enter." DiskPart will format the new volume (disk), and output a "success" message when finished.

  3. 3

    Type "list volume" and press "Enter." If your new volume has a drive letter assigned to it, you've successfully enabled your disk.

Tips and warnings

  • Do not confuse DiskPart with Diskpart (note the lack of capitalisation). Diskpart is a "light" version of DiskPart included with Microsoft XP's Recovery Console and Windows Vista and 7's Windows Recovery Environment. You can only create and delete partitions with this "light" version. Additionally, do not confuse the meaning of the DiskPart command "active." This command will not "activate" your disk; it will set the selected partition as "active." An active partition is where your computer boots from, and only one may be active at a time. If you set a non-bootable partition as "active" your computer will not boot.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.