Once you have successfully restored your device, follow these best practices to avoid repeating the error:
: Ensure your computer has at least 10GB of free space on the C: drive for extracting files.
Switch to an original Apple OEM cable or a certified MFi (Made for iPhone) cable.