Try and force the iPad into Recovery Mode:
1. Turn off iPad
2. Connect USB cable to computer; leave the other end alone
3. Press and hold the Home button down and connect the docking end of cable to iPad
4. Continue holding the Home button until you see the "Connect To iTune" screen
5. Release the Home button
6. Open iTune
7. You should see "iTunes has detected an iPad in recovery mode"
8. Use iTune to restore iPad
Note: You need to be patient and repeat the above many times to recover your iPad
Reset the iPad, by pressing both home button and the sleep/wake button at the same time at least for 5 secs until you see the Apple logo and the iPad restart. When the iPad restart, unlock your screen by entering th four digits passcode and the nconnect to iTunes, it should be recognized and you can do whatever you want.
I have a much easier possible solution!!
I had this same issue, trying to connect my new iPhone 5s to my Windows computer's iTunes. I was getting two different error messages:
- iTunes could not connect to the iphone because it is locked with a passcode
- iTunes could not connect to the iphone because the device timed out
I found this thread, but did not like the idea of having to restore my iPhone and losing all my settings/data on the phone. After trying several different things, I discovered that I had 5 devices listed under my "Devices" that were authorized, so the real issue was that I had reached my limit. I had several issues with my old iPhone 5s, and had to have it replaced twice. As a result, I had several old iPhones listed under devices that I no longer had. Erasing those solved the problem, and my new phone connected just fine to iTunes. To get rid of the old devices, you can:
-> click on "store" in the upper left corner
-> from the drop-down menu, select "view account"
-> enter your password
-> under "iTunes in the Cloud", click on the blue "Manage Devices >"
-> remove any old devices
This solved my problem. Hope it helps others as well!