Error 1015 is a very common error. So, how to fix it just follow the steps:
1. When you get the error message just click “ok”. And close itunes.
2. On your iphone you will see the image of USB cable connecting to itunes
Avoid error 3194:
Windows
Click Start menu > Locate Notepad > Right...