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

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

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

Windows 7 Professional 32bit
 
 

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


21 Jan 2012   #4

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

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

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 for2: Can't modify host file in windows 7
Thread Forum
how do i edit my host file in Windows\System32\drivers\etc - General Discussion
WIM File - Extract and Modify Tutorials
I need a Windows file explorer that can view/modify FTP files? Software
Cannot modify mkv file / windows explorer crashes General Discussion
Solved Heres How To Set Windows 7 Host File Back To Default General Discussion
Can`t modify file General Discussion
Windows 7 Host File 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 03:14 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33