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: Can't modify host file in windows 7

19 Jan 2012   #1
asadrasel

Windows 7 Professional 32bit
 
 
Can't modify host file in windows 7

Hi,
I am using windows 7 professional. I can't change the host file even with the administrator user or any other user that has been given the administrator privileges which i could do easily in win xp. Any suggestions can help me a lot.

Thanks in advance.

Asad


My System SpecsSystem Spec
.
19 Jan 2012   #2
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi asadrasel, welcome to 7F!

Any error messages or warnings?

Have you been following the steps taken in this tutorial?
Hosts File : Use in Windows 7 / Vista, especially the first step Open Notepad, Run as Administrator?
My System SpecsSystem Spec
21 Jan 2012   #3
asadrasel

Windows 7 Professional 32bit
 
 

Thanks Anak. It works!!
My System SpecsSystem Spec
.

21 Jan 2012   #4
agent47er

Windows 7 Professional 64-bit
 
 

what you need is this
Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek
install this and right click on the host fie and selest "Take Ownership"
this should solve your problem
My System SpecsSystem Spec
21 Jan 2012   #5
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Quote   Quote: Originally Posted by asadrasel View Post
Thanks Anak. It works!!
Your Welcome asadrasel!

Quote   Quote: Originally Posted by agent47er View Post
what you need is this
Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek
install this and right click on the host fie and selest "Take Ownership"
this should solve your problem
A user needs to be aware that this modification will remove the Run as Administrator, and replace it with Take Ownership listing in the context menu, and it is possible it can lead to a security risk.

If you go to this page: Windows 7 - Tutorial Index
The third tutorial:
Take Ownership - Allow or Prevent Users and Groups To Take Ownership should mitigate the security risk.

There are also two other tutorials there:
Take Ownership of a File, Folder, Drive, or Registry Key, and
Take Ownership Shortcut.

Caution is advised when Taking Ownership.
My System SpecsSystem Spec
22 Jan 2012   #6
Corrine

Windows 7 & Windows Vista Ultimate
 
 

It is best to follow the instructions linked to by Anak for modifying the HOSTS file. As Anak stated, the other method can lead to a security risk.

BTW, if you use WinPatrol, it is even easier to edit the HOSTS file, regardless of your operating system. Just follow the following steps:

  • Right-click on Scotty in the system tray to launch WinPatrol, selecting "Options". Windows Vista and Windows 7 Users: Accept any UAC Prompts
  • Click "View HOSTS file", which will launch the HOSTS file in Notepad
After making any desired changes, merely close Notepad.
My System SpecsSystem Spec
Reply

 Can't modify host file in windows 7




Thread Tools




Similar help and support threads
Thread Forum
how do i edit my host file in Windows\System32\drivers\etc -
Hi everyone i am using windows 7 on my HP laptop. I am trying to edit my host file . This is a sample HOSTS file used by Microsoft TCP/IP for Windows. The location of the file is: C:\Windows\System32\drivers\etc The systems on my laptop seem to be incorrectly configured to prevent me...
General Discussion
I need a Windows file explorer that can view/modify FTP files?
Hi everyone, I recently setup an FTP server using this genius little piece of hardware called CloudFTP (now called iUSBport as of today, LOL). Anyways, I can access my CloudFTP just fine through my smartphone, using a file explorer app w/FTP ability. My question is, is there a downloadable...
Software
Cannot modify mkv file / windows explorer crashes
Ok, so I've got a bit of a doozy here. Like many people out there I'm having problems renaming, deleting, moving, copying, and playing mkv files. If I attempt to do one of the above tasks, windows explorer will crash and I have to restart my computer. I ran a cmd scannow and there indeed was a...
General Discussion
Heres How To Set Windows 7 Host File Back To Default
How do I reset the hosts file back to the default?
General Discussion
Can`t modify file
I have external hardisk (portable drive) i want modify file in my portable drive, but windows 7 can`t save my file :(. If i use flash disk i can modify file in my flash disk. what windows 7 don`t recognize external hardisk / potable drive? Give solution for my problem.
General Discussion
Windows 7 Host File
Hi all, just joined, so hope I'm in the right area :D When editting the Windows Host File to block web sites, does editting this file affect EVERY user on the system? I'm running Windows 7 Ulimate with 2 users. Me, being Administrator. Thank you.
Customization


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 05:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App