Unable to edit the hosts file in Windows7
In Windows 7, the location of the ‘hosts’ file is ‘C:WindowsSystem32driversetchosts‘. By default, Windows 7 does not allow edit on this file. To edit ‘hosts’ file, follow the steps given below:
Procedure 1:
- Start->Run
- Type notepad and click OK button
- Notepad application will open with administrator privileges
- Open ‘hosts’ file in Notepad, Click on File->Open->C:WindowsSystem32driversetchosts
- Make changes, whatever you want to make and save it.
Procedure 2:
- Start->All Programs->Accessories->Notepad
- Right click on Notepad and chose ‘Run as administrator’
- Notepad application will open with administrator privileges
- Open ‘hosts’ file in Notepad, Click on File->Open->C:WindowsSystem32driversetchosts
- Make changes, whatever you want to make and save it.
[Note: Please take a backup of this file before editing.]