en-US edge computer user

Configure auto discard sleeping tabs

Verified with Microsoft Edge 157.0.4341.60 — updated on November 5, 2026 Supported on: Microsoft Edge version 120, Windows 7 or later

Microsoft Edge 157.0.4341.60

Path in the GPO console

Computer Configuration\Administrative Templates\Microsoft Edge\Sleeping tabs settings

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge
Value name:
AutoDiscardSleepingTabsEnabled REG_DWORD
Enabled:
1
Disabled:
0

Description

This policy setting lets you configure whether to turn on auto discard. Auto discard reduces memory usage by discarding inactive background tabs. When the user switches back to a discarded tab, the tab is reloaded. By default, auto discard is turned on. Microsoft Edge discards an eligible background tab after it has remained in the background through three consecutive browsing sessions, including the current one. A new browsing session begins when the browser is used more than 12 hours after the start of the previous session, or more than 18 hours on devices with 16 GB or more of memory. The tab's inactivity period starts over when the user switches to it or navigates to it. If this policy is enabled, auto discard is turned on. If this policy is disabled, auto discard is turned off. If this policy is not configured, auto discard is turned on.

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: Configure auto discard sleeping tabs
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge version 120, Windows 7 or later

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

PowerShell

# Exported from gporais.com
# Policy: Configure auto discard sleeping tabs
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge version 120, Windows 7 or later

$path = 'HKLM:\Software\Policies\Microsoft\Edge'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'AutoDiscardSleepingTabsEnabled' -Value 1 -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