Notify a user that a browser restart is recommended or required for pending updates: registry value RelaunchNotificationUserHKCU\Software\Policies\Microsoft\Edge

Policy ID
RelaunchNotification
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 77, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Relaunch

Registry

RelaunchNotification

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Notify a user that a browser restart is recommended or required for pending updates
Options
ItemStored value
Recommended - Show a recurring prompt to the user indicating that a restart is recommended1
Required - Show a recurring prompt to the user indicating that a restart is required2
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Recommended - Show a recurring prompt to the user indicating that a restart is recommended
"RelaunchNotification"=dword:00000001
; Required - Show a recurring prompt to the user indicating that a restart is required
"RelaunchNotification"=dword:00000002
CMD
:: Options (use only one)

:: Recommended - Show a recurring prompt to the user indicating that a restart is recommended
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "RelaunchNotification" /t REG_DWORD /d 1 /f
:: Required - Show a recurring prompt to the user indicating that a restart is required
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "RelaunchNotification" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Recommended - Show a recurring prompt to the user indicating that a restart is recommended
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'RelaunchNotification' -PropertyType DWord -Value 1 -Force | Out-Null
# Required - Show a recurring prompt to the user indicating that a restart is required
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'RelaunchNotification' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Recommended - Show a recurring prompt to the user indicating that a restart is recommended
"RelaunchNotification"=dword:00000001
; Required - Show a recurring prompt to the user indicating that a restart is required
"RelaunchNotification"=dword:00000002
CMD
:: Options (use only one)

:: Recommended - Show a recurring prompt to the user indicating that a restart is recommended
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "RelaunchNotification" /t REG_DWORD /d 1 /f
:: Required - Show a recurring prompt to the user indicating that a restart is required
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "RelaunchNotification" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Recommended - Show a recurring prompt to the user indicating that a restart is recommended
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'RelaunchNotification' -PropertyType DWord -Value 1 -Force | Out-Null
# Required - Show a recurring prompt to the user indicating that a restart is required
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'RelaunchNotification' -PropertyType DWord -Value 2 -Force | Out-Null