Error 0x80070057 during Windows setup usually means Setup cannot format the selected partition because of partition table problems, disk errors, damaged installation media, or an incorrect target disk.

If the disk has data you still need, do not use DiskPart clean yet. Recover files first with Qiling Deep Data Recovery from another Windows PC.
Step 1. Launch Deep Data Recovery. Select the file types you need and click Format Scan to begin.

Step 2. Choose the old Windows or data partition that failed to format, then start scanning it.

Step 3. Preview the found files and select the files you want to recover.

Step 4. Save recovered files to another disk. Clean or recreate the partition only after the data is safe.
Error 0x80070057 can often be fixed by recreating the target partition, but cleaning the disk erases data. Recover files first if the disk is not already backed up.