Can’t edit hosts file Windows 7?
You need to either take ownership of the file (Right click the hosts file, Security tab, and give yourself full rights), or open Notepad as Administrator and open, edit and save your hosts file from there. It’s designed that way so some rogue malware can’t come in and change that.
Where is hosts file on Windows 7?
For Windows 7 and Vista
When Notepad opens, click File > Open. In the File name field, type C:WindowsSystem32Driversetchosts. Click Open. Make the necessary changes to the file.
How do I modify my hosts file?
- Press the Windows key.
- Type Notepad in the search field.
- In the search results, right-click Notepad and select Run as administrator.
- From Notepad, open the following file: c:WindowsSystem32Driversetchosts.
- Make the necessary changes to the file.
- Select File > Save to save your changes.
How do I change my hosts file from read-only?
Open the hosts file on your Desktop with Notepad or any other text editor.
- Go to C:WindowsSystem32driversetc.
- Locate the hosts file, right-click it and choose Properties from the menu.
- Go to the Attributes section and make sure the Read-only option isn’t checked.
- Click Apply and OK to save changes.
How do I save a host file without admin rights?
Find the hosts file. Right-click it and go to Properties. Near the bottom, you should see Attributes and uncheck Read-only next to it. Save the changes with Apply and confirm by clicking OK.
How do I open host file as administrator?
- Click Start, click All Programs, click Accessories, right-click Notepad, and then click Run as administrator. …
- Open the Hosts file or the Lmhosts file, make the necessary changes, and then click Save on the File menu.
Is it safe to edit hosts file?
All editing the Hosts file does is redirect an IP Address, so can have no detrimental effect on your system . . .
Can not edit hosts file?
- Press the Windows key and search for Notepad.
- Once Notepad is available, right-click and select Run as administrator.
- In your Notepad, Click File > Open and search for the following file: c:WindowsSystem32Driversetchosts.
- You can edit the changes as normal.
- Click File > Save to save your changes.