更新のための自動再起動リマインダー通知を構成する のレジストリ値 SetAutoRestartNotificationConfig ほか 1 件コンピューターHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate
- ポリシー ID
- AutoRestartNotificationConfig
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Server 2016 から Windows Server 2022、または Windows 10
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Windows Update › 従来のポリシー
レジストリ
SetAutoRestartNotificationConfig
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; 選択項目 (1 つだけ使用) ; 有効 "SetAutoRestartNotificationConfig"=dword:00000001 ; 無効 "SetAutoRestartNotificationConfig"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAutoRestartNotificationConfig" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAutoRestartNotificationConfig" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAutoRestartNotificationConfig' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAutoRestartNotificationConfig' -PropertyType DWord -Value 0 -Force | Out-Null
AutoRestartNotificationSchedule
REG_DWORDコンピューター- 有効時の値
- オプションの値に依存
- 要素
- 期間 (分):
| 項目 | 保存される値 |
|---|---|
| 15 | 15 |
| 30 | 30 |
| 60 | 60 |
| 120 | 120 |
| 240 | 240 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; 選択項目 (1 つだけ使用) ; 15 "AutoRestartNotificationSchedule"=dword:0000000f ; 30 "AutoRestartNotificationSchedule"=dword:0000001e ; 60 "AutoRestartNotificationSchedule"=dword:0000003c ; 120 "AutoRestartNotificationSchedule"=dword:00000078 ; 240 "AutoRestartNotificationSchedule"=dword:000000f0
CMD
:: 選択項目 (1 つだけ使用) :: 15 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 15 /f :: 30 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 30 /f :: 60 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 60 /f :: 120 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 120 /f :: 240 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 240 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # 選択項目 (1 つだけ使用) # 15 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 15 -Force | Out-Null # 30 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 30 -Force | Out-Null # 60 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 60 -Force | Out-Null # 120 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 120 -Force | Out-Null # 240 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 240 -Force | Out-Null