How to Repair Error 0x8004242d ‘Failed to format the selected partition’

Some Windows 10 users report that they can’t format their hard drives and the error message is “Selected partition could not be formatted, error 0x8004242d”. It is also possible that the associated error code is 0x80070057. In this article, we will fix this error with some simple solutions.

There can be many reasons for this problem. For example, the operating system is not compatible with the controller or driver of the drive, there was a problem with the data cable or other hardware, etc. However, we will show you all possible solutions to fix this error.

What caused the error message Selected partition could not be formatted (error 0x8004242d)?

  • The computer’s data cable is loose.
  • The installation drive has a corrupted file system error.
  • The drive controller or driver is out of date.
  • Your Windows system is incompatible with the mass storage controller or mass storage driver.
  • The hard disk drive on which the Windows operating system will be installed is a dynamic hard disk drive.

How to resolve the error message Formatting the selected partition failed (error 0x8004242d)?

Convert a dynamic hard disk drive to a normal hard disk drive

  1. First, make a backup of the dynamic disk that you want to convert into a basic disk (you will delete it).
  2. Press Windows + R to open “Run”.
  3. Type diskmgmt.msc in the Open from Run field and click the OK option.
  4. In the Disk Management window, in the Type column, you will see whether the disks are simple or dynamic.
  5. Right-click each dynamic volume and select Delete Volume.
  6. Then right-click on the disk and select Convert to Basic.

Users can also convert dynamic disks to basic disks using disk partitioning software without losing data. However, only some free versions of disk partitioning software include features to convert dynamic disks to basic disks.

Disabling the UEFI boot media

The 0x8004242d error can also occur if UEFI boot support is enabled on systems supporting both traditional BIOS and UEFI boot mode.

  1. You should press a BIOS setup key (e.g. F2, F4, F6, etc.) after turning on your desktop or laptop computer.
  2. In the BIOS settings, select the Boot tab.
  3. Then select the UEFI/BIOS boot mode option to select Legacy (BIOS) instead of UEFI.

Cleaning the Disk with Diskpart

Cleaning the disk with Diskpart can clear error 0x8004242d (but it removes data from the disk).

  1. Open a command prompt by typing cmd in “Run” and pressing the key combination Ctrl + Alt + Enter.
  2. You can also open the command prompt from the Windows installation window by clicking Computer Repair > Troubleshooting > Command Prompt.
  3. Type diskpart at the command prompt and press Enter.
  4. Type list disk at the command prompt and press Return to display the list of disks.
  5. Type select disk x (replace x with the real disk number) at the prompt and hit Enter.
  6. Make sure you select the correct disk, as clearing the disk will also erase its data.
  7. Type clean all at the command prompt and press Enter.

Frequently Asked Questions

  1. Press the Windows + R key combination on your keyboard.
  2. Now type "cmd" in the search box.
  3. At the prompt, type "chkdsk X: /f" and press Enter. (Replace H with the drive letter of the drive to be repaired).

Format errors are errors caused by improperly structured system registries or missing system files. It indicates that you need to format your hard drive, if it is not formatted you will not be able to access your data, and sometimes it does not allow you to format, giving some errors.

  1. Create a bootable hard disk using a third-party partitioning tool.
  2. Connect the bootable hard disk to the PC and restart the computer.
  3. Press F2/F8/Del to enter BIOS and set the rescue hard drive as bootable.
  4. Save your changes and restart your computer.

Insert the Windows installation disk into your computer and boot your PC from that disk. Select the language you want to install and click Next to continue. In the next window, click Install Now and follow the instructions to continue.