スケジュールされたスキャンを実行する曜日を指定する のレジストリ値 ScheduleDayコンピューターHKLM\Software\Policies\Microsoft\Windows Defender\Scan
- ポリシー ID
- Scan_ScheduleDay
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Server 2012、Windows 8、Windows RT またはそれ以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Microsoft Defender ウイルス対策 › スキャン
レジストリ
ScheduleDay
-コンピューターScheduleDay
REG_DWORDコンピューター- 有効時の値
- オプションの値に依存
- 要素
- スケジュールされたスキャンを実行する曜日を指定する
| 項目 | 保存される値 |
|---|---|
| 実行しない | 8 |
| 毎日 | 0 |
| 日曜日 | 1 |
| 月曜日 | 2 |
| 火曜日 | 3 |
| 水曜日 | 4 |
| 木曜日 | 5 |
| 金曜日 | 6 |
| 土曜日 | 7 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Scan] ; 選択項目 (1 つだけ使用) ; 実行しない "ScheduleDay"=dword:00000008 ; 毎日 "ScheduleDay"=dword:00000000 ; 日曜日 "ScheduleDay"=dword:00000001 ; 月曜日 "ScheduleDay"=dword:00000002 ; 火曜日 "ScheduleDay"=dword:00000003 ; 水曜日 "ScheduleDay"=dword:00000004 ; 木曜日 "ScheduleDay"=dword:00000005 ; 金曜日 "ScheduleDay"=dword:00000006 ; 土曜日 "ScheduleDay"=dword:00000007
CMD
:: 選択項目 (1 つだけ使用) :: 実行しない reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 8 /f :: 毎日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 0 /f :: 日曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 1 /f :: 月曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 2 /f :: 火曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 3 /f :: 水曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 4 /f :: 木曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 5 /f :: 金曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 6 /f :: 土曜日 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "ScheduleDay" /t REG_DWORD /d 7 /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 'ScheduleDay' -PropertyType DWord -Value 8 -Force | Out-Null # 毎日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 0 -Force | Out-Null # 日曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 1 -Force | Out-Null # 月曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 2 -Force | Out-Null # 火曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 3 -Force | Out-Null # 水曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 4 -Force | Out-Null # 木曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 5 -Force | Out-Null # 金曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 6 -Force | Out-Null # 土曜日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -PropertyType DWord -Value 7 -Force | Out-Null