Contents
For Windows 7 and Vista
- Click Start > All Programs > Accessories.
- Right-click Notepad and select Run as administrator.
- Click Continue on the Windows needs your permission UAC window.
- When Notepad opens, click File > Open.
- In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
- Click Open.
Can’t edit hosts file Windows 7?
Workaround
- Click Start. , click All Programs, click Accessories, right-click Notepad, and then click Run as administrator.
- Open the Hosts file or the Lmhosts file, make the necessary changes, and then click Save on the Edit menu. If using Windows 7, you will need to click Save on the File menu.
Do not have permission to edit hosts file?
Note that this method for editing the Hosts file will not work. You will get a message saying you do not have permission to save in this location. In order to edit it, you have to click on Start, type in Notepad and then right-click on Notepad and choose Run as Administrator.