Updated by

Sherly

Written by

Linda

Last updated on April 22, 2024

Windows 10 Upgrade: Error 0x8004242d
I'm receiving error 0x8004242d when formatting the hard drive. Any suggestions would be appreciated. - Posted by Dave77Mad from Microsoft on the Microsoft Community

The main points to fix “We couldn't format the selected partition (Error 0x8004242d):

1. Error 0x8004242d: During the installation of Windows, a window pops up displaying an error message stating, "Unable to format the selected partition. Error: 0x8004242d."

Failed to format the selected partition - Error 0x8004242d

The fixes for this issue are outlined below; be careful as you try each one.

Method 1: Format with Partition Master Formatting with Partition Master is a solution that works for all levels of Windows users.

Here's a quick navigation to all the potential fixes. Proceed to the next troubleshooting method now to get rid of the 0x8004242d error from your computer:

Please provide the English text that needs to be translated into Chinese.

Failed to format the selected partition error

Error 0x8004242d: The selected partition cannot be formatted.

If you're also encountering the unable to format selected partition issue, don't worry. In this section, you'll learn about the factors that prevent you from installing the Windows OS on the target disk.

So, what can cause the 0x8004242d error during the Windows installation process? Check the list below.

Causes of the "We can't format or partition the selected drive 0x8004242d error":

    • The file system on the installation disc is corrupted. • Windows is incompatible with the storage controller or storage driver. • The storage controller or storage driver is outdated. • A data cable in your computer might not be seated properly. • The hard drive you're installing the Windows operating system on is a dynamic disk.

You might also be interested in:

Related Articles

Failed to Format Partition on Disk 0 - Error 0x80070057

In addition to error 0x8004242d, there is another similar error 0x80070057 that might stop you from installing the Windows OS. Click to Fix It Now!

Unable to Format Partition

So, how to fix the 0x8004242d error – “The selected partition cannot be formatted” and make Windows install on the target partition again? Proceed with the solutions from the next section to make the disk available for Windows installation again.

How to Fix Format Failure on Selected Partition | Error Code 0x8004242d [4 Methods]

After figuring out the reasons that stop you from formatting disk partition for Windows 10/8/7 installation, it's time to find the best solution to fix the formatting error 0x8004242d.

Quick fix: ​

    • Open the computer case and check the drive cables. • If they are loose, tighten them. • Then restart the computer.

If this quick fix works, congratulations! You can stop here. If not, don't worry. Continue with the guide below to get it fixed.

Warning
Please note that the upcoming repair may result in data loss. Make sure to back up any important files on the target disk first. Backup software can come in handy.

Solution 1: Format the selected partition with a formatting tool

When the target disk encounters file system corruption or an unknown disk error, you may encounter the error message "We can't format the selected partition (0x8004242d)" while attempting to format the partition to install Windows 11/10 or Windows 8/7.

Fortunately, you can download Partition Master Tool from here to format from bootable disk and then finish Windows installation without any problem.

1. Create a Partition Master Bootable CD/DVD/USB

Step 1. To create a bootable tool disk, you need a storage medium such as a USB drive, a flash drive, or a CD/DVD disc. Connect it to your computer properly.

Step 2: Launch Partition Master, and then on the left side, find “Bootable Media”, click it.

Step 3: When the drive is detected, you can choose between USB or CD/DVD. However, if you don't have a storage device at hand, you can also save the ISO file to your local drive and burn it to media later. Click on "Create" after selecting your preference to start the process.

    • Read the warning, and then click Yes.

Step 4. When it's done, you'll see a pop-up asking you whether you want to boot your computer from the bootable USB.

  • Restart Now: This will restart your computer immediately and boot from the installation media, allowing you to manage disk partitions without an operating system.
  • Finish: Choose this if you do not want to restart now, but will be using the bootable USB device on a different computer.
Select to boot your computer from the USB drive.

Note: To use the bootable disk on a new computer, you need to restart the target computer and press F2/F8/DEL to enter BIOS, then set the USB bootable disk as the first boot device.

Wait patiently, and your computer will automatically boot from the USB media and load the WinPE tool desktop.

Enter the WinPE desktop

#2. Boot the PC from the bootable utility disk

Step 1: Connect the bootable USB drive to your computer.

Step 2. Restart your computer and press F2/F8/Del to enter the BIOS.

Step 3. Set the bootable USB tool as the boot drive, save your changes, and restart your PC.

Method 3: Format the target partition with Partition Master

After booting from the bootable disk, you can use the Partition Master tool to carry out the formatting process.

Here are the steps to fix the "Format Partition Failed" error:

Step 1: Run Partition Master, right click the hard drive partition you want to format and choose “Format”.

Format Hard Disk Partition - Step 1

2. In the pop-up window, set “Volume label”, “File system” (NTFS/FAT32/EXT2/EXT3/EXT4/exFAT) and “Cluster size” for the partition to be formatted, then click “OK”.

Format Hard Drive Partition - Step 2

Step 3: You'll then see a warning prompt. Click “Yes” to proceed.

Format Hard Disk Partition - Step 3

4. Click “Perform 1 Task” to check the changes, and then click “Apply” to start formatting the hard drive partition.

Format Hard Drive Partition - Step 4

Solution 2: Delete all partitions and create a new volume

In addition to file system corruption, you may also encounter the “Failed to format the selected partition” error during Windows installation if the file system on the target drive partition is not supported by Windows.

Here, you can still get help from tools like Partition Master:

Step #1: Create and Boot from the Partition Master Bootable Disc

Step 1. Create a bootable disk with Partition Master.

Step 2. Connect the bootable disk to your computer and restart your machine.

Step 3. Press F2/F8/Delete to enter the BIOS and set your boot disk to Boot Drive.

Step 4: Save the changes and restart your computer.

"#2. Delete all partitions"

Step 1. Launch AOMEI Partition Assistant and then click "Partition Management".

Before deleting any partitions on a disk, make sure that you have backed up important data.

Step 2: Select to delete a specific partition on the hard drive or delete all partitions.

  • Delete a Partition: Right-click the partition you want to delete and select "Delete".
  • Delete All Partitions: Right-click the hard disk where you want to delete all partitions and select "Delete All".

Step 3: Click "OK" to confirm the removal.

Step 4: Click on "Run the xx Task" and then click on "Apply" to save your changes.

0:00 - 0:26 Remove a single volume; 0:27 - 0:53 Remove all partitions.

Important Note
You can now go to Disk Management to check if the target disk is a dynamic disk.
If it is, you need to first convert dynamic disk to basic disk.

Create new NTFS volume

With the disk confirmed as “Basic,” you can now create a new partition for your Windows installation:

Step 1: Open Disk Management and right-click on the unallocated target disk.

Step 2. Select “New Simple Volume,” assign a new drive letter to the disk, and choose “NTFS” as the file system.

Create a new partition on the target disk to fix error 0x8004242d when installing Windows Create a new partition on the target disk to fix error 0x8004242d when installing Windows

Step 3: Select to add all the space to the same partition, and click “OK” then “Finish.”

After that, you should be able to proceed with the installation of the Windows OS on the target disk without running into error 0x8004242d.

Fix 3: Clean up the disk with the Diskpart.exe utility

Using Diskpart to clean the problematic disk might fix the formatting error. However, all partitions and data on the disk will be permanently deleted. Back up the drive first if the data is useful.

<Step 1> Launch the Command Prompt as an administrator.

Step 2. Type diskpart at the command prompt, and then press Enter.

Step 3: Type list disk and press "Enter."

Examine the output of the command to identify the number of the disk you want to clean up.

4. Type select disk # (replace # with the number of the drive you want to clean) and press Enter.

5. Type clean and press ↵ Enter. This will delete all partitions and data on the selected disk!

Clean up the target disk with cmd

When you see the DiskPart successfully cleaned the disk message, the partition has been cleared.

6. Type create partition primary, and press Enter.

Step 7. Type format fs=ntfs and press Enter.

Encountered error 0x8004242d when creating and formatting the target disk partition

Step 8: Type a new drive letter, and then press Enter.

Step 9. Type exit and press Enter to close the Command Prompt.

Then, close the Command Prompt window and proceed with installing the Windows operating system on the drive.

Fix 4: Format the partition during the Windows installation

To resolve errors such as 0x8004242d or 0x80070057, you might try deleting all partitions, creating new ones, and then formatting them.

Step 1: Run the Windows installer, such as the Windows installation media.

Step 2: Click on Install Now. Choose I accept the license agreement, then click Next.

Step 2: Click on "Customize (Advanced)."

Windows installer

Step 3: Select the partition you want to delete, and then click "Delete".

Delete disk partitions in Windows

Caution:
If you have multiple partitions, select each one individually for deletion. You will then see an Unallocated space. Select New to proceed.

Step 4: Delete any existing partitions on the target disk, then click "Create New Partition". Select the new partition and click "Format".

What to do after fixing error 0x8004242d? Install Windows on the disk

On this page, we've gathered 4 reliable methods to help you fix the “Format the selected partition failed. Error: 0x8004242d” issue when installing Windows.

To fix the issue more efficiently and easily, you can use the Partition Master tool to boot your PC from a bootable disk and format the target disk to get rid of the 0x8004242d error.

After completing the above steps, you should be able to install Windows 10/8/7 without any issues. For a step-by-step guide, refer to the article Install Windows 10/8/7 for assistance. You may encounter other different problems during the Windows installation, such as “We couldn't create a new partition or find an existing one.” Don't worry; feel free to contact our support team at techsupport@tools.com. Our Partition Master is always ready to help.

Frequently Asked Questions about Error Code 0x8004242d: We were unable to format the selected partition

Some of you might still have questions on how to fix the “The selected partition cannot be formatted” or “We can't format the selected partition” error, so read on and find the answers below.

1. How do I fix error code 0x80070057?

Error 0x80070057 typically occurs during the installation of the Windows operating system when the System Reserved Partition is corrupted. A direct solution to this error is to delete the existing partition, create a new one, and proceed to format it during the Windows installation process.

What is error 0x8004242d?

Error code 0x8004242d signifies that the Windows installation process could not be completed because the installer was unable to format the selected partition. This error can be caused by various issues, such as improperly connected data cables, outdated storage drivers, a damaged installation disk, or hardware problems.

If you encounter this, don't worry; you can jump back to the solutions above on this page and quickly eliminate this error.

3. How do I fully format a partition?

To completely format a hard drive partition, you must first back up all existing important data to another location. Then, you can format the partition using tools like Windows File Explorer, Disk Management, or Partition Master.

Here, you might try using File Explorer for assistance:

    1. Open File Explorer, right-click on the target partition, and select "Format." 2. Then, assign a new file system format to the partition and click "Start." 3. Finally, click "OK" to complete the formatting of the partition.