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?

cscの作法 その574

Posted at

概要

cscの作法、調べてみた。
悩んだので、copilotに、聞いてみた。

プロンプト

c#で、書いたプログラムが、コンパイルするとWindows Defenderにウィルス判定され隔離される。除外するには、どうすればいいのか。

回答

Windows Defenderで特定のプログラムやファイルをウイルススキャンの対象から除外するには、以下の手順を試してみてください:

  1. Windowsセキュリティを開く

    • スタートメニューから「設定」を開き、「プライバシーとセキュリティ」を選択します。
    • 「Windowsセキュリティ」をクリックし、「Windowsセキュリティを開く」を選択します。
  2. ウイルスと脅威の防止を選択

    • 「ウイルスと脅威の防止」をクリックし、「設定の管理」を選択します。
  3. 除外設定を追加

    • 「除外の追加または削除」をクリックします。
    • 「除外の追加」を選択し、以下のいずれかを指定します:
      • ファイル(特定のプログラムファイルを指定)
      • フォルダ(フォルダ全体を除外)
      • ファイルの種類(特定の拡張子を除外)
      • プロセス(実行ファイル名を指定)
  4. 除外対象を選択

    • 除外したいプログラムやフォルダを選択し、「保存」をクリックします。

これで、指定したプログラムやファイルがWindows Defenderのスキャン対象から除外されます。ただし、除外設定を行う際は、セキュリティリスクを十分に考慮してください。

さらに詳しい手順はこちらこちらで確認できます。何か他にお手伝いできることがあれば教えてください!

以上。

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?