• 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
0
mfriend
Asked:
mfriend
1 Solution
 
albeloCommented:
Need to run Text Editor "As Administrator"

http://helpdeskgeek.com/windows-7/windows-7-hosts-file/
0
 
Rob MinersCommented:
Vista-W7

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.

{EDIT}
comment plagiarised from http://support.microsoft.com/kb/923947

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