Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to edit the Hosts file in 7

06 Mar 2012   #31
pparks1

Windows 7 Ultimate x64
 
 

Start Orb, in search box, type cmd (press CTRL-SHIFT-ENTER) to run as admin

notepad C:\windows\system32\drivers\etc\hosts.

Make changes

File, Save.


Couldn't be easier.


My System SpecsSystem Spec
.
07 Mar 2012   #32
sreedhav

MS Windows 7 Home Premium 64-bit SP1
 
 

Quote   Quote: Originally Posted by pparks1 View Post
Start Orb, in search box, type cmd (press CTRL-SHIFT-ENTER) to run as admin

notepad C:\windows\system32\drivers\etc\hosts.

Make changes

File, Save.

)
Couldn't be easier.
Did as advised and this opened up (i/ve resized it to fit) : snap-1 which shows the "sample" Hosts File. If this is the actual and not the sample Hosts File, then what is the second entry "imhosts.sam"file? (view the second snap)


Attached Thumbnails
How to edit the Hosts file in 7-hosts-notepad_2012-03-07_11-37-13.png   How to edit the Hosts file in 7-etc_2012-03-07_11-46-05.png  
My System SpecsSystem Spec
Reply

 How to edit the Hosts file in 7




Thread Tools




Similar help and support threads
Thread Forum
Can't Edit Hosts File
I'm unable to edit my Hosts file located in C:\Windows\System32\drivers\etc folder. I am using Notepad by opening it via "Run as Administrator." Also, I have changed to properties of Hosts to allow it's modification. For some reason the "Special Permissions" box is ghosted out and not...
General Discussion
Unable to edit hosts file
Hello, I have a laptop that it doesn't allow me to edit hosts file. I tried many ways first I tried to give myself permissions in properties - edit but it gave me 'access denied' when trying to apply.. And I tried a method I found on google is to open a notepad with administration then open the...
General Discussion
When edit hosts file, it will reload with the default value.
Hi All, When I edited the file hosts in the etc folder, its saved successfully, but after 10 seconds, it will revert to default value. Any additional value will be removed. I already tried make it read-only, change owner, disable AV, disable Windows Firewall, disable UAC. any help will be...
System Security
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:30.
Twitter Facebook Google+