How do I edit my hosts file in Win7

Posted on 2012-09-11
Last Modified: 2012-09-11
How do I edit my hosts file in Win7
Question by:mfriend
    LVL 5

    Expert Comment

    Need to run Text Editor "As Administrator"
    LVL 14

    Accepted Solution


    Click Start, click All Programs, click Accessories, right-click Notepad, and then click Run as administrator.
    If you are prompted for an administrator password or for a confirmation, type the password, or click Allow or Yes.

    Click File Open and Navigate to C:\Windows\System32\drivers\etc\hosts
    Open the Hosts file, make the necessary changes, and then click Save on the File menu.

    comment plagiarised from

    Alan Hardisty
    EE Zone Advisor
    LVL 76

    Expert Comment

    by:Alan Hardisty
    Quick way is as follows:

    Start> {type} notepad c:\windows\system32\drivers\etc\hosts {press CTRL + SHIFT + ENTER}

    Accept the prompt if you have User Account Control enabled.

    Edit the file then save and close it.

    Author Closing Comment

    This solution worked perfectly. the key is right clicking on NotePad.
    LVL 14

    Expert Comment

    by:Rob Miners
    Cool, glad your sorted.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Here is an article I posted on my personal blog several months ago. I figured the users of EE might enjoy it, and the users that haven't converted from Windows XP to 7, might make the decision faster just to try the cool features out. Here it is: …
    Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    The viewer will learn how to download and install Comodo Backup on Windows 7. Comodo Backup is another solution for backing up your computer. It is free for local backup and online backup has differing amounts depending on storage required. In my op…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now