0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windowsで怒られないhostsの編集方法

Posted at

hosts編集で管理者権限じゃないと怒られる

という場合、以下の手順でやってみましょう。

Windowsキー+R → cmdと入力して、Ctrl+Shift押しながらエンター

管理者権限コマンドプロンプトで以下を実行。

copy c:\Windows\System32\drivers\etc\hosts c:\Windows\System32\drivers\etc\hosts_bk
notepad c:\Windows\System32\drivers\etc\hosts

これなら保存しても怒られないはず。
差分チェックは以下の通り。

fc c:\Windows\System32\drivers\etc\hosts c:\Windows\System32\drivers\etc\hosts_bk
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?