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: Editing host file

21 May 2010   #1
andreawilson

windows 7
 
 
Editing host file

Sorry if this is in the wrong thread, feel free to move if needed

I am trying to edit the host file but keep getting access denied even though I am admin.
I did a search online and have tried everything that was suggested, I have tried opening notepad by right clicking and 'run as admin'. I have unchecked the read only box in the properties of the host file. I have now run out of ideas.

Has anyone else had any problems and may know how to fix it?

Thanks.


My System SpecsSystem Spec
.
21 May 2010   #2
logicearth

Windows 10 Pro (x64)
 
 

Drag the file to your desktop, edit it there then drag it back.
My System SpecsSystem Spec
21 May 2010   #3
andreawilson

windows 7
 
 

Wouldnt let me move it at all. Tried it in safemode and it worked. Thanks.
My System SpecsSystem Spec
.

Reply

 Editing host file




Thread Tools




Similar help and support threads
Thread Forum
editing hosts file
I am trying to modify the hosts file so that it will block certain websites. I tried the following code, but it does not seem to do anything when i visit the website (as in, the page loads normally): 127.0.0.1 asite.com what am i doing wrong? i made sure i saved before viewing the website.
General Discussion
Host file
Where is the Host file located in Windows 7? Clint
General Discussion
Can't add new Host file
I've always been able to update my "Host" file from time to time. C:\WINDOWS\system32\drivers\etc\HOSTS I add something to the file bur Win7 wouldn't let me save it in the "etc" folder becase of lack of permission. How can I override that?
System Security
Editing File Properties
Hi Guys, A little more help please! I have just received a number of .avi files which are unhelpfully named e.g. tgi.avi. In Media Player v12 I have added an appropriate title e.g. The Government Inspector - by adding media information manually and I have forced the Player to update the file....
General Discussion
Which host file to use?
This is my first time with a 64 bit OS. I usually have to use the Hosts file to resolve my DNS on my XP machine. Do I use the hosts file in the same location that XP 32bit was for Win 7 64bit (windows\system32\drivers\etc\Hosts)? Or, is there another hosts file location that 64bit OS uses?
Network & Sharing


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 14:52.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App