Updating/Restoring your iDevice, process takes ages, all looks good, last little final check, shit, Error 4005.
WTF? No real help offered by Apple. Internet doesn’t know either. Dammit!
Press Win + R, type Services.msc, press enter. Scroll down to Windows Firewall. Enable it, then start the service. Now restore your iPhone.