Edgeで.applicationファイルが開けないとき

 

Edgeで.applicationファイルを実行すると、




となってしまう場合があります。

ClickOnce と DirectInvoke が停止されていると、このような状態になるため、強制的に許可してみます。

対処方法

  1. Edgeを閉じる

  2. 管理者権限なコマンドプロンプト(または管理者権限のPowerShell)にて
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" /v "ClickOnceEnabled" /t REG_DWORD /d "1" /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" /v "DirectInvokeEnabled" /t REG_DWORD /d "1" /f
  3. Edgeを開き、URL欄に edge://policy/ と入れる

  4. ClickOnceEnabled 及び DirectInvokeEnabled がどちらもtrueになっていれば成功
    (見えないときはOSを再起動して再確認)

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny