win2008 r2 is the 64-bit system hosts file path is C:\\Windows\\System32\\drivers\\etc\\hosts
Method 1
The first method is very popular on the Internet. The method of covering is to copy the hosts file to another place, and then fix it and then cover it back. In the middle, the target folder will be prompted to deny access. You need to provide administrator rights. Click Continue. This is a very simple method, not much to talk about here.
Method 2
, change with Notepad
First in the Start menu, use the administrator Permission to open a Notepad, and then open the hosts file in Notepad, because it is opened with administrator privileges, so you can save. The specific steps are as follows:
1, Start Menu->Accessories-> Right click on “Notepad”->Run as administrator, (Operation as shown)
2. After opening, open the hosts file with Notepad (win2008 r2 is a 64-bit system) The path of the hosts file is C:\\Windows\\System32\\drivers\\etc\\hosts, (the operation is as shown)
3. After the point is opened, write again. Well, your own hosts statement can be saved directly. (Operation as shown)
Method three
, change with batch
1, write the following code to txt file, and save as “lds;hosts” .bat” file (note here, if some friends' computers do not display file suffixes, so direct naming is invalid, you need to display the suffix of common files in the folder options). The contents of the file are as follows:
Copy the code
The code is as follows: @echo off del %systemroot%\\system32\\drivers\\etc\\hosts echo 127.0.0.1 www.test.com >>%systemroot%\\ System32\\drivers\\etc\\hosts start http://www.jb51.net
2, change the IP and domain name to what you want,
3, right click ” Hosts.bat” file, choose to run with administrator privileges. Just fine. (Operation is shown)
author: PC peripherals fashion network
Win10 preview version 9879 officially released, then win10 preview version 9879 update step is what?
. Last night, Microsoft has issued an invitation letter to domestic users, confirming that it will
Now many users have reported that they cant connect to the Internet after installing Win8. This pro
Solve win7 system MySQL service can not start error 1067 four methods
How does Win10 change the Chinese login user folder name to English name?
Win10 Preview 10547 Getting Started Video: Start Menu and Tablet Mode Improvement
How to change the font size of the Windows 8 system title bar
Use the QuickTime video player in the MAC to play various media videos
How to solve the problem that Windows 7 can't create remote connection management service
The Win10 Synaptics touchpad supports Windows Hello Fingerprint
Win8.1 failed to upgrade Win10 9879, what should I do if I get an error code?
Win10 disk quota is where Win10 disk quota location and role introduction
Win10 font display effect is ugly how to solve? Try this way
WinXP system import or export cookie information graphic tutorial
Win10 TH2 official version 10586.63 update repair content Daquan: repair kernel vulnerability
Why is there no increase in memory after the win7 system is added with a memory stick?
The original desktop of the computer desktop is gone, how to get
Win7 activation failed with 0xC004F035 error Solution
Win10 installation millet wifi client is not compatible how to reload the driver?
How does Win10 set F8 into safe mode?
XP password forgotten solution (WinPE)
Windows 7 is the most anticipated 10 features
Android Simulator bluestacks FAQ Summary