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: unable to do any things with hosts file

13 May 2012   #1

unable to do any things with hosts file


I have installed windows7 home edition on my laptop. I have to enter ip address to access another application through host file but am unable to do any action either update delete or cut this file.

Please help to find out this problem.

thanks in advance.

My System SpecsSystem Spec
13 May 2012   #2

Windows 7 home premium x64

Hello welcome to the forums.
Editing the hosts file is pretty straight forward providing you open it from an elevated command prompt (open notepad by right clicking select run as admin then use it to open hosts).
There can be problems occasionally, fortunately ther is a work around in this MS knowledge base article.

Good luck.
My System SpecsSystem Spec
13 May 2012   #3

Windows 10 Pro (x64)

Could just drag it to your desktop, edit it then drag it for me every time.
My System SpecsSystem Spec


 unable to do any things with hosts file

Thread Tools

Similar help and support threads
Thread Forum
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
Problem modifying hosts file, change file permissions?
Hi all,win7 Home Premium 64 bit. I'm having difficulties modifying my hosts file. Following guidance from this forum, I open Notepad++ as administrator & can navigate to and open the hosts file. But the "Save" option is greyed out, so I can't save directly to the original location. I can Save As...
General Discussion
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-S??
can the hosts file be changed to, or amended by, another file? IOW can there be a file named xyz that essentially replaces the hosts file, or adds entries to it? Possibly by a registry key or configuration setting? Of course it could by altering library fxns, but by other "simpler" means? ...
System Security
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....

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 16:05.
Twitter Facebook Google+