The concept of easy Edit Hosts File on Windows 10, 8.1 and 8 without help of out source system tools. In details of host file you must know it’s a most important system file which contains the history of host or site names with it’s IP addresses. The basic work of host file is translating the IP addresses to host name and host name to IP addresses. By this process DNS server requests will be avoided. So that browsing sites and accessing different network addresses or sharing by ‘name’ will be more smoother than previous.
For particular sites DNS name and IP address can be personalize(set) manually by host file that will be helpful in various work in Windows OS or Mac OS X too. In one line we can say hosts files are those plain text files that’s free from file extension and similar to windows 7 hosting file.
How to Edit Hosts File on Windows 10?
In previous Windows OS we have used ‘edit’ DOS command method to modify the hosts file. But the problem in Windows 10 and 8.1 is, there is no option of ‘editing’ DOS command. And if you will try to use this command you will receive the error msg given below.
Why DOS Command is not Editing Hosts File in Windows 10 and Windows 8.1?
How to Edit Hosts File ? DOS command is not editing host files because Windows 10 and windows 8.1 run on support of 32-bit and 64-bit version but edit DOS command requires 16-bit QBASIC.EXE. This is the reason it will not work on 32Bit and 64Bit version of Windows 10 and 8.1. But our target is to edit host file in windows 10 and 8.1. So how it’ll be possible? Yes, we will make it possible by Notepad program. We will save the program as “built-in Notepad” option. Explanations are given below.
How to Easily Edit Hosts File on Windows 10 and 8.1? When DOS command not Recognized.
This is the concept of easy edit host file on Windows 10, 8.1 and 8 without help of out source system tools. We are using Windows Operating System, you can get the hosts file here, by following given Address:-
In above address “C“- is that disk drive where Windows Operating System was installed.
Now you must be sure that you have administrative authority to access or privilege on your computer where you are going to Edit hosts file before trying to modify it.
Awareness : Dear Windows OS user you must know that Microsoft Security Essential (Windows OS Defender) and some other Antivirus software will not permit to modify hosts file because of OS security precaution. As many harmful virus including spywares attack at hosts file, this is confidential area and fully protected by Antivirus. In condition of getting such issue or notification you must temporarily disable the Antivirus. You also can exclude the targeted hosts file from the Antivirus protection.
Process-1: How to Instant Edit the Host File in Windows 10 or 8.1 without any difficulty?
Step.1) First click windows 10/8.1 start logo and search for ‘cmd‘. Right click over first search result means ‘cmd’ logo and Run as Administrator. And click “Yes” to accept the access. As we showed you in below image.
Step.2) Now just type ‘cd drivers‘ On the cmd command prompt opened and press Enter key. Then in next line type ‘cd etc’ and again press ENTER key. For more see img given below. This is an unique method to find out location of host .
Step.3) Have you checked your folder path is correct or not? Make sure here – If ‘C’ drive is your system administrative drive then your folder path must be C:\Windows\System32\Drivers\etc. Now again open ‘search box‘ from ‘Start’ four flag windows logo and type over there ‘notepad hosts‘. By this step you will be able to open the hosts file in notepad.
Editing Hosts File on Windows 10
Step.4) We are sure that you have full knowledge about content of the file. Now it’s time to type the IP address of your wished domain(We mean the host name you want to put), then type the name. To remove any confusion from your mind see the examples below.
Here is one more advantage note hosts. If you put the wrong IP address then you can block Facebook on your PC. Same for other harmful sites Get details here.
If you have fully modified the host file with Once you have modified the file with suitable settings, click on ‘File menu‘ and ‘Save‘ it. We are glad on prosperous modified the hosts file in Windows 10 and 8.1.
Awareness : In condition of failure of opening the notepad host from suggested command prompt ‘Run as Administrator’. You can’t save the Hosts file as we have showed in above example. But we should not leave our target to edit and save the Host File in Windows 10 and 8.1. Process 2 will work for you to Edit the Host File in Windows 10 and 8.1.
This process is for those people who have are not command prompt expert(having less knowledge in command prompt). If you are also weak in command prompt, this handy process will be easy for you. We hope editing the hosts file via ‘GU interface‘ will be more easy for you.
Step.5) To check the location of file once Browse it. If ‘C‘ drive is your system drive then you will get this path C:\Windows\System32\Drivers\etc. If you have get the same path once right click on the path and select the option to open it with notepad.
Step.6) After completely Modify the hosts file in your PC. Now, just click on Save button to instant apply the modification.
Steps.7) Regrettably you aren’t permitted to save this file at this time. Because if you’ll save it, it’ll overwrite on previous file and it’s not permitted. But still you can save this changed file to other location. Before going to save it once conform yourself that have you selected ‘All Files‘ in file type and are you saving it as ‘hosts‘. For any difficulty take help from below image.
As you can see in above img I saved the new hosts file on desktop.
Editing Hosts File on Windows 10
Step.8) We are on the last step. In this step you need to copy the previous saved file( you may cut) and paste it at the required location, I mean C:\Windows\System32\Drivers\etc.
To build as Windows 7 hosting file. At the time of going to paste host file in above location you will need to accept replacing the existing hosts file because the same file is already available at that location.
Your work had done when you replaced the file. And you done editing Hosts File in Windows 10 and Windows 8.1. The newly edited hosts file has been activated on your Windows 10 or 8.1 computer.
Hope this guide thought you How to Edit Hosts File in Windows 10/8.1 Computer. The same process will work in earlier and current version.