en-US windows computer user

Disable "Configuring History"

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Internet Explorer 5.0

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Delete Browsing History

Description

This setting specifies the number of days that Internet Explorer tracks views of pages in the History List. To access the Temporary Internet Files and History Settings dialog box, from the Menu bar, on the Tools menu, click Internet Options, click the General tab, and then click Settings under Browsing history. If you enable this policy setting, a user cannot set the number of days that Internet Explorer tracks views of the pages in the History List. You must specify the number of days that Internet Explorer tracks views of pages in the History List. Users can not delete browsing history. If you disable or do not configure this policy setting, a user can set the number of days that Internet Explorer tracks views of pages in the History list. Users can delete browsing history.

Registry

HKLM Software\Policies\Microsoft\Internet Explorer\Control Panel
HKCU Software\Policies\Microsoft\Internet Explorer\Control Panel

Value name: History

More options available

Options

Days to keep pages in History
DaysToKeep decimal - range 0-999 - default: 20

MDM / Intune (CSP)

Device ./Device/Vendor/MSFT/Policy/Config/InternetExplorer/DisableConfiguringHistory
User ./User/Vendor/MSFT/Policy/Config/InternetExplorer/DisableConfiguringHistory
DeviceUser Since Windows 10, version 1709 [10.0.16299] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

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: Disable "Configuring History"
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: At least Internet Explorer 5.0

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"History"=dword:00000001
"DaysToKeep"=dword:00000014
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Disable "Configuring History"
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: At least Internet Explorer 5.0

$path = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'History' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'DaysToKeep' -Value 20 -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