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

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?


My System SpecsSystem Spec
21 May 2010   #2

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

windows 7

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


 Editing host file

Thread Tools

Similar help and support threads
Thread Forum
Document file editing
I notice whenever I use the Documents folder to type in lines of text arranged in columns, I can not edit the a line of text and move it up or down on the page as i would like to.Example, each line might be an author's name and it would be useful to arrange these authors in alphabetical order. At...
General Discussion
Host file
Where is the Host file located in Windows 7? Clint
General Discussion
Hosts File Editing
I've tried everything I've read on this forum to be able to edit my hosts file. I log on as administrator, I open my editor as administrator, I take ownership of the hosts file, but I still get the error:- "Save Failed. Please check whether if this file is opened in another program." What...
Network & Sharing
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 07:21.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App