Promotional banner image

PCのクラッシュにお困りですか?オーディオとグラフィックの品質が低いですか?

当社のソフトウェアは、5,000 万を超えるマルウェアのないオプションのデータベースからドライバーをスキャンし、更新します。

主題: Windows

Windows の新しい hosts ファイルを手動で作成する

Windows の新しい hosts ファイルを手動で作成する

  1. Windows+R キーを押して、[ファイル名を指定して実行]ダイアログボックスを開きます。

  2. 次の文字列を入力して、Enter キーを押します。

    %systemroot% \system32\drivers\etc
  3. hosts ファイルを右クリックして[名前の変更]をクリックします。

  4. 次の文字列を入力して Enter キーを押します。

    Hosts.old
  5. etc フォルダ内の空白領域を右クリックし、[新規作成]>[テキスト ドキュメント]を選択します。

  6. 次の文字列を入力して Enter キーを押します。

    hosts
  7. 確認のダイアログボックスで[はい]をクリックします。

  8. hosts ファイルを右クリックし、[プログラムから開く]または[開く]をクリックします。

  9. プログラムの一覧で[メモ帳]をダブルクリックします。

  10. 使用している Windows のバージョンに応じて、以下のいずれかのテキストを hosts ファイルにコピーします。

    • Windows 11/10/8/7/Vista の場合:

              # 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
              # 127.0.0.1 localhost
              # ::1 localhost
    • Windows XP の場合:

      		# Copyright (c) 1993-1999 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
              #    127.0.0.1 localhost
  11. ファイル]メニューで、[保存]を選択します。

  12. ファイル]メニューで[終了]を選択します。

文書番号(ID): v72822654
最終更新日: 09/06/2023

この記事は役に立ちましたか?

Need more help?

ダウンロード
アカウントの管理
購入して延長
お問い合わせ
コミュニティ
詐欺に対するサポート
ノートン レスキュー ツール
ウイルスに感染したと思ったら
Windows パソコン起動時の問題