ITunes Errors/40xx

From The Apple Wiki

Error 4013

  • Connection to device is lost after the "Preparing iPhone for Restore" step but before the phone is actually wiped causing it to boot normally. Check USB connections and try again.