Can't edit hosts file in 64-bit Windows 7?

Discussion in 'Windows 7 Networking' started by Luczifer, Sep 19, 2009.

  1. Luczifer

    Luczifer New Member

    Joined:
    Sep 19, 2009
    Messages:
    4
    Likes Received:
    0
    Looking to edit hosts file to block some annoying ad-senders sites but there is no HOSTS file in ordinary location (C:\Windows\System32\drivers\etc. Also not in mentioned C:\Windows\SysWOW64.
    I find same HOSTS file in:
    C:\Windows\Winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210\hosts
    But when I tryed to edit it (opened Notepad as administrator), can't save it.
    Also tryed to change permissions on HOSTS file but system don't allows that.
    How to do?
     
  2. epk1950

    epk1950 Banned

    Joined:
    Sep 1, 2009
    Messages:
    524
    Likes Received:
    9
    That's odd, which version of W7 64bit are you running?
     
  3. Joe S

    Joe S Excellent Member

    Joined:
    Jan 12, 2009
    Messages:
    3,785
    Likes Received:
    113
    I use something called Hosts Toggle HostsToggle . It is simple and lets you edit load or toggle on and off. This is old so there is a trick to make it work. Unzip and copy the little red H(exe file) some place outside the zip file. Now is the trick part. Go into control panel and find Task Scheduler in Administrative Tools run Task scheduler as Administrator. Click on Task Scheduler Library. Over on the right side click on basic task. On general page check run with highest privileges and run only when user is logged on and OP system. Then click on the Action tab and choose start program. Check the rest of the tabe they are simple to follow if needed then click OK. then it will be on task bar at startup. Or you you can just click on the red H and edit and close. I used it for a long time on XP and it wasn't that complicated. There are other hosts editors but they are a lot more complex that I want and I think that you want.
    Joe
     
  4. Luczifer

    Luczifer New Member

    Joined:
    Sep 19, 2009
    Messages:
    4
    Likes Received:
    0
    Hehe, solved my problem...
    I boot computer by Hiren's Boot CD 10.0 and find that hosts file, took over rights, edited and saved.
    That's it. After normal boot hosts is what i needed it to be. :)
     

Share This Page

Loading...