خليك معايا ثوانى
تفضل حمل الملف و انسخه للمسار :
كود:
%systemroot% \system32\drivers\etc
وتابع الاتى :
To reset the Hosts file back to the default, follow these steps:
- Open Notepad. To do this, swipe in from the right edge of the screen, tap Search, type Notepad, and then tap the Notepad icon. Or, if you are using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, click Search, type Notepad, and then click Notepad.
- Copy the following text, and then paste the text into the file:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
- On the File menu, select Save as, type "hosts" in the File name box (as displayed in the following image), and then save the file to the desktop.
- Close Notepad.
- Open the %WinDir%\System32\Drivers\Etc folder. To do this, follow these steps:
- Swipe in from the right edge of the screen, tap Search, type run, and then tap the Run icon. Or, if you are using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, select Search, type run, and then select the Run icon.
- Type %WinDir%\System32\Drivers\Etc in the Open box, and then select OK.
- Select the Hosts file, select Rename, and then rename the file as "Hosts.old".
- Copy or move the Hosts file that you created in step 3 to the %WinDir%\System32\Drivers\Etc folder. If you are prompted to enter an administrator password, tap or click Continue.