Allow websites to store application caches on client computers
Autoriser les sites Web à stocker des caches d’applications sur les ordinateurs clients
Explanation
This policy setting allows websites to store file resources in application caches on client computers.
If you enable this policy setting, websites will be able to store application caches on client computers. Allow website database and caches on Website Data Settings will be unavailable to users.
If you disable this policy setting, websites will not be able to store application caches on client computers. Allow website database and caches on Website Data Settings will be unavailable to users.
If you do not configure this policy setting, websites will be able to store application caches on client computers. Allow website database and caches on Website Data Settings will be available to users. Users can choose whether or not to allow websites to store data on their computers.
Ce paramètre de stratégie permet aux sites Web de stocker les ressources de fichiers des caches d’applications sur les ordinateurs clients.
Si vous activez ce paramètre de stratégie, les sites Web peuvent stocker des caches d’applications sur les ordinateurs clients. L’option Autoriser les caches et bases de données de site Web dans les Paramètres des données du site Web n’est pas disponible pour les utilisateurs.
Si vous désactivez ce paramètre de stratégie, les sites Web ne peuvent pas stocker de caches d’applications sur les ordinateurs clients. L’option Autoriser les caches et bases de données de site Web dans les Paramètres des données du site Web n’est pas disponible pour les utilisateurs.
Si vous ne configurez pas ce paramètre de stratégie, les sites Web peuvent stocker des caches d’applications sur les ordinateurs clients. L’option Autoriser les caches et bases de données de site Web dans les Paramètres des données du site Web est disponible pour les utilisateurs. Les utilisateurs peuvent choisir si les sites Web sont autorisés ou non à stocker des données sur leurs ordinateurs.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCacheHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache- Value name
AllowWebsiteCaches
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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/AppCache_AllowWebsiteCaches
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowWebsiteCaches' -Value 1 -Type DWordDisable
# Disable: inetres/AppCache_AllowWebsiteCaches
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowWebsiteCaches' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/AppCache_AllowWebsiteCaches
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
Remove-ItemProperty -Path $k -Name 'AllowWebsiteCaches' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"