2
2

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 1 year has passed since last update.

WindowsDefenferのCPU使用率を制限する

Last updated at Posted at 2023-10-21

Windowsで大量ファイル出力が発生する処理(ベンチマーキング、コンパイル、巨大リポジトリのクローン時など)実施時にタスクマネージャーを見ると、WindowsDefenderがCPUリソースを大量に使用していることが確認できる。

1.png

CPUリソースをWindowsDefender以外に渡したい場合は、PowerShellにて管理者権限で下記コマンドを実行することでCPUの使用率上限値を設定できる。
デフォルトでは50%になっているので、それ以下にすることで効果が見込める。

Set-MpPreference -ScanAvgCPULoadFactor <percentage>

10%に設定する場合

Set-MpPreference -ScanAvgCPULoadFactor 10
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?