You do not necessarily need to edit the Windows hosts file on a regular basis, because it is a system file, and it does not need to be edited. However, there are some cases in which you may need to edit the hosts file. Here tutorial I will be writing to the steps using which you can edit the Windows hosts file in Windows Vista, Windows 7 and Windows 8
Steps to edit the Windows hosts file
You can edit the hosts file in Windows 7, Windows 8 or Windows Vista, you'll need to follow these steps
* Open My Computer.
* Open the hard drive partition where you have installed the Windows-Windows is installed, usually C :/ / drive, but if you have installed Windows in another drive, then open it.
* Go to the Windows >> System32 >> Drivers >> etc. You can see about 5-6 files from unknown extension. Check: How to open files with unknown extension
* 5-6 out of these files, you will get a file named hosts. Right-click on the file and click Open, and then click
* Notepad dialog box that appears.
Click OK, you will get a notepad window. Edit this file using whichever way you want, and click save.
If you can not do anything to take a look at the picture below, with screenshots of all of the above steps.
70% of the time, it works perfectly. If you have Home Basic or Home Premium version of Windows 7 or Windows 8 basics, you might get some error indicates
C: \ Windows \ System32 \ drivers \ etc \ hosts.txt You do not have permission to save in this location. Contact your system administrator to obtain permission. Do you want to save in the My Documents folder instead?
This condition is quite hectic, if you are logged on to an administrator account all the rights and you only use a user account on the computer. In this case, it becomes annoying and you might not think of a way to solve this problem. Well, below are a few steps that tell you how to modify the Windows hosts file without administrator rights.
How to modify the files that you need administrator rights
* Click the Start menu, find the Notepad.
* Right click the Notepad option you will see the search menu and select Run as administrator.
* When you get a notpad box, File >> Open and browse to My Computer >> C: \ >> Windows >> System32 >> drivers, etc. >>
* You might not see anything out there open the file, it is because the default search file type is. Txt and all files in that folder are in a different format. Select all the files by file type option present in the lower right corner of open dialog.
* As soon as you select All files that option, you will see they are 5-6 files that are out there in this folder. Select the hosts and click OK.
* Add whatever content you want, and click Save.
That's it. You have successfully edited the hosts file, which requires admin rights.
Below is a picture of all of the above steps in the graphic.
This is it for this tutorial. Do not tell me if you have any questions. In addition, if it worked, do not forget to leave a thank you note in the comments section.
I am a professional Graphic designer and web site designer.I always try to make my byers Happy with my work and my activities. See My portfolio.....