I Keep getting an error saying unable to save, and path wrong, to that effect when trying to save shsh hosts file. I am not able to save hosts files, am running Windows 7, and I have an iPad2 trying to restore.
Submitted by: Richard from Garden City, Idaho
Hello Richard! Did you know that by default, 'system' is the owner of the hosts file? This is why in order to fix the hosts file error, you will need to access and modify the system file located under C > Windows > system32 > drivers > etc > hosts to map an IP address to a name. We have prepared two tutorials to fix the hosts file error, so all you need to do is follow the steps as described below.
How to modify the hosts file in Windows Vista or Windows 7 (1)
Before we start our tutorial, we would like to inform you that you'll need to have Administrator rights, otherwise you'll get the same errors as before.
Now, here are the steps you'll need to take in order to fix the hosts file error. As the first step, click on Start and find the Notepad application. Right-click and choose "Run as administrator" below "Open", and when asked, "Do you want to allow the following program to make changes to computer?" click OK and type the administrator's username and password when prompted.
As the next step, choose File > Open in your Notepad application and browse to the hosts file following this path: C > Windows > system32 > drivers >etc. Select all files and then open the hosts file to modify it with your custom entries.
How to modify the hosts file in Windows Vista or Windows 7 (2)
While the above method works just great if you want to put custom entries in your hosts file, here is another way to fix the hosts file error. By following this tutorial, you will have full ownership of the hosts file and you will change its permissions.
After you have found the hosts file following the path mentioned above, right-click on the file and choose Properties. Under hosts Properties, choose the Security tab and click Edit.
Select your username or, if you can’t find your username on the list, choose Add > Advanced > Find Now > Click Username > OK > OK.Now a 'Permission for hosts' dialog box appears. In this box, select Full control and then click OK. Confirm it again when asked.
That's it! Hope this helps!