Introduction
There are some cases where you may not be able to do a factory restore (Erase All Content and Settings) on an iPad from the device itself. The most common reason for this is a forgotten passcode. If you cannot access the device settings, you can use iTunes to restore the device from your laptop or PC.
To get started, open iTunes on your laptop or PC, and connect a USB-Lightning cable to a USB port: