First I tried it normally. Then I found an apple support website and tried a few things.
I uninstalled/reinstalled iTunes (64bit) that is compatible with my pc. I updated my operating system and restarted. I tried it again and it wouldn't restore. Gave me a code 9 error and once or twice a code 14 error.
I read code specific help and found it was likely to do with the usb hub. I tried restore again many times with three different cables on three different usb connections on my pc and then done the same on my laptop. Both computers are reliable. It didnít work.
When that didn't work I tried a restore in dfu mode, same problem. (code 9 or code 14)
The furthest I've been able to come is the restoring bar fills up about 10% (thereís no percentage Iím just guessing it was 10% by how much the bar filled up) every time before it gives the error and fails.
It's the ipad 2 white version with 3g and 16gb. Like I said my computers are reliable. I just want it working because I use it for everything. I ditched using my pc for it because itís so awesome.
P.S The reason I attempted to restore was because there were too many useless apps and it started freezing once in a while, I assumed the apps were doing it. The problem is when I tried restoring it deleted my iOS and doesn't restore it.