Error code

iOS 4000

IOS4000
System Error Code· A POSIX/system errno returned when a system call fails.

What it means

Unknown error — iTunes or Finder encountered an unspecified failure during the restore..

How to fix it

  1. Restart the computer and retry.
  2. Uninstall and reinstall iTunes on Windows.
  3. Make sure no other apps are using the device (e.g. iCloud sync).
  4. Put the device in recovery mode manually and retry.

Not affiliated with iOS. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.