Here are some best practices to keep in mind when using diskpart:
"Virtual Disk Service error: The clean is not allowed on the disk containing the current boot..." diskpart windows 10 install
: Type clean . This removes all partitions and formatting, leaving the disk as "Unallocated Space". Convert Partition Style (Optional but Recommended) : For modern UEFI systems: Type convert gpt . For older Legacy BIOS systems: Type convert mbr . Here are some best practices to keep in
At the X:\Sources> prompt, type:
and press Enter. This deletes all partitions and data on that drive. and close the window. Continue Setup: diskpart windows 10 install