Open in the explorer

File size limits for Local Machine zone

Limites de la taille de fichier pour la zone Ordinateur local

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Persistence Behavior FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Persistance
Supported on
At least Internet Explorer 5.0 FR: Au moins Internet Explorer 5.0
ADMX file
inetres.admx
Internal name
inetres/Persistence_FileLimits0

Explanation

Limits the amount of storage that a page or site using the DHTML Persistence behavior can use for the Local Computer security zone.

If you enable this policy, you can specify the persistence storage amount per domain or per document for this security zone.

If you disable this policy or do not configure it, you cannot set this limit.

Note: This setting does not appear in the user interface.

French text from Windows 11 26H2

Limite l’espace de sauvegarde qu’une page ou site utilisant la persistance DHTML peut occuper dans la zone de sécurité Ordinateur local.

En activant ce paramètre de stratégie, vous pouvez spécifier l’espace de persistance par domaine et par document pour cette zone de sécurité.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, cette limite ne peut pas être définie.

Remarque : ce paramètre n’apparaît pas dans l’interface utilisateur.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Persistence
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.

Enable

# Enable: inetres/Persistence_FileLimits0
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Persistence\0'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Per domain(in kilobytes)
Set-ItemProperty -Path $k -Name 'DomainLimit' -Value 1024 -Type DWord
# Per document (in kilobytes)
Set-ItemProperty -Path $k -Name 'DocumentLimit' -Value 128 -Type DWord

Disable

# Disable: inetres/Persistence_FileLimits0
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": inetres/Persistence_FileLimits0
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Persistence\0'
Remove-ItemProperty -Path $k -Name 'DomainLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DocumentLimit' -ErrorAction SilentlyContinue

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Per domain(in kilobytes)Par domaine (en kilo-octets)FileLimits_Domain0Numeric boxdecimalDomainLimitin Software\Policies\Microsoft\Internet Explorer\Persistence\0REG_DWORD
Default (UI): 1024
Per document (in kilobytes)Par document (en kilo-octets)FileLimits_Document0Numeric boxdecimalDocumentLimitin Software\Policies\Microsoft\Internet Explorer\Persistence\0REG_DWORD
Default (UI): 128

Availability