Set default storage limits for websites
Définir les limites de stockage par défaut pour les sites Web
Explanation
This policy setting sets data storage limits for indexed database and application caches for individual websites. When you set this policy setting, you provide the cache limit, in MB.
If you enable this policy setting, Internet Explorer displays a notification when a website exceeds the configured storage limit.
If you disable or do not configure this policy setting, users can set default data storage limits for indexed databases and application caches.
Ce paramètre de stratégie définit les limites de stockage de données pour les bases de données indexées et les caches d’applications de sites Web spécifiques. Lorsque vous définissez ce paramètre de stratégie, vous indiquez la limite du cache en Mo.
Si vous activez ce paramètre de stratégie, Internet Explorer affiche une notification quand un site Web dépasse la limite de stockage configurée.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent définir les limites de stockage de données par défaut pour les bases de données indexées et les caches d’applications.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\BrowserStorageHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\BrowserStorage- 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.
Computer (HKLM)
Enable
# Enable: inetres/DefaultDomainCacheLimitInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set default storage limits for websites
Set-ItemProperty -Path $k -Name 'DefaultDomainCacheLimitInMB' -Value 10 -Type DWord # between 0 and 9999Disable
# Disable: inetres/DefaultDomainCacheLimitInMB
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/DefaultDomainCacheLimitInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage'
Remove-ItemProperty -Path $k -Name 'DefaultDomainCacheLimitInMB' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Set default storage limits for websitesDéfinir les limites de stockage par défaut pour les sites WebDefaultDomainCacheLimitInMBPart | Numeric boxdecimal | DefaultDomainCacheLimitInMB | REG_DWORD | Required · Min: 0 · Max: 9999 · Default (UI): 10 |