File size limits for Trusted Sites zone
Limites de taille de fichier pour la zone Sites de confiance
Explanation
Limits the amount of storage that a page or site using the DHTML Persistence behavior can use for the Trusted Sites 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.
Limite l’espace de sauvegarde qu’une page ou site utilisant la persistance DHTML peut occuper dans la zone de sécurité Sites de confiance.
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_FileLimits2
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Persistence\2'
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 DWordDisable
# Disable: inetres/Persistence_FileLimits2
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/Persistence_FileLimits2
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Persistence\2'
Remove-ItemProperty -Path $k -Name 'DomainLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DocumentLimit' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Per domain (in kilobytes)Par domaine (en kilo-octets)FileLimits_Domain2 | Numeric boxdecimal | DomainLimitin Software\Policies\Microsoft\Internet Explorer\Persistence\2 | REG_DWORD | Default (UI): 1024 |
| Per document (in kilobytes)Par document (en kilo-octets)FileLimits_Document2 | Numeric boxdecimal | DocumentLimitin Software\Policies\Microsoft\Internet Explorer\Persistence\2 | REG_DWORD | Default (UI): 128 |