1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Registoryを変更してしまったときの戻し方メモ

Last updated at Posted at 2018-07-29

間違えてレジストリをいじってしまい,ほとんどのexeファイルが開かなくなったときの対処法

exeファイルに関するレジストリをregedit.exeでいじってしまい,動かなくなってしまった.

Windowsは以下の方法でレジストリを編集できる.
(Windowsが機能しなくなる恐れがあるのでなるべくいじらない,変更する前に必ずバックアップやエクスポートをしておくこと.)

  1. registry Editor (regedit.exe)
  2. regedit.exeでエクスポートできる.rgファイルをダブルクリック

そこで,他の機能しているパソコンからWindows + R でregeditと入力し,registry editorを起動[1]した.
exeファイルを選択してから,ファイル→エクスポートを選択し,exeファイルのみのrgファイルをエクスポートした.
(エクスポート画面のselected branch がHKEY_CLASSES_ROOT.exeとなる.)
image.png
これでエクスポートしたファイルを動かなくなったPCでダブルクリックすると,exeに関するregistryが更新され,動くようになった.

[1] レジストリエディタを開く
[2] Windowsレジストリ情報

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?