• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 833
  • Last Modified:

How do I edit my hosts file in Win7

How do I edit my hosts file in Win7
1 Solution
Need to run Text Editor "As Administrator"

Rob MinersCommented:

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 http://support.microsoft.com/kb/923947

Alan Hardisty
EE Zone Advisor
Alan HardistyCo-OwnerCommented:
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.
mfriendAuthor Commented:
This solution worked perfectly. the key is right clicking on NotePad.
Rob MinersCommented:
Cool, glad your sorted.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now