Action to take on Microsoft Edge startup
Explanation
Specify how Microsoft Edge behaves when it starts.
If you want a new tab to always open on startup, choose 'RestoreOnStartupIsNewTabPage'.
If you want to reopen URLs that were open the last time Microsoft Edge closed, choose 'RestoreOnStartupIsLastSession'. The browsing session is restored as it was. This option disables some settings that rely on sessions or that perform actions on exit (such as Clear browsing data on exit or session-only cookies).
If you want to open a specific set of URLs, choose 'RestoreOnStartupIsURLs'.
Starting in Microsoft Edge version 125, if you want to reopen URLs that were open the last time Microsoft Edge closed and open a specific set of URLs, choose 'RestoreOnStartupIsLastSessionAndURLs'.
Disabling this setting is the same as leaving it not configured. Users can change it in Microsoft Edge.
This policy is only available on Windows instances that are joined to a Microsoft Active Directory domain, joined to Microsoft Azure Active Directory, or instances that enrolled for device management. On macOS, this policy is only available on instances that are managed via MDM or joined to a domain via MCX.
Policy options mapping:
* RestoreOnStartupIsNewTabPage (5) = Open a new tab
* RestoreOnStartupIsLastSession (1) = Restore the last session
* RestoreOnStartupIsURLs (4) = Open a list of URLs
* RestoreOnStartupIsLastSessionAndURLs (6) = Open a list of URLs and restore the last session
Use the preceding information when configuring this policy.
Use cases
Defines what Edge does at startup: open a new tab, restore the last session, open a list of URLs, or (since Edge 125) restore the last session and also open a list of URLs. In enterprises it is used to force the intranet or a portal when the browser opens.
Restoring the last session disables some settings that rely on the session, such as clearing data on exit or session-only cookies. Disabling this setting is the same as leaving it not configured.
Microsoft source: Microsoft Edge Browser Policy Documentation: RestoreOnStartup
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: msedge/RestoreOnStartup
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Action to take on Microsoft Edge startup
# Possible options:
# Open a new tab = 5
# Restore the last session = 1
# Open a list of URLs = 4
# Open a list of URLs and restore the last session = 6
Set-ItemProperty -Path $k -Name 'RestoreOnStartup' -Value 5 -Type DWordDisable
# Disable: msedge/RestoreOnStartup
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/RestoreOnStartup
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'RestoreOnStartup' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Action to take on Microsoft Edge startupRestoreOnStartup | Drop-down listenum | RestoreOnStartup | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.