When you install Windows with USB, you may need to delete some partitions for some reason. However, you may fail to do that, and Windows Setup tells you “We couldn't delete the selected partition”. This post from Partition Magic shows you how to solve the issue.

If there is something wrong with your computer, you may need to clean install or reinstall Windows using a USB drive. Then, when Windows Setup asks you where you want to install Windows, it offers you tools to delete, format, or extend the partitions, or create a new partition.

where do you want to install Windows

However, when you delete a partition, you may receive the “we couldn’t delete the selected partition” error. In addition, the error codes may be various, including 0x80070017, 0x800701b1, 0x8007045d, 0x80070032, 0x80070057, 0x80070001, etc.

The causes of the “Windows Setup we couldn’t delete the selected partition” error may be various, but you can try the following ways to fix it.

Way 1. Format the Selected Partition

If you can’t delete the selected partition, format it first. On the same page, select the partition you want to delete and then click the Format button. Follow the wizard to complete the formatting process. Then, try deleting the partition again. If this method doesn’t work, keep going on.

Error 0x80070057: Windows Could Not Format a Partition on Disk 0
Error 0x80070057: Windows Could Not Format a Partition on Disk 0

Windows could not format a partition? Error 0x80070057 appears when reinstalling Windows 7/8/10? Never mind, for you will get perfect solutions here.

Read More

Way 2. Recreate the Windows Installation Media

First, you should make sure you are using the Microsoft official tool to create the Windows installation media. Second, make sure the Windows installation media creation process is correct and smooth. No accident corrupts the Windows installation image. Third, make sure the USB drive is fine. You can try another USB drive if necessary.

A Complete Guide to Use Windows 10 Media Creation Tool
A Complete Guide to Use Windows 10 Media Creation Tool

Don't know what Windows 10 Media Creation Tool is? Don't worry. This article will tell you what it is and how to use the tool to create installation media.

Read More

Way 3. Delete the Partition Using MiniTool Partition Wizard

MiniTool Partition Wizard is a professional disk and partition management tool. Sometimes, if Windows fails to delete or format a partition, it may solve the issue. Besides, it can create a bootable USB and then you can use this USB to manage the disks and partitions when the PC won’t boot.

How to use MiniTool Partition Wizard to delete a partition when there is no OS or the PC won’t boot? Here is the guide:

MiniTool Partition Wizard DemoClick to Download100%Clean & Safe

Step 1: Connect a USB drive to a well-running computer. Download and install MiniTool Partition Wizard on this computer. Launch this software and click Bootable Media in the top right corner.

MiniTool Partition Wizard Bootable Media

Step 2: On the pop-up window, click WinPE-based media with MiniTool plug-in and then select the USB drive as the media destination. A note window will pop up. Read it and click Yes. The bootable USB will be created and you just need to wait until the process is completed.

create a bootable USB MiniTool Partition Wizard

Step 3: Connect the bootable USB to the computer where the “Windows Setup we couldn’t delete the selected partition” error occurs. Make sure this computer is shut down. Then, power on the computer and press the boot menu key immediately (Esc, F2, F10, or F12) once the PC logo appears. On the pop-up window, select the USB drive to boot your computer.

Tips:
You can also press the BIOS key to enter the firmware. Change the boot device to the USB drive or place it at the top of the boot order. Then, save the changes and the computer will also boot from the bootable USB.
2 Ways to Help You Boot PC From a USB Drive Easily
2 Ways to Help You Boot PC From a USB Drive Easily

This post tells you why you need to boot PC from USB and shows you how to do that in 2 simple ways. You can try them.

Read More

Step 4: After the computer booting from the bootable USB, click the OK button twice. Then, wait until the MiniTool Partition Wizard’s main interface opens automatically. Now, right-click on the partition you want to delete and then select Delete from the context menu.

delete a partition MiniTool Partition Wizard

Step 5: Click the Apply button to execute the pending operation.

click Apply MiniTool Partition Wizard

Way 4. Clean the Entire Disk

If all the above methods don’t work, you can try cleaning the entire disk. Note that this method will delete all data and partitions on the disk. If you have important files on the disk, back up or recover them in advance. To clean the disk, you can use the following 2 ways.

Way 1. Use Windows Installation Media

Step 1: When you get the “Windows Setup we couldn’t delete the selected partition” error, press Shift + F10 or Shift + Fn + F10 to open Command Prompt.

Step 2: Execute the following commands one by one to clean the disk.

  • Diskpart (this will open the DiskPart tool)
  • List disk
  • Select disk * (* is the disk number of the hard drive that you want to clean)
  • Clean
clean a disk in Command Prompt
Also Read:How to Fix Diskpart Clean Not Working on Windows 10/11?

Way 2. Use MiniTool Partition Wizard

Step 1: Boot the computer with the bootable USB and wait until MiniTool Partition Wizard opens. Right-click the disk you want to clean and choose Wipe Disk.

wipe disk MiniTool Partition Wizard

Step 2: On the pop-up window, keep the default option and then click OK.

choose a disk wiping method MiniTool Partition Wizard

Way 5. Check for the Hardware Errors

If all the above methods fail to solve the issue, the reason may be that the hard drive is failing. You can check that using S.M.A.R.T tools. You can also use MiniTool Partition Wizard to check that. If this software detects bad sectors or blocks, the hard drive is failing and you need to replace it.

How to check for hard drive errors using MiniTool Partition Wizard? Here is the guide:

Step 1: Boot the computer with the bootable USB and wait until MiniTool Partition Wizard opens. Right-click the disk that you want to check and choose Surface Test.

check for disk errors MiniTool Partition Wizard

Step 2: On the pop-up window, click Start Now. If bad sectors or blocks are found, they will be marked with red color.

scan disk to find bad sectors MiniTool Partition Wizard

What to do if you can’t delete the selected partition when installing Windows with USB? This post offers 5 solutions.Click to Tweet

Bottom Line

Windows Setup may tell you “We couldn’t delete the selected partition” when you delete a partition during the Windows installation. This post offers you 5 solutions to this issue. If you encounter issues when using MiniTool Partition Wizard to solve the error, contact us via [email protected]. We will get back to you as soon as possible.

  • linkedin
  • reddit