How to set up a hard drive and partition in Windows

Updated: 07/13/2023 by Computer Hope
Microsoft Windows logo

Unlike earlier versions of Windows, such as Windows 98, the fdisk command is no longer used to set up partitions. If you've installed a new hard drive on a computer that's running Windows and want to change its partitions or divide the disk, use the Windows Disk Management tool. However, if you still prefer a command line interface to set up drives, you can use the diskpart command.

Tip

Users may also set up partitions during the Windows installation process. For further assistance with installing Windows, see: How to install the Microsoft Windows operating system.

Note

To set up a new hard drive or partitions in Windows, you must have administrative rights.

Note

To partition an external USB (Universal Serial Bus) hard drive, you must be running Windows 10 Creators Update or later.

How to open Disk Management

Tip

Once Windows Disk Management is open, you'll be able to view the partitions.

Windows 11, 10, 8, and 7

From the Windows desktop, press the Windows key, type Create and format hard disk partitions, and press Enter.

Windows XP and 2000

  1. Click Start, then click Run.
  2. In the Run text field, type diskmgmt.msc and press Enter.

Windows Disk Management

How to set up a new drive

  1. The Windows Disk Management tool should look similar to the image above. Any disks not yet set up are shown as Not Initialized and Unallocated.
  2. Right-click the disk you want to set up and select Initialize Disk. If you are working with a disk already set up, skip to the next section.
Tip

If you're running a more recent version of Windows that supports GPT (GUID Partition Table), you are prompted to select a Partition Style. For most users, leaving as MBR (Master Boot Record) is sufficient. If you're setting up a drive or partition larger than 2 TB, or you want to use the latest partitioning style, select GPT.

GPT or MBR

  1. Click the OK button in Windows. button.

How to create or add a partition

Tip

If you are unfamiliar with any of the terminologies in the following steps, the next section should be helpful to you.

  1. Once the drive is initialized, right-click it.
  2. Select New Partition or New Simple Volume from the drop-down menu.

Selector for a new simple volume.

  1. A New Simple Volume Wizard opens. Click the Next button in Windows button.
  2. Specify the size of the partition you want to create, and click the Next button in Windows button.

Creating a new volume in Windows

  1. Select a drive letter for your new partition, and click the Next button in Windows button.

Drive letter for a new volume

  1. Ensure the drive format is NTFS (NTFS File System), change the volume's name (optional), and click the Next button in Windows button.

Format for a new volume in Windows

  1. Click the Finish button in Windows button, and your new partition appears.

New volume that is created in Windows

Further information on partitions

Partition or Volume Size - By default, the size is the maximum capacity in MB of the drive. If you want the drive to have multiple partitions, change the size to that which you desire. The remainder of the drive can be allocated later and, if you specify the maximum size, you can also shrink this size later.

Drive letter or Path - Each drive or partition in Windows can be assigned an available drive letter. Most Windows users prefer this setting. However, versions of Windows that support NTFS can also mount a drive to a folder on an existing drive. If you plan on using the drive to store only a specific type of file, such as pictures, music, or programs, this is especially useful.

Format - The format of the drive specifies the type of file system you want to use on the computer. For most users, we highly recommend leaving it at the default NTFS file system. Other options may include FAT32 or exFAT, depending on your version of Windows.