Host file problem

I ca't modify the host (C:\Windows\System32\drivers\etc). It shows that "you don't have permission to save in this location.  Contact administrator. But I logged as administrator. I have no other account. What do I do now?

This is due to a restriction of the UAC (User Account Control). Right click on notepad.exe, and then click "Run ad administrator." Now load the hosts file, edit it, then save it.

Tags: Windows

Similar Questions

  • Host file backup problem after the edition of windows 7

    After edfiting the host file, it informs that you don't have permission to save in the in the location of the folder designated you edited it how save you in the original folder?  It only saves it in the documents folder

    You must run the program that you use to change the hosts file by right click and choose Run as administrator

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-run-an-application-once-with-a-full-administrator-access-token

    http://support.Microsoft.com/kb/923947

  • Problem with the hosts file


    Hello

    Although I shbx the Hosts file on my desktop as advised on other discussions, that I erased the lines of containers Adobe, I use my pitch to the can't always Photoshop program. Step 'Necessary connection', when I click "Connector" I always get the message "connect to the Internet" although I'm connected.

    What I find weird, is that I should replace the old 'hosts' file so that I have now the old 'hosts' file type 'File' and the new file "hosts" of type 'text Document '.

    You read it again.

    http://helpx.Adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    The rest, that we cannot know, since you did not provide system info or other details, nor exactly, tell us what changes you actually paid to, the hosts file.

    Mylenium

  • Corrected the host file corrupted, now showing 2 host files in XP

    I have a corrupt host file and 2 host files have now for some reason any. What to do to fix this?

    After explaining all this several times, here are some notes:

    The hosts file is a read-only file, hidden system.  It is just a text file that you can manipulate with WordPad, Notepad or any text editor.  Before you modify the hosts file, make a copy of the current in case you need to restore the original.

    The hosts file is (or should be) a file read-only, which means that if change you it, you will not be able to save the changes until you remove the read only attribute of the file.

    You may be able to create a new one or reset your hosts with Microsoft Help file:

    http://support.Microsoft.com/kb/972034 (this does work as expected the last time I tried).

    If you use the Fix It from Microsoft, you will have no hosts file when you're done (which is not necessarily a bad thing) so you can just read and follow the instructions to find out how to fix it yourself.

    Some third-party software analysis tools (like Spybot) may add entries to the hosts file on purpose to block your browser from loading WWW websites completely or block ads from certain sites WWW.  They claim to have a list of sites that most of the people want to block and insert them into your file hosts for you.  You can always delete the entries in the hosts file manually if you wish.

    Another good option to block ads sites is to use Firefox with the Adblock Plus extension (it is updated regularly with new sites).  If you use that combination, you don't have to worry about your hosts file and these two together really do a good job.

    Malware can also add entries in the host file to redirect the browser to another site than the one you really want to visit WWW.

    For example, if you try to browse to www.google.com, you can find yourself on a WWW site that is inappropriate or simply an advertisement for a product you never heard and do not want.  Your browser will always be redirected away from www.google.com until correct you the hosts file.

    The malware can also modify your hosts file to block your browser to go to Web sites where you might find a solution for how to remove the malicious software.  The malware sometimes knows what you're going to try to find and remove, so it will prevent you to do so.

    If your hosts file has been manipulated by malware, edit the hosts file does not remove the malware.  You will still need to scan your system with software tools to make sure that the malware has entirely disappeared.

    Malware analysis tools can also remove the malicious software and leave the bad entries in the hosts file.  Analytical tools cannot tell if the entries in the file hosts were made on purpose or by malware you still may need to edit the file hosts manually in case of redirection of the browser once the malware has been removed.

    Some analytical tools will report changes to the hosts as a suspect file and allow you to review the changes and allow you to decide whether the changes are appropriate, and to take action.

    Sometimes, analytical tools cannot tell if the entries in the hosts file have been put there by malicious software or you put there on purpose so cannot do not report any problems with the hosts file.  This does not mean that the hosts file has not been adjusted by malicious software.

    A hosts file is not required for your browser to operate.  If you suspect a problem with the hosts file, you can rename the hosts file and test your browsing without it.

    Always reboot your system and the navigation test after making changes to the hosts file.

    To manipulate the hosts file, you need to make hidden files not hidden and remove the attribute only read the hosts file.

    In Explorer, navigate to the following folder (assuming that Windows is installed on your C drive):

    c:\Windows\system32\drivers\etc

    Click on tools. Of files, display options.  In advanced settings, enable (check) the box option for:

    Display the hidden files and folders

    Click OK.

    The hosts file has also no extension (for example, .exe or .doc) and it may be useful to also see the file extensions for all files in
    the folder.  While you adjust the display of folder options, bring up the file extensions.

    Click on tools, Options, view.  In advanced settings, clear (uncheck) the box:

    Hide extensions of known file types

    Click OK.

    Now the hosts file must be visible and you can also see the file extensions.

    Make a copy of the current hosts file and name the copy something he can remember so that you can find it later and cancel
    any change if the changes don't work or things get worse.

    The host file is usually a single reading, so to change it, you must remove the read-only attribute:

    Make a right-click the hosts file, properties, uncheck the box that says:

    Read-only

    Click OK.

    Now you can edit the hosts file with a text editor (Notepad, Wordpad).  Be sure to save the hosts file after any changes.

    You will need to decide what is in your hosts file.  The default hosts file has only one entry (and a lot of comments) so if you think that the hosts file are the part of your question, you can remove all but the default entry and save the file.

    Always reboot your system and the navigation test after making changes to the hosts file.

    You should make hosts read-only folder again when you are finished making changes.  Obviously some programs or malware do not pay attention to the attributes of a file read-only, but it is advisable for the host file to be unalterable.

    If you want to, reverse explore changes to hide system files and extensions of known file types.

    If you think your hosts file is irretrievably, replace the contents with the default values of Windows.

    The default for Windows XP hosts file looks like this:

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address must
    # be placed in the first column, followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    space #.
    #
    # In addition, comments (such as these) may be inserted on individual
    # lines or following the name of the machine indicated by a symbol "#".
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost

    There are places on the Internet to download information to your hosts file which is based on what other people think your hosts file must block or allow for your Internet browsing.  Sometimes that works very well, but you now need to know more on the manipulation of the hosts file now so that you can decide what's best for your environment.

    Here's some additional reading on how to manipulate your hosts file:

    http://www.MVPs.org/winhelp2002/hosts.htm

    This is a user-friendly tool with a graphical interface (GUI) to help you work on your hosts file:

    http://www.Funkytoad.com/index.php?option=com_content&ID=13

  • Hijacked hosts file

    This system had a fake antivirus program. I used the restoration of the system to 01/03/11. However, Hijackthis cannot delete following text was found on a Windows XP system located in c:\WINDOWS\System32\drivers\etc\hosts

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address must
    # be placed in the first column, followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    space #.
    #
    # In addition, comments (such as these) may be inserted on individual
    # lines or following the name of the machine indicated by a symbol "#".
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost
    74.50.127.5 www.google.com
    74.50.127.5 www.google.com.au
    74.50.127.5 www.google.be
    74.50.127.5 www.google.com.br
    74.50.127.5 www.google.ca
    74.50.127.5 www.google.ch
    74.50.127.5 www.google.de
    74.50.127.5 www.google.dk
    74.50.127.5 www.Google.com
    74.50.127.5 www.google.ie
    74.50.127.5 www.google.it
    74.50.127.5 www.google.co.jp
    74.50.127.5 www.google.nl
    74.50.127.5 www.google.no
    74.50.127.5 www.google.co.nz
    74.50.127.5 www.google.pl
    74.50.127.5 www.google.se
    74.50.127.5 www.google.co.uk
    74.50.127.5 www.google.co.za
    74.50.127.5 www.bing.com
    74.50.127.5 search.yahoo.com
    74.50.127.5 uk.search.yahoo.com
    74.50.127.5 ca.search.yahoo.com
    74.50.127.5 de.search.yahoo.com
    74.50.127.5 fr.search.yahoo.com
    74.50.127.5 au.search.yahoo.com
    74.50.127.5 www.google-analytics.com

    Any help to eliminate this problem will be greatly appreciated.

    The hosts file is a read-only file, hidden system.  It is just a text file that you can manipulate with WordPad, Notepad or any text editor.  Before you modify the hosts file, make a copy of the current in case you need to restore the original.

    You may be able to create a new one or reset your hosts with Microsoft Help file:

    http://support.Microsoft.com/kb/972034 (this does work as expected the last time I tried).

    If you use the Fix It from Microsoft, you will have no hosts file when you're done (which is not necessarily a bad thing) so you can just read and follow the instructions to find out how to fix it yourself.

    Some third-party software analysis tools (like Spybot) may add entries to the hosts file on purpose to block your browser from loading WWW websites completely or block ads from certain sites WWW.  They claim to have a list of sites that most of the people want to block and insert them into your file hosts for you.  You can always delete the entries in the hosts file manually if you wish.

    Malware can also add entries in the host file to redirect the browser to another site than the one you really want to visit WWW.

    For example, if you try to browse to www.google.com, you can find yourself on a WWW site that is inappropriate or simply an advertisement for a product you never heard and do not want.  Your browser will always be redirected away from www.google.com until correct you the hosts file.

    The malware can also modify your hosts file to block your browser to go to Web sites where you might find a solution for how to remove the malicious software.  The malware sometimes knows what you're going to try to find and remove, so it will prevent you to do so.

    If your hosts file has been manipulated by malware, edit the hosts file does not remove the malware.  You will still need to scan your system with software tools to make sure that the malware has entirely disappeared.

    Malware analysis tools can also remove the malicious software and leave the bad entries in the hosts file.  Analytical tools cannot tell if the entries in the file hosts were made on purpose or by malware you still may need to edit the file hosts manually in case of redirection of the browser once the malware has been removed.

    Some analytical tools will report changes to the hosts as a suspect file and allow you to review the changes and allow you to decide whether the changes are appropriate, and to take action.

    Sometimes, analytical tools cannot tell if the entries in the hosts file have been put there by malicious software or you put there on purpose so cannot do not report any problems with the hosts file.  This does not mean that the hosts file has not been adjusted by malicious software.

    A hosts file is not required for your browser to operate.  If you suspect a problem with the hosts file, you can rename the hosts file and test your browsing without it.

    Always reboot your system and the navigation test after making changes to the hosts file.

    To manipulate the hosts file, you need to make hidden files not hidden and remove the attribute only read the hosts file.

    In Explorer, navigate to the following folder (assuming that Windows is installed on your C drive):

    c:\Windows\system32\drivers\etc

    Click on tools. Of files, display options.  In advanced settings, enable (check) the box option for:

    Display the hidden files and folders

    Click OK.

    Hosts file has no extension, but some system files have extensions, and it may be useful to also see the file extensions for all files.  While you adjust the display of folder options, bring up the file extensions.

    Click on tools, Options, view.  In advanced settings, check (tick) in the box:

    Hide extensions of known file types

    Click OK.

    Now the hosts file must be visible.

    Make a copy of the current hosts file and name the copy something he can remember so that you can find it later and undo the changes if the changes do not work, or worse still, things become.

    The host file is usually a single reading, so to change it, you must remove the read-only attribute:

    Make a right-click the hosts file, properties, uncheck the box that says:

    Read-only

    Click OK.

    Now you can edit the file hosts with a text editor.  Be sure to save the hosts file after any changes.

    You will need to decide what is in your hosts file.  The default hosts file has only one entry (and a lot of comments) so if you think that the hosts file are the part of your question, you can remove all but the default entry and save the file.

    Always reboot your system and the navigation test after making changes to the hosts file.

    You should make hosts read-only folder again when you are finished making changes.  Of course some programs or malware do not pay attention to the attributes of a file read-only, but it is advisable to
    the hosts of the file to be read-only.

    If you want to, reverse explore changes to hide system files and extensions of known file types.

    If you think your hosts file is irretrievably, replace the contents with the default values of Windows.

    The default for Windows XP hosts file looks like this:

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address must
    # be placed in the first column, followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    space #.
    #
    # In addition, comments (such as these) may be inserted on individual
    # lines or following the name of the machine indicated by a symbol "#".
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost

    There are places on the Internet to download information to your hosts file which is based on what other people think your hosts file must block or allow for your Internet browsing.  Sometimes that works very well, but you must now find out more about the manipulation of the hosts file so that you can decide what's best for your environment.

    Here's some additional reading on how to manipulate your hosts file:

    http://www.MVPs.org/winhelp2002/hosts.htm

    This is a user-friendly tool with a graphical interface (GUI) to help you work on your hosts file:

    http://www.Funkytoad.com/index.php?option=com_content&ID=13

  • How can I fix a corrupted Hosts file?

    McAfee technical support took control of my keyboard/mouse to download a update of their total Protection software. The update process has not completed because the download seems to hang due to some sort of network problem. In analyzing the problem, the person tech support tried to make changes and updated Hosts file, in vain. They then told me to contact Microsoft and tell them that the Hosts file has been altered, preventing them to update.

    Looks like a bunch of BS from McAfee.  My real suggestion is to drop it and go with a decent product - perhaps eSet or Avira or something in that sense.

    How to reset the default hosts file?
    http://support.Microsoft.com/kb/972034

    Hope that helps.

  • host file corrupted how to fix?

    CANNOT INSTALL MICROSOFT SECURITY ESSENTIALS ERROR SECURITY CENTER CANNOT START

    How to reset the file Hosts in default  Follow the instructions to reset your Hosts file and this should solve the problem.

  • hosts file corruption

    How to fix XP

    Hi cyrilnewman,
     
    -What exactly is the problem you are having?
     
    This article can be of help to you:
     
  • Why the hosts file is reset periodically?

    Hello, I would like to redirect an IP address to a localhost, but whenever something comes back the original contents of the hosts file.

    I open windows/system32/drivers/etc/hosts with Notepad under run as administrator, and then make a change in the hosts file. All new Vett are redirecting to localhost (127.0.0.1), but suddenly some time my hosts file is returned to the original state.

    My system runs Windows Vista x 64-bit edition.
    What can change my hosts file and how to make a constant change in it?

    Best regards
    Voronkov Konstantin

    Konstantin,

    I'm not familiar with VPNS modifying the file hosts as Brian suggested. Also, VPNS are a bit outside the scope of support here in answers and if you need more information about the VPN, I would recommend display in TechNet Windows Vista Networking:

    http://social.technet.Microsoft.com/forums/en-us/itprovistanetworking/threads

    From personal experience, I find some antivirus software will monitor and restore the hosts file. If the host file is always reset to 0, you can perform a clean boot, use the system and see if the file resets. If not, it means that something in startup is reset the hosts file and from there you can determine what startup item is causing the problem.

    Check out the link below for instructions to boot:

    http://support.Microsoft.com/kb/929135

    I hope this helps!

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot change the hosts file in Windows Vista Home Premium

    Posted on behalf of a client:

    Cannot change the hosts file in Windows Vista Home Premium. Read-only value.

    Help, please.

    Hello

    I suggest you to try the steps below and check if it helps.

    Method 1: Try to take possession of the host file and check to see if the same problem happens.

    To apply permissions to a file or a folder:

    a. right click on the file or folder and then click Properties.

    b. click the Security tab and then click Edit.

    c. do one of the following:

    ·         To set permissions for a user who is not listed under group or user names, click Add, type the name of the user or group, click OK, select permissions and then click OK.

    ·         To change or remove permissions for a user or an existing group, click the name of the user or group, select the permissions and then click OK.

    For more information, see the article mentioned below:

    What to know before applying permissions to a file or a folder:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-access-denied-when-opening-files-or-folders

    Prevent changes to a file or folder (read-only):

    http://Windows.Microsoft.com/en-us/Windows-Vista/prevent-changes-to-a-file-or-folder-read-only

    Hope this information is useful.

  • Vista hosts file keep endangered

    Hi all.

    My Vista hosts file began to disappear these last time.

    I have no problem of replacement and it works very well after this, but what could be the cause of it disappear.

    I run vista basic security and everything worked fine until now.

    A few days back the part changed in the file has been deleted mysteriously, today the entire file has been deleted.

    Hi firestang,
     
    Do you remember any change to your machine before the problem?
     
    Follow the steps below and check if the problem persists.
     
    Step 1:
     
    Check if the host files disappears in safe mode .
     
    Step 2:
     
    If it works fine, I suspect involvement of conflict of software of third party causing the problem to occur. I'd make you clean boot and check if it is caused by a third-party software.
     
    Note: Follow step 7 to your computer as usual.
     
    Step 3:
     
    Do the SFC scan on your machine and check.
     
    Step 4:
     
    It could be because of a virus or spyware. I suggest that you run an online scan in order to remove the malicious software from the link below.
     
     
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • How can I get my host file upward and running post Fixit?

    Hello

    I recently got my host file damaged and used MS Fixit to fix, but without success. I'd really like to get a fix as soon as possible because the banners and pop ups make me crazy. I join what the file looks like now. A text too?

    Anne

    Hello Barouk,

    For hot flashes didn't work, I disabled my dns from the previous instructions.

    When my host is running, it works well with my Avast and Malwarebytes.

    Anne

    July 07, 23014

    I hope someone will help me fix my Host file. Firstly, I need to get rid of a couple of files. Which? (see attachment)

    Anne

    UPDATE

    I deleted and reinstalled the Host file and it works. Problem solved.

  • Event Viewer error "there was an error while trying to read the local hosts file." file "hosts" but good

    Hello

    In Event Viewer, I see a lot of mistakes like:

    Source: The customers DNS events

    There was an error trying to read the local hosts file.

    I read that threat indicating to rename the hosts for "hosts" file

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/system-log-shows-repeating-error-code-3221225485/3700e855-ded4-4F12-960f-1577f6132c04

    HOWEVER, the name of the file in my computer appears as it should

    C:/Windows/System32/drivers/etc / "hosts".

    and the content of the file is as it is supposed to be according to: http://support.microsoft.com/kb/972034

    What should I do to fix this error?

    P.S. I suspect my computer is compromised. Last weekend, Security Essentials has reported a malicious file backdoor and it has been deleted, but I have a weird behavior of the computer

    Thank you

    Veronica

    Try to re-create the hosts file.

    Open Notepad as administrator (click right on the Notepad icon or shortcut and click Run as admin) and type the following information in it:

    127.0.0.1 localhost

    : 1 localhost

    The '1' in the '127.0.0.1' must be in the first column of the line and there must be at least one space between "127.0.0.1" and "localhost". In the second line, there must be at least one space between ": 1" and "localhost".

    Save the file with name "hosts" in the C:\windows\system32\drivers\etc folder.

    Source: http://www.sevenforums.com/system-security/130518-hosts-file-missing-should-i-worry.html

    You seem to have a hard drive problem. Please provide a copy of your system information file. Type the system information in the search box above the Start button and press the ENTER key (alternative is select Start, all programs, accessories, System Tools, system information). Select file, Export and give the file a name noting where it is located. Not to place the cursor in the body of the report before exporting the file. The system creates a new information file system each time system information is available. You must allow a minute or two before the file is completely filled before exporting a copy. Please download to your OneDrive (formerly Sky Drive), share with everyone and post a link here. Normal mode preferred report. Please say if the report was obtained in safe mode.

  • I need to change the host file in Windows\System32\drivers\etc but I get an error message telling me that I need administrator privileges to do this.

    I use Windows 7 on a Toshiba laptop. I am logged in as Administrator group member why not I have permissions to modify the file (I need to add an IP address to the list)?

    I never had this problem when using XP, so why are administrator permissions so darn limited in Windows 7? And why does the system not recognize me as a member of the Administrators group? It's so frustrating.

    Windows 7 UAC (User Account Control) prevents rogue programs do things behind your back. Click Start / Help, then look for help on UAC learn more.

    To change your hosts file, follow these steps:
    1. Locate Notepad in your Start menu or in the System32 folder.
    2. Right-click.
    3. Left click run as administrator.
    4. Open the hosts file, edit and save it.
  • How can I reset ms host files in windows 8

    Microsoft tried to reset the program host file but I get a promt saying it's nit supported by my system is windows 8

    Hi Tony,.

    Thanks for posting your query in Microsoft Community!

    I understand that you can not restore ms host files, I would like you to follow the steps given to host files to default:

    Method 1:

    1) press the Windows key + R.

    (2) type system32 in the run window.

    (3) this will open him now find folder System32 drivers folder.

    (4) after the opening of the drivers folder, find the folder etc.

    (5) once you open the etc folder, rename the file Hosts in Hosts.old.

     

    Method 2:

    Create a default hosts file. To do this, follow these steps:

    (1) open the immediate window by pressing Windows key + R.

    (2) open the System 32 folder by typing System32 in the run window.

    (3) navigate to the folder drivers and then navigate to the folder etc.

    (4) in the etc folder right-click on an open space in the (System32\Drivers\Etc folder), point to new, click Text Document, type hosts and then press ENTER.

    4) click Yes to confirm that the file name extension is not .txt.

    (5) open the new Hosts file in a text editor

    (6) for example, open the file in Notepad.

    (7) copy the following text to the file:-

    # Copyright (c) 1993-2006 Microsoft Corp.

    #

    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

    #

    # This file contains the mappings of IP addresses to host names. Each

    # entry should be kept on an individual line. The IP address must

    # be placed in the first column, followed by the corresponding host name.

    # The IP address and the host name should be separated by at least one

    space #.

    #

    # In addition, comments (such as these) may be inserted on individual

    # lines or following the name of the machine indicated by a symbol "#".

    #

    # For example:

    #

    # 102.54.94.97 rhino.acme.com # source server

    # 38.25.63.10 x.acme.com # x client host

     

    # is localhost name resolution manage itself in DNS.

    # 127.0.0.1 localhost

    #: 1 localhost

    Hope it works, if the problem persists, do not hesitate to post, I'll be happy to help you.

    Thank you!

Maybe you are looking for

  • Problem with the payment in India

    Hi, the India em. I need to buy a few apps from the App Store paid, but payment was refused by the store. I use the debit card VISA Bank normal state. Is there an option like VISA, MASTERCARD, AMEX, and NONE. VISA has been refused and tried with MAST

  • Copy of DVD of Windows 7

    Hello I recently bought a new computer with WIN 7 64 bit. AND I got in trouble a few days updating my Windows because it lacks a BIT files service. When I bought my computer I have not received the installation DVD of Windows because it was preinstal

  • iMovie upgrade 10.1.1 several times

    How can I stop this?

  • My profile photo has disappeared from my hotmail login page

    Where is my profile picture that it has disappeared from my hotmail login page?

  • Photosmart 6520 does not print

    I have a Photosmart 6520 printer that gives me an error message when I try to print something from online my HP chromebook. This problem started a few weeks ago, before that time, I was able to print. The error message I get on google cloud print Web