By Cherry / Last Updated May 25, 2020

Windows error code 0x80070057

Sometimes, you need to reinstall Windows 7 to solve some problems. But unfortunately, you may fail to reinstall with receiving an error message: “Windows could not format a partition on disk 0. The error occurred while preparing the partition selected for installation. Error code: 0x80070057 ”.

Error Code

Why the Windows cannot format a hard disk drive to install Windows 7? Typically, this error occurs because the partition that is reserved for system is damaged.

Resolutions for the error

The reserved system partition is an area reserved for the BitLocker encryption and for the restoration of Windows. To resolve this problem, here we provides you two ways.

Method 1. Delete the existing partitions, create a new partition, and continue with the formatting

You can take use of Windows installation disc to format a partition. Following the steps below:

1>. Insert Windows 7 installation disc. Start the installation.

2>. Then, it will show you the Windows 7 logo. Here you need to enter your language and other preferences and click Next to continue.

3>. Then, click Install now.

4>. In this screen, clickI accept the terms of license and then, click Next.

5>. Click Custom (Advanced).


6>. Select Disk 0 partition 1, and click Delete.

Selete Partition 1

7>. Click OK.


8>. Delete Disk 0 partition 2 using the same steps of deleting Disk 0 partition 1.

9>. Then, click New to create new partition.


10>. Define the size of the disk. Click Apply.

Partition Size

11>. Then, it will prompt a window that “To ensure that all Windows features work correctly, Windows might create additional partitions for system files”. Click OK.

Additional Partition

12>. After that, you can select Disk 0 partition 2, then, clickFormat.


13>. It will remind you “The partition might contain recovery files, system files, or important software from your computer manufacturer. If you format this partition, any data stored on it will be lost”. Click OK.


Arrive here, the partition on Disk 0 can be formatted completely. And then, you can complete the installations without problems.

Method 2. Format partition with third party software

Using Windows installation disc does really help you to fix the error Windows could not format a partition on Disk 0. But it need so much operating steps, and you need to do it carefully. Fortunately, this article provides you another easier way to fix the error. That is using the third-party software AOMEI Partition Assistant Standard, which can free help you solve the problem “Windows could not format a partition on Disk 0”. You can follow the steps:

Since Windows could not format a partition on disk 0 and give the error code 0x80070057, you need to format partition under Startup Mode.


  • Prepare an external hard drive for creating bootable disc with AOMEI Partition Assistant.

  • Free downloadAOMEI Partition Assistant Standard.

Step1. Connect the external hard drive to a computer with AOMEI Partition Assistant Standard installed. Using Make Bootable Media to create a bootable disc.

Step2. Then, plug the bootable media to the computer you need to reinstalling. Set computer to boot from the bootable media in BIOS. Boot computer to enter AOMEI Partition Assistant.

Step3.On the main interface of AOMEI Partition Assistant, right click the partition that you are installing Windows 7, select Format Partition.

Format C Drive

Step4. Confirm the prompted window, click OK.

Step5. Then, it will back to the main interface, you can see the partition has been formatted. Here, click Apply at the toolbar to submit the operation.


After formatting, you can exit AOMEI Partition Assistant, disconnect the bootable media and reinstall Windows 7 once again.

Method 3. Format partition using command prompt window

Windows command prompt also can help you format partition on disk 0 for reinstalling. But you also need a Windows installation disc.

1). Boot the computer with Windows 7 installation disc. Select Repair your computer in the following window, and select “Use Recovery Tools...”.

Repair Your Computer

2). Next, select Command Prompt.

3). Type diskpart to open the diskpart command prompt with in administrative privileges.

4). Typelist disk. It will show you a list of disks on your computer.

5). Type select disk [n] to select your disk out of the list above. Here we type: select disk 0.

6). Type clean, it will clean the disk.
7). Type create partition primary, it will create new partition.
8). Type select partition 1.
9). Type active to activate the partition on the disk.
10). Typeformat fs=ntfs to do a full format into NTFS.

11). Type exit when the format is finished. then typeexit to exit from command prompt.
After that, you can reinstall Windows 7 once again.


There are three methods you can use for receiving the Windows error when you reinstalling Windows 7. Using AOMEI Partition Assistant to format partition should be the easiest way. It cannot only help you resolve the problem Windows could not format a partition on Disk 0 when install Windows 7, but also can help you deal with many problems like create partition before installing windows, or solve the problem that Disk Management cannot extent volume to unallocated space, or many other problems. It is a wonderful partition manager that helps you work well with your computer.