How to change partition to primary using diskpart in Windows 11/10/7? This tutorial from MiniTool shows you detailed steps with pictures. Besides, a diskpart alternative partition manager is introduced to help you convert a logical partition to primary without losing data.

Primary Partition vs Logical Partition

Before learning how to change logical partition to primary using diskpart command line, it is necessary to understand what a primary partition and a logical partition are.

Primary partition: It is a hard disk partition generally used to install the Windows operating system or store files necessary for operating system startup. Only the primary partition can be set as the active partition to complete a series of operations such as handover of startup tasks with the BIOS to boot the system. MBR disks can have up to four primary partitions, and GPT disks support 128 primary partitions.

Logical partition: A logical partition is an MBR hard disk partition created in an extended partition. It cannot be set to active status, which means that it cannot be used to boot the system. Logical partitions are generally used to store personal data.

Also Read: Primary Partition VS. Logical Drive: Their Exact Features

Next, we are going to show you how to change partition to primary using diskpart.

How to Convert Logical Partition to Primary Partition Using CMD

Diskpart is a Windows built-in partitioning utility that helps you manage your disks and partitions by using command lines. With diskpart, you can create primary/logical partitions, delete partitions, assign a partition drive letter, format a partition, etc.

Listed below are the steps to convert partition to primary diskpart.

Note:
Converting the logical partition to primary with diskpart will delete all files on the original logical partition. Before proceeding with the steps below, please make sure there are no important files on that drive. Or you can use MiniTool ShadowMaker to create a file backup. This data backup software enables you to back up files for free within 30 days.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

Step 1. Press the Windows + R key combination to open the run window.

Step 2. In the input box, type diskpart and click OK. Then select Yes in the pop-up UAC window.

Step 3. In the diskpart window, type the following commands. You need to press Enter after each command.

  • list disk
  • select disk # (# represents the disk number listed on the screen containing the partition to be converted to the primary partition)
  • list partition
  • select partition # (replace # with the partition number of the logical partition that you want to change to primary)
  • delete partition
  • create partition primary
convert logical partition to primary

As mentioned before, although you can use diskpart to change a logical partition to primary, this method will cause all data on the logical partition to be deleted. Is there a way to convert logical partition to primary without data loss? Fortunately, the answer is Yes. Keep reading to get the steps.

Tips:
If you have the demand for hard drive data recovery, you can use MiniTool Power Data Recovery. It is professional data recovery software that can effectively recover almost all types of files from HDDs, SSDs, USB drives, SD cards, and so on. Its free edition supports free file preview and 1 GB of free file restoration.

MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe

How to Check Disk Partitions & How to Recover Lost Partitions
How to Check Disk Partitions & How to Recover Lost Partitions

This post shows you how to check disk partitions in Windows 10. Besides, you can learn how to recover deleted/lost drive partitions here.

Read More

Diskpart Alternative to Change Logical Partition to Primary

To convert a logical partition to primary or vice versa without deleting files, MiniTool Partition Wizard is the best choice.

This partition manager excels at creating/deleting/resizing/moving/splitting/formatting partitions. Besides, with this reliable disk management tool, you can clone Windows 10 to SSD, convert MBR to GPT, change the file system, etc.

Here are the steps to change the logical partition to primary.

Tips:
The primary partition and logical partition conversion feature is available in the free edition of MiniTool Partition Wizard.

Step 1. Download, install, and launch MiniTool Partition Wizard Free.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Step 2. On its home page, select the logical partition. Then pull down the left menu bar to select Set Partition as Primary.

select Set Partition as Primary

Step 3. Finally, click the Apply button in the lower left corner to make this change take effect.

MiniTool Partition Wizard is a good option for changing logical partitions to primary without losing my data.Click to Tweet

How to Delete Unallocated Space in Windows 10/11
How to Delete Unallocated Space in Windows 10/11

Is it possible to delete/remove unallocated space in Windows 10? The answer is Yes. This guide will show you how to delete unallocated space.

Read More

To Sum Up

In a word, this post provides you with detailed instructions to change partition to primary using diskpart. Besides, if you need to recover lost data from the original logical partition, you can use MiniTool Power Data Recovery.

MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe

Also, you can use MiniTool Partition Wizard Free to convert logical partitions to primary or vice versa.

Should you have any questions when using MiniTool software, feel free to send an email to [email protected].

  • linkedin
  • reddit