ITunes could not restore iPhone. Unknown Error 21?

I've tried everything, and it won't work. It won't restore my iPhone 3. ITunes will not restore it. Error 21. I've uninstalled then reinstalled iTunes. Also, how do I claim ownership of host file or whatever? I tried watching this video but it's such bad quality I couldn't do it. I'm just so frustrated, please help me.

You may need to uninstall and reinstall components of itunes, once you remove all components of itunes on a Windows Comp you can install each component separately in the order online in HT1923. On a mac you need to download the latest version and overlap original.

Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:

http://www.apple.com/.../download/

Download and install the free trial version of WinRAR:

http://www.rarlab.com/

Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").

Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.

(If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)

Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?

If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • Unknown iPhone passcode set by unknown person? A passcode has been set on my iPhone without me knowing, now it is locked up. It says here to connect it to my computer and back up then restore my iPhone. Will this clear everything off my phone or will it be the same as it was before it got locked? I have only attempted unlocking it about 5 times in fear of disabling it. I do not want to back up then restore it if it will clear everything off and transfer it to the computer. Are there any alternatives to unlocking my iPhone?
  • Trying to restore jailbroken iPhone 4, getting Itunes error 3194 and error 11 I want to wipe my jailbroken iphone 4, on ios 5, so i can update to ios 7. I used tiny umbrella and managed to get past the 3194 error, but then I'm getting error 11. I have tried to erase and reset through the phone only, but it simply shows an endless loading ticker, and not the apple logo and loading bar. How can I reset my phone? Thank you for anyone who can help! I also have the latest itunes
  • Restore iphone, but then on itunes says error 9006? So i wanted to update to ios8 and then suddenly the logo of itunes came up so i connected my iphone to itunes and then it said to restore it but then it said error 9006 I don't know what to do anymore?
  • Itunes can't connect to this iPhone 5 unknown error First time i've had an apple id, iphone etc, downloaded the newewst itunes a few days ago, got my iphone 5 yestarday but it keeps saying this message, i'm signed in with my apple id on both and i only have one id, won't let me sync or anything, anyone know how to fix?