スケジュールされたスキャンに使用するスキャンの種類を指定する のレジストリ値 ScanParametersコンピューターHKLM\Software\Policies\Microsoft\Windows Defender\Scan
- ポリシー ID
- Scan_ScanParameters
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Server 2012、Windows 8、Windows RT またはそれ以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Microsoft Defender ウイルス対策 › スキャン
レジストリ
ScanParameters
-コンピューターScanParameters
REG_DWORDコンピューター- 有効時の値
- オプションの値に依存
- 要素
- スケジュールされたスキャンに使用するスキャンの種類を指定する
| 項目 | 保存される値 |
|---|---|
| クイック スキャン | 1 |
| フル システム スキャン | 2 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Scan] ; 選択項目 (1 つだけ使用) ; クイック スキャン "ScanParameters"=dword:00000001 ; フル システム スキャン "ScanParameters"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: クイック スキャン reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScanParameters" /t REG_DWORD /d 1 /f :: フル システム スキャン reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScanParameters" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null # 選択項目 (1 つだけ使用) # クイック スキャン New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScanParameters' -PropertyType DWord -Value 1 -Force | Out-Null # フル システム スキャン New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScanParameters' -PropertyType DWord -Value 2 -Force | Out-Null