Quick Answer: Where Is Host File Windows 10?

How to Reset Hosts File Back to Default in Windows 10

  • With Notepad open in administrator mode, you’re ready to open the HOSTS file. Click on the File menu and select Open.
  • Browse to the directory C:\Windows\System32\drivers\etc\hosts.
  • Now, paste the following text into Notepad:
  • Click on the File menu and Save.

How do I restore my hosts file back to default Windows 10 8 7?

To do so, open a new Text file named hosts in the folder %WinDir%\system32\drivers\etc folder. Save the text file. Alternatively, if you wish you can download the default Hosts file of Windows 10/8/7 by clicking here. Extract the contents and place the Hosts file in your C:\Windows\System32\drivers\etc folder.

Can’t find my hosts file?

How to Get to and Edit the Hosts File

  1. Click on the Start button, type “notepad” and press CTRL+SHIFT+ENTER. Acknowledge the UAC dialog.
  2. Type CTRL+O. Navigate to C:\Windows\System32\drivers\etc. Select “All Files” in the bottom right corner.
  3. Now you see the hosts file. Select and open it. Make your changes and save it.

How do I get permission to save hosts file?

Here’s how you can edit your hosts file without getting the “You don’t have permission to save in this location. Contact the administrator to obtain permission” error. Hit the start menu or press the Windows key and start typing Notepad. Right-click Notepad and choose Run as administrator.

Where is my host file?

Click File in the menu bar at the top of Notepad and select Open. Browse to C:\Windows\System32\Drivers\etc and open the hosts file. Make the needed changes, as shown above, and close Notepad.

How do I restore my hosts file back to default Windows 10?

How to Reset Hosts File Back to Default in Windows 10

  • With Notepad open in administrator mode, you’re ready to open the HOSTS file. Click on the File menu and select Open.
  • Browse to the directory C:\Windows\System32\drivers\etc\hosts.
  • Now, paste the following text into Notepad:
  • Click on the File menu and Save.

How do I reset my host file back to default?

To reset the Hosts file back to the default yourself, follow these steps: Click Start, click Run, type Notepad, and then click OK. On the File menu, select Save as, type “hosts” in the File name box, and then save the file to the desktop. Select Start > Run, type %WinDir%\System32\Drivers\Etc, and then select OK.

How do I use host file?

The hosts file is used to map hostnames (in other words domains) to IP addresses. With the hosts file you can change the IP address that you resolve a given domain name to.

How to use the “hosts” file?

  1. Windows – SystemRoot > system32 > drivers > etc > hosts.
  2. Linux – /etc/hosts.
  3. Mac OS X – /private/etc/hosts.

How do I open host file as administrator?

Open your Windows start menu, search for the notepad application and then right click the notepad icon. Step 2. Choose “Run as administrator” and then, while inside notepad, browse to folder (/windows/system32/drivers/etc) that contains the hosts file.

What is the extension of host file?

The hosts file is a plain text file used to map host names to IP addresses. On Windows, it is located in the C:\Windows\System32\drivers\etc folder.

Like this post? Please share to your friends:
OS Today