▷ Failure to format the selected partition (error 0x8004242d)

Contents

The error The selected partition could not be formatted (Error 0x8004242d) found when user tries to format, merge or install the operating system on one drive using the installation media for Windows 7, Windows 8.1 and Windows 10. Most of the affected users who encounter this problem try to clean the installation of their operating system, but this error prevents them from doing so.

error-0x8004242d-8382941Error 0x8004242d. Cannot format the selected partition

In most cases, You will see that this problem occurs due to some kind of inconsistency with the Master Boot Record. It is a missing file or some kind of corrupted file. But regardless of the origin, you can most likely fix it by erasing all partitions instead of trying to reformat them.

If that doesn't work, should try the same operation with DiskPart. This utility will resolve any incompatibility or corruption caused by mass storage controller or mass storage controller.

There is also a rare scenario where this issue will occur due to a conflict between BIOS and UEFI settings. The latter can be solved by disabling the USB boot support while the installation is in progress.

How to solve the problem of $ 0027 Could not format the selected partition $ 0027 (Error 0x8004242d)?

  • Solution 1: erase all partitions

  • Solution 2: clean the hard drive with Diskpart.exe

  • Solution 3: disable USB boot support

Solution 1: erase all partitions

In most cases, this problem will occur due to some kind of corruption within the Master Boot Record. Or the additional partition that Windows needs is missing or contaminated by corruption.

Several affected users who also encountered this problem have reported that they were finally able to fix the problem by booting from the installation media and erasing all partitions instead of trying to format them first..

This won't cause any problems if you planned to do a completely clean install anyway, but it facilitates total data loss in situations where you expected to avoid wiping all partitions.

Fortunately, you can use Windows system image backup before following the instructions below if you want to backup your data safely. To do this, follow these instructions to create a backup of the system image.

Once your important data has been backed up, follow the instructions below to erase all available partitions and fix the problem. The selected partition could not be formatted (Error 0x8004242d):

  1. Insert a compatible installation media and restart your computer. After the initial startup screen, your computer will ask if you want to boot from the installation media by pressing any key.

    press-any-key-15-6814331Press any key to boot from the installation media

    Note: In case you do not have a valid installation media for your version of Windows, here's how to create one. Note that if you want to install from a USB stick, you may need to modify the boot order to include booting from USB.

  2. After successfully booting from the installation media, click Install Now and continue with the initial installation steps until you reach the partition stage. windows-7-install-now-8423623Clicking Install Windows

    Note: You will need to enter a valid password and then select the appropriate version you are trying to install. And finally, you must accept the License Agreement.

  3. When I get to the next message, click Custom: install windows only (advanced). install-windows-only-6882207Install Windows only

  4. Now, once you get to the partition part, start selecting each partition individually and then click Erase. When asked to confirm the operation, click yes. Do this consistently until you have only one unit left (0) unallocated space. deleting-all-partitions-1-9652365Delete all partitions

  5. Now you should be able to create new partitions however you want without encountering the same error. Do this and see if you can complete the installation.

In case you still run into the same problem Partition Format Selected Failure (Error 0x8004242d), scroll down to the next possible solution below.

Solution 2: clean the hard drive with Diskpart.exe

It turns out that this problem can also occur due to an incompatible or corrupt mass storage driver or mass storage driver. If this scenario is applicable, your best chance to fix the problem is to use Diskpart.exe to clean the disk first and then try running Windows setup again.

But keep in mind that you will need a compatible installation media to complete the following steps. Several affected users have confirmed that their operation finally allowed them to format the partitions without encountering the Error while formatting the selected partition (Error 0x8004242d).

Here is a quick guide on how to do this:

  1. Insert an installation media compatible with your version of Windows and restart your computer.

  2. Immediately after the initial screen disappears, you will be asked if you want to boot from the installation media. Do it by pressing any key. press-any-key-15-6814331Press any key to boot from the installation media

  3. Once you get to the initial installation media screen, click Repair my computer in the lower left section of the screen. 2018-12-05_222152-3-1913972Choose “Repair my computer”.

    Note: If you encounter the problem in Windows 10, You can also force access to the recovery menu by forcing 3 consecutive machine outages (shutting down the computer during the boot sequence).

  4. After reaching the next menu, Get started by clicking Troubleshoot in the list of available options. Later, click Command Prompt in the list of Advanced Options suboptions. 40-click-command-prompt-1-3769217Click Command Prompt

  5. Once you are inside the elevated CMD indicator, start typing “diskpart” and hitting Enter to call the Diskpart tool. diskpart-1-8341134Open the Diskpart tool

  6. With the Diskpart utility open, type the following command and press Enter to list all available hard drives.

    list disk
  7. You should now see a record disk. If you have more than one, use your size to determine which one is causing the error you are trying to correct. determine-which-disk-5639522Determine which disk is causing the problem

  8. Once you've figured out which drive is causing the problem, type the following command and press Enter to select the appropriate hard drive:

     sel disk *number*

    Note: note that * number * it's just a placeholder for the number assigned to the affected hard drive. Replace it with a numeric value to select the correct hard drive.

  9. Then type the following command and hit Enter to check if the correct hard drive has been selected:

    that disk
  10. If you have previously confirmed that the correct drive was selected, type the following command and hit Enter to start cleaning your disk using Diskpart:

    clean all

    Note: Please note that once this procedure is complete, all partitions and all data on that hard drive or SSD will be permanently deleted.

  11. Once the procedure is complete, type the following command and hit Enter to exit the tool in the conventional way:

    exit
  12. Close the command prompt window, restart your computer and return to the disk selection screen. This time you should no longer have a problem cleaning installation or merging partitions.

In case you still come across the same error Could not format the selected partition (Error 0x8004242d) even after following the guide above, scroll down to the next possible solution below.

Solution 3: disable USB boot support

Another possible culprit that could end up causing this problem is some kind of conflict between the legacy system (BIOS) and the new counterpart (UEFA). It turns out that a newer machine that includes both could end up giving the error The selected partition could not be formatted (Error 0x8004242d) if UEFI boot support is enabled.

In this case, You can fix the problem by restarting your computer and disabling UEFI boot support by entering the BIOS setup menu. Many affected users have confirmed that this operation was successful in their case.

This is what you have to do:

  1. Turn on your computer and start pressing the setup key as soon as the initial start key appears. Press the key repeatedly until you are inside the BIOS menu. go-into-bios-mode-2-3206825Pressing the configuration key

    Note: In most configurations, the setup key is one of the F keys (F2, F4, F6, F8 and F10) or the Supr. If it doesn't appear on the screen, search online for specific steps to access your BIOS settings.

  2. Once you are in the BIOS setup menu, go to BOOT tab and make sure UEFI Boot Support is disabled.

  3. After applying this modification, save the modifications and see if the problem has been solved by repeating the action that previously caused the problem The selected partition could not be formatted (Error 0x8004242d).

  4. If you can complete the Windows installation, you can reverse engineer the above steps and re-enable UEFI boot support.

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.