Why can't I change or modify the hosts file in Windows even though I'm logged in through the administrator account itself?
-
I was going to block the websites by tweaking that hosts file in Windows/system32/drivers/etc. But it asked for administrators permission (I am the admin of this PC). And even though I have all the permissions to Change and modify the file I can't do it because it asks for the administrator's permission every time !
-
Answer:
Make a copy of the hosts file on your desktop, edit it and then copy it back. That will work if you are in the Administrators group.
Pontus Wiberg at Quora Visit the source
Other answers
I just did exactly that, a couple of hours ago. Using Windows Explorer, navigate to 'hosts', right click 'properties', tab for 'Security' choose 'Users', click edit, and add write privileges for users. That's the bold black check mark above. Make your changes. If you wish, you can change the permissions back after your edit. Note that the page referenced below suggests, for Win 8.1, that if you are going to route some sites to a dead end, you use 0.0.0.0 in place of 127.0.0.1; that is: network unavailable, not localhost. And that you exclude hosts from your Windows defender, or it will detect your changes as malicious. Windows Defender is a control panel item. Look for settings tab; menu item for excluded files; browse to hosts; add; and save. Finally, if you are editing hosts using Notepad or Wordpad, don't let them add an extension like .txt or .rtf etc when saving the new hosts file. The name of the hosts file is just hosts . Use file types 'all files *.*' when you are saving. winhelp2002.mvps.org/hosts.htm (General) winhelp2002.mvps.org/hostswin8.htm (Win8)
Paul Stockley
Related Q & A:
- Why can't I change my display picture on messenger?Best solution by Yahoo! Answers
- Why can't I change my Yahoo profile picture?Best solution by Yahoo! Answers
- Why can't I find woven dental floss in the stores or even online anymore?Best solution by Yahoo! Answers
- Why can't I get my videos to show up in Windows Movie Maker?Best solution by Yahoo! Answers
- Why can't I change my desktop background with Windows 7?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.