Problem beim hosts

06/29/2011 22:20 SehrGutx#1
Hallo

Ich habe gelesen das man durch hosts Internet Seiten sperren kann
und ist das was ich brauche

habe gleich es mit Notepad++ geöffnet und so schaut es aus:


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost



und habe daraus folgendes gemacht


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

127.0.0.1 localhost
127.0.0.1 [Only registered and activated users can see links. Click Here To Register...]



und wenn ich es speichern will kommt folgende Fehlermeldung:



Save failed

Please check whether if this file is opened in another program

OK



danach habe ich alle Programme geschlossen und auf OK geklickt und ist nichts passiert
habe PC neu gestartet wieder das selbe Fehlermeldung

mit Editor kann ich nicht in etc Ordner speichern weil ich angeblich keine Admin Rechte habe
obwohl ich es habe
kann nur in Eigene Dokumente speichern und das nur als Textdokument

danke im voraus

MfG.
06/29/2011 22:27 Klemens102#2
Dann kopier einfach den Inhalt, ergänze was du ergänzen willst, speicher wo anderst und schieb dann deine Datei in den Ordner und Ersetz die andere.
06/29/2011 22:31 SehrGutx#3
das Problem ist das Editor das als Textdokument speichert
06/30/2011 06:42 Klemens102#4
Ja dann must du im Editor auswählen: Alle Dateien und hinte den Dateinamen .cfg schreiben.

Also die Datei nennst du dann so: hosts.cfg
06/30/2011 07:42 Gordge#5
nein, notepad++ als administrator starten und dann die datei öffnen
06/30/2011 11:09 SehrGutx#6
ja genau musste es als Admin ausführen
danke
06/30/2011 13:05 Gordge#7
/closed