homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/10)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/10) Forum

Reseting Host File

5+ Year Member

Msg#: 3134459 posted 3:17 pm on Oct 25, 2006 (gmt 0)

I thought that I would update the host file to block Tradedoubler adverts awhile ago but I miss being able to use the advert links and I would like to know how to reset the file.




10+ Year Member

Msg#: 3134459 posted 6:51 pm on Oct 25, 2006 (gmt 0)

The HOSTS file is read with (and before) each DNS name request, so you don't have to do anything once you change it.

Lines that start with "#" are treated as comments to end-of-line, so just comment out the entries you want to "get through."

In WinNT, XP, 2000 -- the hosts file is found as /WINDOWS/SYSTEM32/DRIVERS/ETC/hosts

and in Win9x/Me it is found as /WINDOWS/hosts

Edit it with WordPad or NotePad (do not let either wrap lines or apply formatting) -- it is tough to open normally since it has no extension, from explorer you have to specify the app each time, or open NotePad and open it from there, or, better yet, create a desktop shortcut that tells NotePad to open the hosts file -- use a target like this: [C:\WINDOWS\SYSTEM32\NOTEPAD.EXE C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS]

Then you can click on it to edit it whenever you like.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/10)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved