en-US edge computer user

Action to take on Microsoft Edge startup

Verified with Microsoft Edge 152.0.4191.53 — updated on July 10, 2026

Microsoft Edge 152.0.4191.53

Supported on: Microsoft Edge version 77, Windows 7 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Microsoft Edge\Startup, home page and new tab page

Description

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.

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge

More options available

Options

Action to take on Microsoft Edge startup
RestoreOnStartup enum
  • 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

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Action to take on Microsoft Edge startup
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge version 77, Windows 7 or later

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]
"RestoreOnStartup"=dword:00000005
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Action to take on Microsoft Edge startup
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge version 77, Windows 7 or later

$path = 'HKLM:\Software\Policies\Microsoft\Edge'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'RestoreOnStartup' -Value 5 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview