So you will get the rights to edit the Hosts file
If you navigate to C:\Windows\System32\drivers\etc and open the file "hosts" and try to change, is not likely to be of Windows the error that you have sufficient rights for the action. If you don't have the user account control off, would like to do the following to the Hosts file to edit:
- Open the start menu. You can do this by pressing the Windows key on the keyboard.
- Type in the search box, type "Editor" (see Screenshot).
- You make on the entry "Editor" (Notepad icon) right click with the mouse.
- Select "run As Administrator". The Editor window opens.
The Hosts file using the Editor under Windows to change
If you have to open Notepad as an Administrator, you can go to: the Hosts file edit.
- Press and hold from within the Editor, the Ctrl key and "O".
- Navigate in the newly opened window C:\Windows\System32\drivers\etc. Make sure that the bottom right "All files (*.*)" and not "text files (*.txt)" is selected, the Hosts file is also displayed.
- You have opened the Hosts file, you will see some English-language comments that the #Symbol at the beginning of a line. With the double-cross-you can write comments and notes, which serve only for you as a Info.
- You want to add a new entry, make this the best below in the comments. Each entry should be on a separate line. At the beginning of a line, write the IP address and behind it, with at least one whitespace, the corresponding host name (see Screenshot).
- You want to block all network traffic to a certain Domain with the help of the Hosts file, use "127.0.0.1" as the IP address. In the Screenshot, you can see, for example, the line "127.0.0.1 google.com" - as a result, the access to google.com will be blocked. You can't control the page so, for example, in the Browser.
- You have to press the Hosts file as desired, and you hold in the Editor window, the Ctrl key and the "S" on the keyboard to the modified Windows to save the file.

Edit Hosts file
The tips relate to a System with Windows 7 Ultimate 64 bit. In Windows 8, you can open the Editor using the "All Apps" (right click in the start screen) and then on the far right under "Windows accessories". The rest of the approach is the same.