- Click Start, click All Programs, click Accessories, right-click Notepad, and then click Run as administrator.
If you are prompted for an administrator password or for a confirmation, type the password, or click Allow or Yes. - 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.