|
Posted by Steve Winograd [MVP] on July 26, 2005, 4:26 am
If you were Registered and logged in, you could reply and use other advanced thread options >> Did you check the integrity of your HOSTS file?
>>
>> Reload the HOSTS file and lock it with HostsMan or some other manager
>> program.
>
>Personally, I prefer to do it the old fashioned way..
>
>open does box
>
>cd \windows (if not already in that dir, usually you will start
>there)
>command\attrib +r +s +h HOSTS
>
>that locks the file by making it hidden, system, read-only. all
>those doodads just have flashy ways to do that simple command
>
>to unlock the file for editing simply reverse the command
>
>attrib -r -s -h HOSTS
>
>I made a simple batch file for editing the hosts file..
>
>attrib -r -s -h HOSTS
>edit HOSTS
>attrib +r +s +h HOSTS
>exit
That looks like a good way to protect the Hosts file for people who
are comfortable with DOS commands.
Kelly's original question said that he/she has installed Microsoft
AntiSpyware Beta, which only runs on Windows 2000 and XP. In 2000 and
XP, the Hosts file is in %windir%\system32\drivers\etc, where %windir%
is usually "C:\WinNT" or "C:\Windows".
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
|