"Zed" <> wrote ...
> When I try to modify some of my files, it will occasionally come up with
> the
> follow message:
> "Cannot create the --- file.
> Example: When I tried to add a line to my hosts file (system32 - drivers -
> etc), and then save it, it will give me that message. Even after selecting
> Any reason on why this is?
Hi Zed
That's correct. The Hosts file is protected, so you cannot easily write to
it. Hijacking IP addresses via hosts file is a favourite technique for
viruses and bots, to spoof sites and locations.
To edit hosts file, you need the full Administrative token. For example:
right-click on the Command Prompt icon in Start Menu, and choose "Run as
Administrator". Then change directory to the drivers\etc directory. Then run
the command "notepad hosts". You should be able to edit the file and save
the changes.
Similar restrictions apply to many files located under "Program Files" and
"Windows" directories. The idea is that Vista is intended to be more secure
than previous versions; the side-effect is some loss of user convenience.
Hope it helps,
--
Andrew McLaren
amclar (at) optusnet dot com dot au
|