There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Windows Vista
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu graphics hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry repair router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows Vista >
Editing hosts file

Reply  
Thread Tools
ngungo's Avatar
Member with 65 posts.
 
Join Date: Jun 2004
Experience: Intermediate
04-Jul-2009, 06:17 AM #1
Editing hosts file
After editing the file C:\Windows\System32\drivers\etc\hosts to add more entry, I could not save it. The error is: "Please check weather if this file is opened in another program." I've even tried it unsuccessfully without internet nor any browser opened. Thanks.
TerryNet's Avatar
Computer Specs
Moderator with 48,385 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
Experience: Intermediate to Advanced
04-Jul-2009, 12:10 PM #2
I have no idea what the weather would have to do with writing a file, but programs that might have the Hosts file open or have it set to read only include Spybot, maybe Teatimer and lots of malware.
Squashman's Avatar
Trusted Advisor with 18,705 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
04-Jul-2009, 12:34 PM #3
Hosts file is read only by default. Check the file attributes.
TerryNet's Avatar
Computer Specs
Moderator with 48,385 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
Experience: Intermediate to Advanced
04-Jul-2009, 12:48 PM #4
Quote:
Hosts file is read only by default. Check the file attributes.
Not on my Windows 7 RC. I just checked. On my Vista it's read only, but it also has about a million entries from Spybot so I can't say what the default was.
DaveA's Avatar
Distinguished Member with 8,239 posts.
 
Join Date: Nov 1999
Experience: Advanced
04-Jul-2009, 03:48 PM #5
Quote:
Originally Posted by TerryNet View Post
Not on my Windows 7 RC. I just checked. On my Vista it's read only, but it also has about a million entries from Spybot so I can't say what the default was.
Spybot may be protecting it.
aka Brett's Avatar
Distinguished Member with 16,491 posts.
 
Join Date: Nov 2008
Location: America Land of Free Speech
Experience: Enough To Get By
04-Jul-2009, 04:15 PM #6
I remember Vista trying to give me a rough time with the hosts file.
I renamed it, did my business ,then renamed again.
When working on the hosts file, i make a back up of it and just toss a extra letter at the end of the file name,I keep them in the same directory.
If i am having suspected problems of hosts file relation..i rename the current one...then rename a backup to hosts.
I was getting prompts along the way but i was winning however.
I had spybot as well....However I dont know if it was the cause of having to combat the prompts
__________________
I Was Wrong Once But Later On Found Out I Was Right
Squashman's Avatar
Trusted Advisor with 18,705 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
04-Jul-2009, 05:29 PM #7
Vista seems to handle it differently. The read only is not set but it does something funky with permissions. My user is in the Administrators group but it wouldn't let me save the changes until I explicitly gave my user writes to the file.
tech-win's Avatar
Member with 194 posts.
 
Join Date: Jul 2008
Experience: Advanced
05-Jul-2009, 10:18 AM #8
As others said, a security suite installed in your system is blocking write access to the HOSTS file. If you have Zone Alarm per chance, see the following link for a solution.

How To: Hosts File FAQ:
http://www.mvps.org/winhelp2002/hostsfaq.htm#Access
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:12 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.