Can't modify host file in windows 7


  1. Posts : 2
    Windows 7 Professional 32bit
       #1

    Can't modify host file in windows 7


    Hi,
    I am using windows 7 professional. I can't change the host file even with the administrator user or any other user that has been given the administrator privileges which i could do easily in win xp. Any suggestions can help me a lot.

    Thanks in advance.

    Asad
      My Computer


  2. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #2

    Hi asadrasel, welcome to 7F! :)

    Any error messages or warnings?

    Have you been following the steps taken in this tutorial?
    Hosts File : Use in Windows 7 / Vista, especially the first step Open Notepad, Run as Administrator?
      My Computer


  3. Posts : 2
    Windows 7 Professional 32bit
    Thread Starter
       #3

    Thanks Anak. It works!!
      My Computer


  4. Posts : 39
    Windows 7 Professional 64-bit
       #4

    what you need is this
    Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek
    install this and right click on the host fie and selest "Take Ownership"
    this should solve your problem
      My Computer


  5. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #5

    asadrasel said:
    Thanks Anak. It works!!
    Your Welcome asadrasel!

    agent47er said:
    what you need is this
    Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek
    install this and right click on the host fie and selest "Take Ownership"
    this should solve your problem
    A user needs to be aware that this modification will remove the Run as Administrator, and replace it with Take Ownership listing in the context menu, and it is possible it can lead to a security risk.

    If you go to this page: Windows 7 - Tutorial Index
    The third tutorial:
    Take Ownership - Allow or Prevent Users and Groups To Take Ownership should mitigate the security risk.

    There are also two other tutorials there:
    Take Ownership of a File, Folder, Drive, or Registry Key, and
    Take Ownership Shortcut.

    Caution is advised when Taking Ownership.
      My Computer


  6. Posts : 2,303
    Windows 7 & Windows Vista Ultimate
       #6

    It is best to follow the instructions linked to by Anak for modifying the HOSTS file. As Anak stated, the other method can lead to a security risk.

    BTW, if you use WinPatrol, it is even easier to edit the HOSTS file, regardless of your operating system. Just follow the following steps:


    • Right-click on Scotty in the system tray to launch WinPatrol, selecting "Options". Windows Vista and Windows 7 Users: Accept any UAC Prompts
    • Click "View HOSTS file", which will launch the HOSTS file in Notepad

    After making any desired changes, merely close Notepad.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:30.
Find Us