Diskpart Windows 10 Install [top] Jun 2026
You do not need an operational operating system to use DiskPart. You can launch it directly from the Windows 10 media creation tool boot screen.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
Press . If you are intentionally installing Windows 10 on an older, legacy BIOS system, type convert mbr instead. Step 5: Create the Primary Partition
Now that Diskpart has prepared the drive, proceed with the standard installation: Click on the setup screen. Select Custom: Install Windows only (advanced) . You will see your drive listed as Unallocated Space .
create partition primary format quick fs=ntfs label="Windows" Use code with caution. diskpart windows 10 install
When installing Windows 10, managing disk partitions is a crucial step. DiskPart is a powerful command-line utility that allows you to create, delete, and manage disk partitions. In this feature, we will explore how to use DiskPart during a Windows 10 installation.
Here are some common diskpart commands used during Windows 10 installation:
On advanced format 4K sector drives (common since 2011), creating partitions without the align=1024 parameter can cause performance degradation. Modern diskpart automatically aligns to 1 MB, but older WinPE versions (pre-1703) may not. Use:
Type select disk X (Replace X with the number of your intended drive, usually Disk 0). You do not need an operational operating system
After running these commands, you can simply type exit twice to close the command prompt and return to the installation wizard. Click on the partition screen, and your drive will appear as "Unallocated Space." Select it and click Next to let Windows automatically create the necessary system partitions.
In the Command Prompt window, type diskpart and press Enter . The prompt will change to DISKPART> , indicating the utility is ready for commands.
3. "Diskpart Has Encountered an Error: Data Error (Cyclic Redundancy Check)."
If Diskpart hangs or freezes during the clean command, it is often a sign of physical sector degradation on an old HDD or an SSD that has reached its write endurance limit. This link or copies made by others cannot be deleted
diskpart list disk select disk 0 clean convert gpt create partition efi size=512 format quick fs=fat32 label="System" assign letter="S" create partition msr size=16 create partition primary format quick fs=ntfs label="Windows" assign letter="C" exit
: Some recovery or OEM partitions cannot be deleted via the standard installer UI; clean removes them instantly.
list disk displays all drives. Accidentally selecting the Windows installation USB drive (usually Disk 1 or higher) and running clean destroys the bootable media.
Press . You will see a list of attached drives labeled Disk 0, Disk 1, Disk 2, etc. Look closely at the Size column to determine which disk is your primary drive. Step 2: Select the Target Disk
For experienced users, DiskPart can handle more complex scenarios.