English Community

Lenovo DesktopsLenovo All In One (AIO) Desktops
All Forum Topics

2 Posts



1 Signins

17 Page Views

  • Posts: 2
  • Registered: ‎06-12-2018
  • Location: ID
  • Views: 17
  • Message 1 of 2

Windows couldn't format the partition (ErrorL 0x80070057)

2018-06-12, 8:56 AM

Baseline :

  • Legacy HDD replaced by new HDD
  • HDD detected by BIOS
  • BIOS conf : AHCI mode; Legacy First;
  • Program Setup : Windows 8.1, and Windows 10

Problem :

  • Drive is detected by Windows Setup
  • Failed when formating partition, with message : "Windows couldn't format a partition on disk 0. The error occurred while preparing the partition selected for installation. Error code: 0x80070057"

4039 Posts



4453 Signins

50422 Page Views

  • Posts: 4039
  • Registered: ‎12-11-2015
  • Location: US
  • Views: 50422
  • Message 2 of 2

Re: Windows couldn't format the partition (ErrorL 0x80070057)

2018-06-12, 10:16 AM

First check to be sure your SATA cable is properly connected, and if you can, try a different cable.


If it still fails, try the following.


  • Boot from the Windows install Media, and at the Install Windows Screen, press Shift + F10  to open a command prompt
  • At the command prompt, type:  diskpart  and press Enter
  • Type:  List Disk  and press Enter   (this will return a list of drives installed on the system, so take note of the drive <disk number> you wish to install to)
  • Type:  Select Disk <disk number>  and press Enter
  • Type: Clean   and press Enter  (Note that this will delete any existing partitions and data on the selected drive)
  • Type:  Exit  and press  Enter  to return to the Windows Installation process and see if you can now install successfully.


Good Luck,



Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop





No, I don’t want to share ideas Yes, I agree to these terms