Windows Vista Forums

Hosts file in Vista
  1. #1


    SK Guest

    Hosts file in Vista

    Hello, Please can you tell me how I can add entries into the hosts file.
    Every time I try and save the modified file I a message saying that I don't
    have permission. I have also tried making sure the folder "etc" is not set
    to read only but I still get access denied.


    Thanks

    SK




      My System SpecsSystem Spec

  2. #2


    Zack Whittaker Guest

    Re: Hosts file in Vista

    Right click on it and "Run as elevated/administrator" if the option is
    there - or reboot in safe mode and login as the Administrator (by default,
    the password is blank) and edit it there )

    --
    Zack Whittaker
    » ZackNET Enterprises: www.zacknet.co.uk
    » MSBlog on ResDev: www.msblog.org
    » Vista Knowledge Base: www.vistabase.co.uk
    » This mailing is provided "as is" with no warranties, and confers no
    rights. All opinions expressed are those of myself unless stated so, and not
    of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
    that up!

    --: Original message follows :--
    "SK" <nobody@nobody.com> wrote in message
    news:7F7D0ACF-7EC7-440C-A52D-6A807AE276CA@microsoft.com...
    > Hello, Please can you tell me how I can add entries into the hosts file.
    > Every time I try and save the modified file I a message saying that I
    > don't have permission. I have also tried making sure the folder "etc" is
    > not set to read only but I still get access denied.
    >
    >
    > Thanks
    >
    > SK




      My System SpecsSystem Spec

  3. #3


    Steve Foster [SBS MVP] Guest

    Re: Hosts file in Vista

    SK wrote:

    >Hello, Please can you tell me how I can add entries into the hosts file.
    >Every time I try and save the modified file I a message saying that I
    >don't have permission. I have also tried making sure the folder "etc" is
    >not set to read only but I still get access denied.


    Make sure you start Notepad/Wordpad/whatever using "Run as Administrator"
    or launch it from a CMD prompt that was started using "Run as
    Administrator".

    --
    Steve Foster [SBS MVP]
    ---------------------------------------
    MVPs do not work for Microsoft. Please reply only to the newsgroups.

      My System SpecsSystem Spec

Hosts file in Vista problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista ignoring hosts file. cnewson Network & Sharing 3 16 Jun 2009
Vista Ultimate x64 hosts file vr4b4c General Discussion 5 02 Jun 2009
How to use HOSTS file with Vista RC2? Chris Vista General 3 30 Oct 2006
Hosts file in Vista SK Vista networking & sharing 2 25 May 2006
Hosts file in Vista SK Vista security 2 25 May 2006