Windows7 won't let me edit the hosts file and save it

Windows7 won't let me edit the hosts file and save it. What should I do to save the edited host file?

This is a built-in security feature.  There is an easy solution.  Click onStart-> all programs-> Accessories.  Right click onNotepadand then click run as administrator.  If you are prompted for an administrator password or a confirmation, type the password, or clickallow or Yes.

Open the Hosts file (from the notebook, that you opened), make your changes, and then click file ->Save.

Barbara

Tags: Windows

Similar Questions

  • Parental control: I am the admin of the computer and the computer won't let me access the list allow and block my child's account

    I am the administrator of the computer and the computer won't let me access the list allow and block my child's account.  I'll bring my parental control password, click on my childs account, put parental controls, go to web filter and click on block some web sites, click on edit the allow and block list and the computer tells me that it is not able to make changes to parental controls settings and see the system administrator if the problem persists.

    Hi Ranw,

    ·        What is the error message when you try to change parental controls?

    ·        Have you been able to make any changes on this computer from your account earlier?

    You can follow the steps below and check if you can make changes to the parental controls on your computer.

    Step 1:

    Disable UAC (User Account Control) and check the result. Access the link below and follow the steps to disable UAC.

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-user-account-control-on-or-off

    Note: You must restart your computer when you enable or disable UAC. Change levels of notification does not require that you restart your computer.

     

    Step 2:

    I suggest to create a new administrator account and log later in the new administrator account, try to set parental controls and check if it works.

    Create a user account:http://windows.microsoft.com/en-US/windows-vista/Create-a-user-account

    Check out the link below to check if the parental control is properly set:

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-parental-controls

    I hope this helps. Let us know the result.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I have a second hand I pad problem is Ir won't let me pass the authorization page and maintains have turned off every 2 minutes, anyone has any suggestions please

    I have a second hnd I pad that won't let me pass the authorising officer page and although his full load it continues to go off after every 2 minutes

    Help, please

    Thank you

    Do you mean that you need Apple ID from the previous owner to enter the iPad?

    If so, bring her back. There is no way to get around that. It is called locking activation and is not something that a user can bypass

  • How to edit the Hosts file?

    If she been asked previously, thanks to that binds me to it. Otherwise, thanks to anyone who can answer.

    If it does not have a DNS server available to my hosts to ESXi 4.1 (by design), how add entries to the hosts on VMware servers file?  I need it to navigate and my Backup Server (separate physical box) so Backup Exec can use the SAN to move packages.

    Thank you

    There are several ways to do so.  If you use the vCLI exposed the hosts file for editing, so you can download it to your PC for management, update the file and then upload it to your host - http://www.vm-help.com/esx/esx3i/esx_3i_rcli/vifs.php.  You can also activate the Mode (local or SSH access) Tech support and edit the file/etc/hosts directly.

  • CC of Photoshop won't let me edit the brush

    I am trying to edit a brush I just created, but all options are locked and the buttons are disabled, it won't let me choose a brush, I tried the button Reset locked, but nothing has changed.

    Thanks in advance,

    Jordan

    You can use the rest of Photoshop OK? It looks like little to PS is waiting for input before it will do anything, like you have an asset free transform or crops waiting to be committed to or escaped. Oh and the Brush tool sellected again.

  • I reinstalled Vista and now my screen flickers, a bit like a ripple effect when scrolling.it won't let me edit the recycling rate

    everything is whack... color, writing, everything is wrong.it won't let me change anything, everything is grey, I just want to change the rate of recycling and the resolution.

    Hello

    Make sure you have the latest vista drivers for your computer which you can get your computer manufacturers Web site

    go to their website and look for a driver and software download section

    Enter your model number for the last look drivers vista then download and install

  • AMD Vision Engine Control Center won't let me edit the scaling options.

    Hi, I wanted to change the option of scaling on my computer to "centered", it won't let me.

    Ansel salvation,

    Thanks for posting your query on the Microsoft Community.

    This can happen if the drivers are outdated. You can update your drivers and see if you still face the same problem. If the problem persists then you can uninstall and install the driver and check if it helps.

    Update/install the latest video card drivers and check if it helps.

    http://Windows.Microsoft.com/en-us/Windows-8/all-drivers

    If the problem persists, please contact AMD support for more help on this issue. Let us know the status of the issue. We will be happy to help u more far.

    Thank you.

  • CLIQ: Won't let me open the photo gallery and text messaging!

    Hello

    My Cliq won't let me open my Gallery of photos and SMS app. Force always closed. What can I do?


  • File Express dialog box won't let me enter the new file name

    I try to use the writing of XML file.vi to write a file which may be an existing file, but it may be new.  I would like to than the default to provide so that the user can simply click OK.  I would also like to provide my own text to the top of the window.

    Writing to an XML file is not enough entries to do so I thought I'd use the Express VI from file dialog box to do this.  I provide the startup path and the default name etc.  But when I run my VI and type a new file name a window pops up saying: (new name of file) file not found.  Please check that the correct file name was given.  Ok.

    I don't see any way around that.

    Any help much appreciated.

    You must configure the express vi to allow selection of new files

  • Want to edit a PDF file and save it to the same folder

    I have PDF files that have been scanned in, unfortunately some of them are upside down that it will be difficult for the data entry clerks enter.  I just want to be able to rotate and save the PDF files to the same folder.  When I try to save the file after I straightened, I get the error message below.  I can do what I want.  I can save to a different file, but it's tedious as whenever I have to locate the file moving through the directory tree.   Committed to the seizure data doesn't have access to the single Reader Acrobat XI.

    I have

    Try turning off the preview in your windows Explorer window. The file is open, it is perhaps the reason why that acrobat cannot write to it.

  • Thunderbird won't let me delete the folders "Important" and "all messages".

    When I try to delete mail and important files in the folders pane all the I get a response that the current command has failed. I don't think I really need these records as they duplicate what is in other folders. Is it possible to delete these records?

    Try reading the help of gmail. They are limiting what you wanted to do, not Thunderbird.

  • 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.

  • implementation of the Hosts file on the server for the entire network?

    I see a lot of information on how to edit the local Hosts file on individual computers. But, is it possible to edit a Hosts file and have effect throughout the network?

    We have a network of a little over half a dozen of Mac mini, who take their DNS information from another Mac Mini running the application server OSX (under El Capitan). This server is the primary DNS machine for the network. I want to implement a Hosts file for the entire network.

    Parental control seems to be broken in OSX El Capitan, so this seems like the best next to us, short option to buy some third-party service, which I prefer not to do.

    I think that dnsmasq installation on your Mac server and configuration of all your computers to use as your "DNS Server" will achieve what you want.

    See osx https://oracle-base.com/articles/misc/dnsmasq-for-simple-dns-configurations-mac-

    Why do you feel you must do this?

  • 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

  • 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.

Maybe you are looking for