Administrator but can't modify HOSTS file?

Cisco Linksys e3000 high performance wir...
September 11, 2011 at 17:11:35
Specs: Vista Home Premium, 4GB
I am getting access denied when trying to save changes to the drivers\etc\HOSTS file. I tried changing the protections in Windows Defender and attempted to remove the read-only setting of the \etc folder but did not have the permissions to do this. I am the only user on this laptop and have administrator privileges.

See More: Administrator but cant modify HOSTS file?

Report •

September 11, 2011 at 19:21:24
Are you sure you haven't got a security program or firewall on there that locks the hosts file? Many of them do, so that it does not get changed by viral activity.

Always pop back and let us know the outcome - thanks

Report •

September 11, 2011 at 21:24:13
Thanks for the idea. I'll look a little further for a firewall program. I have Webroot which I also had already disabled, but didn't mention. I'll check for a windows firewall, but I didn't see it mentioned in the Windows Defender interface.

Hmmm... I have Window firewall turned off along with Malware protection in 'Security Center'. In Windows Defender, I've turned off the real-time protection including the Services and Drivers, and in Webroot I've turned of the real-time and network protections.

Still no access to the Hosts file... I'll keep looking....

Report •

September 12, 2011 at 07:45:59
I've never run into this (except where a third party program or virus has blocked it).

Obviously there are ways to access it, such as using a Linux Live CD but it seems a pity to have to take a sledge hammer to crack a nut LOL.

Keep an eye open on here to see if anyone else has some ideas.

Good hunting.

Report •

Related Solutions

September 12, 2011 at 08:03:11
The info at the link below may be of some help.

How to Set and Unset the Read-only File and Folder Attribute in Vista


Report •

September 12, 2011 at 15:51:39
Open command prompt as admin then if you want to edit hosts use notepad but save as quoted file "hosts" as all file types. Otherwise use command prompt as admin to copy new hosts file.

Get a good hosts file from and they have some other ways to edit hosts.

1/3 of highway deaths are caused by drunks. The rest are by people who can't drive any better than a drunk.

Report •

Ask Question